SunnyXu / SBMLDiagrams

MIT License
5 stars 1 forks source link

Allow users to use NetworkX to do autolayout #6

Closed hsauro closed 2 years ago

hsauro commented 2 years ago

Allow a user to optionally use NetworkX to apply autolayout to a network.

For example, this page shows a range of layout options when using networkX

https://www.python-graph-gallery.com/322-network-layout-possibilities

I user should be able to type:

SBMLDiagrams.autolayout (options....)

The different layout algorithms will have different options. eg here are the layout options for the spring layout:

https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.spring_layout.html

SunnyXu commented 2 years ago

Jessie (@winterJ2001 ) has done with this.