SunnyXu / SBMLDiagrams

MIT License
5 stars 1 forks source link

Can I add arbitrary text to the canvas? #46

Closed hsauro closed 2 years ago

hsauro commented 2 years ago

Is there a way to add arbitrary text to the canvas? eg we might want to add the name of the model, etc?

SunnyXu commented 2 years ago

two api functions added: addArbitraryText()(https://sunnyxu.github.io/SBMLDiagrams/processSBML.html#SBMLDiagrams.processSBML.load.addArbitraryText) and removeArbitraryText() (https://sunnyxu.github.io/SBMLDiagrams/processSBML.html#SBMLDiagrams.processSBML.load.removeArbitraryText).