neo4j-labs / neodash

NeoDash - a Dashboard Builder for Neo4j
https://neo4j.com/labs/neodash/
Apache License 2.0
400 stars 129 forks source link

Add ability to set global styles #791

Open geoffinfosecpersona opened 5 months ago

geoffinfosecpersona commented 5 months ago

Is your feature request related to a problem? Please describe. Sort of? We depend on being able to quickly identify what specific types of nodes by color, size, and a specific field.

Describe the solution you'd like Having a way to set global node colors, sizes, and default display names for an entire dashboard (or multiple dashboards) would be very helpful.

E.g.: LABEL = "Movie" color = #57C7E3 size = 4 display_name = "movie_name"

LABEL = "Actor" color = #F79767 size = 2 display_name = "actors_full_name"

Describe alternatives you've considered Even if we use the Rule-Based Styling extension, it appears that upon refresh, Reports randomly refresh color, and default to the label "name".

We later learned (thank you Niels and Rohan!) that Neodash can capitalize on the following properties in nodes: "color", "size", and "name". I'm not sure I've seen this documented anywhere, but if it isn't documented, that would be a huge step in the right direction.

Nonetheless, if other customers already have those properties used for something else, it would be nice to have a Neodash global styles setting kind of thing to override whatever is in the Neo4j database.

Additional context I'm sure there are other things that could benefit from a global stylesheet, e.g., fonts, font size, relationship color, etc.

Thank you!