Skip to content Skip to sidebar Skip to footer

How Do You Get Networkx.graphviz_layout To Work?

I'm trying to compute layouts for a graph that I built using networkx; let's call the graph G. I'm using Javascript to actually render the graph, so all I need right now is to com

Solution 1:

The problem (in my case) was that I was binding a lot of data to the nodes in my networkx object, and some of the data was causing trouble for pydot. I was able to resolve the problem by stripping out these data for the purposes of computing the layout. This was good enough for my needs, but if somebody feels like tracking down the offending data in more detail I will accept their answer.


Post a Comment for "How Do You Get Networkx.graphviz_layout To Work?"