Open cadserf opened 3 years ago
Hi @cadserf this could certainly be implemented. To fully understand your use case, are you changing multiple style attributes to distinguish categories of nodes, or is it just one attribute (for example: colour)?
I have imagined implementing something along the lines of the new popup feature for property values, which would make it easy to choose colours (or other attribute values) that are used elsewhere in the selection or the whole graph. See example:
You also asked in #17 about importing styles via JSON. Once again, are you changing many attributes from the default themes, or is it just one or two?
A quite mundane example would change only "border-color", "caption-color" & "radius" for instance.
But I would argue that all the style settings are quite effective and it would be very convenient to introduce a list of styles (that involves an arbitrary number of settings) in some fashion. Maybe labels could optionally be tied to a specific style setting?
On #17 - what I found frustrating there was that it was not possible to "save" a graph as json and then reliably retrieve it - even though all style settings was included in the export. Thanks for a great tool - looking forward to follow its journey!
Being able to match the style of another node or relationship would help keeping several categories visually distinguished