Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-14-2020 04:56 AM
Hello everyone. I am currently in the evaluation phase of Neo4j. To convince my stakeholders, one criterion is beauty and readability 😉 Currently I have a not too small graph in Neo4j, but, when I run a query against it, the names of the nodes in the resulting graph are very hard to read. The names are cut off with "...". Is there a way, e.g., to illustrate the nodes as rectangles with flexible width?
04-15-2020 01:52 AM
Hi Normen,
welcome to the Neo4j community!
I think that at the moment it is not possible to display the nodes as rectangles with a flexible width. The only shape that is allowed so far is circles. However, you can set the size of the circles and also the font size per distinct label of the nodes. How to: If you enter ":style" into your Neo4j browser, you will receive the current styling of your nodes. You can copy and paste the code in a text file and save it as a ".grass" file, change any of the options (e.g. diameter, font-size, etc.) that you want and upload it back in again (easiest way: go to "Favorites" (start on the upper left) and drag and drop the file).
What you always can do on top of that is to use a visualisation tool like yEd, Cytoscape or Gephi. You can export the graph from Neo4j and import it into any of the above tools. There you can do more styling. Also, the Bloom browser in Neo4j might help. But I am not sure, how much you can do with it.
I hope this helped you.
Regards,
Elena
05-06-2020 01:29 PM
Related helpful article: https://neo4j.com/docs/labs/apoc/current/export/graphml/
05-07-2020 02:22 PM
After spending several ours trying out this suggestion, installing all of the above tools, enabling export, and trying to figure out how to change the node shape (and not succeeding), I came across this tool that is also available as an application for Neo4j, and seems to do the job right away: https://www.yworks.com/neo4j-explorer/.
All the sessions of the conference are now available online