The problem I'm trying to solve is this: I have a graph networkxthat I would like to draw as a round tree . This requires Graphvizand PyGraphvizor Pydot, which are not available for Python 3.
I am considering serializing a graph object in python 3 and then de-serializing it in a python 2 environment where I could draw it. However, I do not understand what are the potential problems with this type of approach, since I cannot assume that the corresponding objects are similar in both environments.
Besides the fact that you are trying to do this (I don't currently have a python 2 environment on my machine), is there a way to find out if this is possible? Or does it just make sense to follow a different path, exporting to a different format (for example, gephy), and possibly even making a drawing outside of python?
source
share