Is it possible to use "export PNG" function with programming?

If I run a query in cypher, can I get the result as image?

I wrote a small JS tool a while ago that allows this

Michael, thanks you for your answer, it was very useful. Although I had an error (EPIPE) in this line g.setGraphVizPath( "/usr/local/bin" );. The solution is to change the path to the binaries files (if you are working on windows)


1 Like

Is it possible to export to a dot string instead?

not out of the box but should be pretty easy to do with a number of libraries in a language of your choice.

oh in that repo, sure you can just edit the code to render to dot instead, e.g. with a different query parameter or accept content type