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.

Return results in graph format using APOC

werner
Node Clone

Is this possible doing this in the RETURN statement ? and not to a file ?

1 REPLY 1

Which results? You've given us almost no context over what you're trying to visualize.

The graph result view you see in the browser is a result of client-side javascript libraries implementing the visualization. You need a visualizer to interpret data. It would not make sense to generate an image file visualization from the server itself for several reasons, one of which is that the layout would be entirely arbitrary. Visualizers are good because you can modify locations of elements and colors and filter and expand dynamically and change what labels are applied to which parts of the graph. If you wanted an image file as a result of an APOC call, you'd need to handle all of this with params, which doesn't sound easy or very useful.