quintel / etmoses

Online decision support tool to create local energy situations for neighbourhoods, cities and regions with a time resolution of 15 minutes created and maintained by Quintel – Not maintained
https://moses.energytransitionmodel.com
MIT License
11 stars 3 forks source link

Wanted, option to insert a node in a topology #1500

Open DorinevanderVlies opened 7 years ago

DorinevanderVlies commented 7 years ago

When editing a topology sometimes at a later stage the need for an extra node between two other nodes arrises. For example to include costs for an extra stakeholder.

Currently it is not possible to insert a node between to other nodes. I realise that with the hierarchical YAML structure this might be difficult. For me it is not a must-have, but a nice-to-have.

Example of inserting a node image

grdw commented 7 years ago

This sounds really nice. I get why this can be problematic. Especially if you've drawn a lot of children already.

There are multiple solutions.

Functionally:

One thing we could do is, add another + button in between the two lines. Indicating an 'insert'.

screen shot 2016-10-24 at 15 19 00


Add another button to the existing interface to indicate an "insert".

screen shot 2016-10-24 at 15 34 07

DorinevanderVlies commented 7 years ago

With respect to your two button options, I have a preference for:

add another + button in between the two lines. Indicating an 'insert'

This implicates using the second of your functionality options

Only show that button when the underlying node has more than 0 children.