Replies: 1 comment 3 replies
-
The Sigma.js implementation was removed in current main branch, because the D3.js does everything Sigma.js, and can do more. See e549107. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I was trying to change the "d3" library, that is used to render the visualization in the virus_on_network example, to "sigma". So I edited the following line in server.py:
network = NetworkModule(network_portrayal, 500, 500, library="sigma")
However, sigma requires IDs for nodes and edges. I added IDs based on boltzmann_wealth_model_network (since it uses sigma) in server.py of virus_on_network:
def network_portrayal(G):
The server runs without any errors or warnings in the terminal but the network doesn't show, while anything else is visible.
The DevTools console shows the following error:
I appreciate any help because I cannot figure out what I did wrong.
Beta Was this translation helpful? Give feedback.
All reactions