The problem I'm trying to solve is the following: I have a networkx
graph that I would like to draw as a circular tree. This requires Graphviz
and either PyGraphviz
or Pydot
, which are not available for Python 3.
I'm considering the option of serialising the graph-object in python 3, and then de-serialising it in a python 2 environment where I could draw it. It's, however, unclear to me what the potential issues are with this type of approach since I cannot assume that the respective objects are similar in both environments.
Apart from actually trying this out (I currently have no python 2 environment on my machine), is there any way to find out if this is possible? Or would it simply make more sense to follow a different route by either exporting to a different format (e.g. gephy), and perhaps even doing the drawing outside of python?