Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the shape of NEO4j nodes through the grass stylesheet?

I would like to provide better visual segregation between nodes in Neo4j's web explorer. Is it possible to change the grass styles to allow for a square-shaped node? Below is an example of the node style I would like to alter. Is this possible within Neo4j or must an outside visualization library be used?

node {
  diameter: 40px;
  color: #DFE1E3;
  border-color: #D4D6D7;
  border-width: 2px;
  text-color-internal: #000000;
  caption: '{id}';
  font-size: 10px;
}
like image 673
Nathan Avatar asked Nov 22 '25 02:11

Nathan


1 Answers

Right now it isn't possible, but it's on the todo list.

What you can do is to have wider borders and more distinct border colors to get a better distinction. You can also choose a color palette with more distinguishable colors for the backgrounds.

If you want to you can have a look a the previous http://localhost:7474/webadmin UI which had more styling options. Otherwise you'd have to go do something yourself where this can help: http://neo4j.com/developer/guide-data-visualization/

like image 67
Michael Hunger Avatar answered Nov 23 '25 15:11

Michael Hunger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!