Cannot customize colors when using same label
J
Jeff Laiosa
In our graph, we have some common labels (e.g. "CAR") and then we use combinations of those labels so we might have nodes with labels ":CAR:SEDAN", ":CAR:SPORTS", and ":CAR:AWD".
In the graph visualization UI, if I try to add custom colors to labels, SEDAN, SPORTS, or AWD, it has no effect. all nodes are the same color as what is inherited by label "CAR"
Jeff Gagnon
Hi, Are you using the graph visualization in Query or Explore? In Explore, you can define styling for each label. You can optionally combine more than one label into a single Category with styling that would apply to a node with any label in the Category. To define which label should take precedence when a node has labels with different defined styles, you can drag and drop your Categories in the Perspective designer (in Explore) so that Categories with Labels at the top will take precedence over those below. Additional details can be found in documentation here: https://neo4j.com/docs/bloom-user-guide/current/bloom-perspectives/perspective-creation/#_components_of_a_perspective .
If you're using Query, you can similarly change the styling precedence by dragging labels in the legend panel so that the CAR label in your example is below the specific types such as SPORTS and SEDAN. Note that you can also work with a graph from Query in Explore by right clicking on the visualization canvas and choosing "View in Explore".