Changed layout from pydot til pygraphviz. Pydot will not be used in Fluents anymore.
This commit is contained in:
parent
fb1ab3e4e9
commit
7959a167fb
|
@ -638,7 +638,7 @@ class NetworkPlot(Plot):
|
||||||
if not kw.has_key('prog'):
|
if not kw.has_key('prog'):
|
||||||
kw['prog'] = 'neato'
|
kw['prog'] = 'neato'
|
||||||
if not kw.has_key('pos') or kw['pos']:
|
if not kw.has_key('pos') or kw['pos']:
|
||||||
kw['pos'] = networkx.drawing.nx_pydot.graphviz_layout(self.graph, kw['prog'])
|
kw['pos'] = networkx.pygraphviz_layout(self.graph, kw['prog'])
|
||||||
Plot.__init__(self, kw['name'])
|
Plot.__init__(self, kw['name'])
|
||||||
|
|
||||||
# Keep node size and color as dicts for fast lookup
|
# Keep node size and color as dicts for fast lookup
|
||||||
|
|
Reference in New Issue