Text-GCN icon indicating copy to clipboard operation
Text-GCN copied to clipboard

Building graph

Open NandhaKishorM opened this issue 4 years ago • 1 comments

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

NandhaKishorM avatar Jan 13 '21 17:01 NandhaKishorM

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.

codeKgu avatar Feb 24 '21 18:02 codeKgu