Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization #3

Open
estelleafl opened this issue Mar 22, 2022 · 3 comments
Open

Visualization #3

estelleafl opened this issue Mar 22, 2022 · 3 comments

Comments

@estelleafl
Copy link

Hi,
Very interesting work
I wanted to know if there was a way to produce the graphs given a video like shown in the README

Thank you

@doc-doc
Copy link
Owner

doc-doc commented Mar 22, 2022

Thanks for your interest, we use this tool to visualize the learned graphs.

@estelleafl
Copy link
Author

Thank you!
Is there any guidelines on how to use the tool on your data?
Best

@doc-doc
Copy link
Owner

doc-doc commented Mar 22, 2022

No such guideline :), and you need to format the learned adj matrices to adapt to the tool. Basically, you need a JS file like this:

var nodes = [
    {
        "id": 0,
        "label": "V0",
        "group": 3
    },
    {
        "id": 1,
        "label": "C1",
        "group": 2
    },
 ...
]
var edges = [
    {
        "from": 0,
        "to": 1,
        "value": "0.2441"
    },
    {
        "from": 1,
        "to": 8,
        "value": "1.0000"
    },
    ...
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants