Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Changed layout from pydot til pygraphviz. Pydot will not be used in Fluents anymore.

This commit is contained in:
Einar Ryeng 2006-10-03 21:06:19 +00:00
parent fb1ab3e4e9
commit 7959a167fb
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ class NetworkPlot(Plot):
if not kw.has_key('prog'):
kw['prog'] = 'neato'
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'])
# Keep node size and color as dicts for fast lookup