spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
72 stars 17 forks source link

Improve how the model is visualised as a network graph #1959

Open suvayu opened 1 year ago

suvayu commented 1 year ago

Current issues

Resolutions/Feature request

Thoughts

DillonJ commented 1 year ago

This has been discussed a little here: https://github.com/spine-tools/Spine-Toolbox/issues/180

The basic issue is that it takes some time to layout elements in graph view and it would be great to be able to save the view. However, the view also depends on the particular subset of objects/relationships that are selected and visible in the graph view, so the layout is also a function of the selection.

Also, I believe the existing automatic layout algorithm can be improved a lot. What we have is already quite advanced and it works very nicely in some cases, but in many cases I think the algorithm is missing something - for example, I see many many crossovers - I believe that the layout algorithm should seek to minimise these.