'Networkx like nodes arrangement in Pyvis
I am currently using streamlit to develop an app which uses Pyvis to render some network graphs. Streamlit supports the use of Pyvis to render the plot, but not Networkx to my knowledge. Networkx graphs can though be transformed in Pyvis Graphs through the pyvis.network.from_nx() function. My problem is that the graphs are a little messy (i have about 100 nodes on the screen with very variable connectivity). Now i know Networkx has some methods to arrange the nodes neatly as in this example: https://linuxtut.com/en/7c550010f5915ae4acdc/
But I don't know how to do that with Pyvis. I tried to read Pyvis documentation, but didn't find much on the arrangement of the nodes. Does anyone know any Pyvis native solution to arrange large number of nodes neatly?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
