nxpd
nxpd copied to clipboard
Draw NetworkX graphs using pydot/graphviz, with support for IPython notebooks.
I am trying to run the below code (in Jupyter-notebook) using `networkx==2.4` and `nxpd==0.2.0` ```python import networkx as nx import nxpd from nxpd import draw from nxpd import nxpdParams nxpdParams["show"]...
The number_of_selfloops() graph method was deprecated in the networkx 2.0 release[1] which was released in 2017 and replaced with a function that provides the same functionality. In the recent 2.4...
The `to_pydot` method was using a deprecated function: https://github.com/chebee7i/nxpd/blob/master/nxpd/nx_pydot.py#L249 which has been removed in the latest release 2.4.0: https://networkx.github.io/documentation/stable/release/release_2.4.html#deprecations
How would one save a graph created with the draw method? I presently use the command in ipython with the show='ipython' argument (works great), but it isn't clear to me...
``pydot/__init__.py`` failed to find graphviz executable. graphviz is now installed at ``C:\Program Files (x86)\Graphviz`` by default, which was not covered by the existing checks
Wonder if you are interested to migrate the ipyhon intergration to something similar to https://github.com/rainwoodman/nxsvg/blob/master/src/nxsvg.py#L532 This would get rid of the conditional import in `draw_pydot`.
One more comment. A user provided `filter_attrs` function will allow the user to generate the pydot attributes as we iterate over the graph, without requiring these attributes be saved into...