3

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;
}
Rajendra Kadam
  • 4,004
  • 1
  • 10
  • 24
Nathan
  • 3,082
  • 1
  • 27
  • 42

1 Answers1

3

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/

Michael Hunger
  • 41,339
  • 3
  • 57
  • 80
  • Neo4j does not currently provide a way to edit/configure the node svg in D3.js? The more I think about it I am looking for greater customization of node clustering. If squares are on the todo list that is great in my book.Thanks. – Nathan Jul 24 '15 at 14:49
  • 2
    @Micheal Hunger, it has been almost two years ago. Is it possible to change the shape of circles in a graph now? – omurbek Jan 18 '18 at 11:15
  • 2
    It's 4 years now. – Abercrombie Oct 01 '19 at 12:22
  • @Michael Hunger please help me with below query https://stackoverflow.com/questions/72492947/how-to-access-json-values-of-neo4j-graph-from-grass-file – Carpe Diem Jun 03 '22 at 17:17