'Plotting a network graph
I need to plot a large network graph. The available variables are [different variables, Id, connections] I checked libraries like pyvis, networkx however it seems like they create an HTML that handles the graph visualization, I don't need to visualize it instead I need to create a JSON with a couple of variables plus the coordinates for the nodes and connections [different variables, 'x', 'y', 'connections] how would I go about making it. Creating a graph layout engine from scratch isn't an ideal solution. The main problem with pyvis is that the graphs change each time you open them, I need a permanent file with the network layout
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
