cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Create flowcharts from Neo4j

Is there a way to export Neo4j data nodes edges in a structured format so that I could use the exported data to replace our process flowcharts (i.e. - define the direction, adjust visual elements, change fonts, assign specific node positions)? Ideally I could export to DOT / graphviz and then create a visual; this seems to have been an option previously but is no longer supported (https://github.com/neo4j/neo4j/tree/2.3/community/graphviz)?

Thanks!

1 REPLY 1

jasperblues
Graph Buddy

One option:

Perhaps take a look at Dagre (https://github.com/dagrejs/dagre), which is a JavaScript library for laying out directed graphs. For the rendering layer it uses the popular d3 library, under the hood.

It appears that Dagre supports the creation of flowcharts. I'm searching for an example - will post back when I find one.

Edit: Here's something approaching a flowchart, generated from a directed graph: http://jsfiddle.net/5u9mzfse/47/

Edit2: Here's another example of a JS lib: https://gojs.net/latest/samples/flowchart.html. Perhaps you could write a CYPHER query that emits the model format.

Edit3: Here's one more tool (http://nomnoml.com/), built on Dagre, feed the model as text like this:

[<start>st]->[<state>plunder]
[plunder]->[<choice>more loot]
[more loot]->[st]
[more loot] no ->[<

^-- result like this. Again, perhaps you could write a CYPHER query to produce input format to the diagram tool.