Skip to content

Commit 29802b0

Browse files
authored
Update GraphOutput.vue
Use undirected relationship.
1 parent 2637fec commit 29802b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/output/GraphOutput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const fetchConnectedNodes = async (nodeId) => {
7171
const cypher = `
7272
MATCH (n)
7373
WHERE elementId(n) = "${nodeId}"
74-
MATCH (n)-[r]->(m)
74+
MATCH (n)-[r]-(m)
7575
WITH type(r) AS relType, r, m
7676
WITH relType, collect({r: r, m: m}) AS connections
7777
UNWIND connections[..1] AS conn

0 commit comments

Comments
 (0)