1

Is there a way to return the path from my server plugin in a graphML format? Like the way it can be done in the usual REST endpoint by providing resultDataContents as "graph".

mayank gupta
  • 201
  • 2
  • 10

1 Answers1

0

You can just create the graphml format and return it as a string. For an example on how to do it:

https://github.com/jexp/neo4j-shell-tools/blob/2.2/src/main/java/org/neo4j/shell/tools/imp/format/XmlGraphMLFormat.java

Michael Hunger
  • 41,339
  • 3
  • 57
  • 80