SunnyXu / SBMLDiagrams

MIT License
5 stars 1 forks source link

Bug in setNodePosition? #62

Closed hsauro closed 2 years ago

hsauro commented 2 years ago

Load the glycolysis model and set the node position for ATP. Every alias ATP is moved to the new position. There isn't a way to specify a specific alias.

import SBMLDiagrams la = SBMLDiagrams.load ('Jana_WolfGlycolysis.xml') la.setNodePosition('ATP', [20, 20]) la.draw(setImageSize=[500,500])

image

SunnyXu commented 2 years ago

fixed. See the example (https://github.com/SunnyXu/SBMLDiagrams/tree/main/examples/Basic_functions2).