Skip to content
Snippets Groups Projects
Commit 4d697e96 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Fixes to BhallaLab/moose#204.

parent ea50d83b
No related branches found
No related tags found
No related merge requests found
......@@ -276,6 +276,8 @@ def autoCoordinates(meshEntry,srcdesConnection):
G.add_edge(element(items[0]).path,inn.path)
position = nx.graphviz_layout(G, prog = 'dot')
if int( nx.__version__.split( '.' )[-1] ) >= 11:
position = nx.spring_layout( G )
#agraph = nx.to_agraph(G)
#agraph.draw("writetogenesis.png", format = 'png', prog = 'dot')
sceneitems = {}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment