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

Building graph #1

Open
NandhaKishorM opened this issue Jan 13, 2021 · 1 comment
Open

Building graph #1

NandhaKishorM opened this issue Jan 13, 2021 · 1 comment

Comments

@NandhaKishorM
Copy link

NandhaKishorM commented Jan 13, 2021

How to build the graph?, and what is the result that can be viewed in gephi?. I didn't see any output after running the script

@codeKgu
Copy link
Owner

codeKgu commented Feb 24, 2021

The graph is built using the build_text_graph_dataset function. This creates a sparse graph and it is placed in a TextDataset object. You can create a networkx graph from this graph by for example using the provided function to convert to a PyTorch geometric graph and converting a pyg graph to networkx graph. Then you can save the networkx graph as a gexf file to be viewed in gephi.

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