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

BhallaLab/moose#204.

parent c0e1ef95
No related branches found
No related tags found
No related merge requests found
...@@ -224,6 +224,8 @@ def autoCoordinates(meshEntry,srcdesConnection): ...@@ -224,6 +224,8 @@ def autoCoordinates(meshEntry,srcdesConnection):
#import matplotlib.pyplot as plt #import matplotlib.pyplot as plt
#plt.savefig('/home/harsha/Trash/Trash_SBML/test.png') #plt.savefig('/home/harsha/Trash/Trash_SBML/test.png')
position = nx.graphviz_layout(G, prog = 'dot') 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 = nx.to_agraph(G)
#agraph.draw("test.png", format = 'png', prog = 'dot') #agraph.draw("test.png", format = 'png', prog = 'dot')
xcord = [] xcord = []
......
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