Closed joker234 closed 4 years ago
Maybe networkx1.x can sovle your problem. You can alse see this. It also can draw dynamic network graph. Just Run it.
yes. 1.x would solve this problem, I'm pretty sure. But the interface for networkx changed a bit so I would have to check any networkx function I'm using right now. The linked tool was not working out of the box. (No documentation on how to get it run in less than 30 minutes, too.)
So I'm now stuck at using gephi, but thanks for your help :)
P.S.: This issue is still valid. It would be awesome, if anyone has the time to fix it, and should only take a few hours.
Hi,
I have the same problem, but it seems the repository is not up-to-date. I will solve it if no other solution exists; however, I wonder whether creating a new file for the v2 code or adding if nx.__version__
statements would give the best result.
Thanks!
Edit: I wrote for networkx v2, in case of still somebody needs it. https://github.com/afeser/networkx_viewer/tree/networkx_version2 Any contribution is welcome, please don't hesitate to submit bugs.
New version released under 0.3.0. Thanks @afeser for doing the leg work!
I wanted to use networkx-viewer after a long time break. Installed a new virtual environment with these versions of the packages:
If I want to perform a minimal example I got the following error:
Important part of the source code:
I think this error results in the change of
networkx.drawing.layout
, like you can see in the documentation. There is no_rescale_layout
function anymore. Maybe therescale_layout
would do the same for the viewer. Compare v1.11 with v2.0.Is it possible for you to adjust your awesome package to networkx v2?