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
73 stars 18 forks source link

Show class name in entity sub tree #2944

Open DillonJ opened 1 month ago

DillonJ commented 1 month ago

Coming to Toolbox v 0.8 I like the more compact view but miss seeing the class names in the entity sub tree. We could add the class name in brackets to avoid adding another level? Particularly for entity classes of dimension 3 or more, it's very hard to see from the icons what class they are

jkiviluo commented 1 month ago

Do you mean the case where entity_class name has been replaced by something shorter? Usually the 0-d class names (dimension names) are there: e.g. node__unit. Only if that's been replace with e.g. flow, then they won't be visible. This should be fixed by having dimension names in brackets if the name has been changed.

Or do you mean that every entity should have its class dimension names in a bracket after the name (even if the class name at the top would show the class dimension names)?