From 10df52a03185153e474857e0ae283d20c9c7c2a8 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 23 Sep 2023 16:34:37 +0800 Subject: [PATCH] Document how to include both nodes and links in JSON export (#6) --- docs/modules/ROOT/pages/operations/export-results.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/modules/ROOT/pages/operations/export-results.adoc b/docs/modules/ROOT/pages/operations/export-results.adoc index 66b89b73b62..d7c403dd193 100644 --- a/docs/modules/ROOT/pages/operations/export-results.adoc +++ b/docs/modules/ROOT/pages/operations/export-results.adoc @@ -15,6 +15,16 @@ The following download options available: Depending on the result frame these options can vary. +[TIP] +==== +In order to export both nodes and links, the graph query should reflect both of them. For example: + +[source, shell] +---- +MATCH (n)-[r]->(m) RETURN r, m, n +---- +==== + .Export result, _graph result frame_. [#download_graph]