You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to query Neo4j to get the graph schema in the D3.js JSON format ({"nodes": [], "edges": []}) but I'm encountering a strange behavior when I call scalar functions like labels(), startNode() or endNode() on unwound nodes and relationships.
I noticed this behavior when I run the following query:
If I run it, I get an unexpected graph: all the edges go from/to the same node, and all the nodes have no label
Returning the unwound nodes and relationships without any further processing works fine, so I suspect there is some issue on how scalar functions handle virtual nodes and relationships returned by db.schema.visualization().
Using apoc.meta.graph() leads to the same results.
I'm trying to query Neo4j to get the graph schema in the D3.js JSON format (
{"nodes": [], "edges": []}
) but I'm encountering a strange behavior when I call scalar functions likelabels()
,startNode()
orendNode()
on unwound nodes and relationships.I noticed this behavior when I run the following query:
If I run it, I get an unexpected graph: all the edges go from/to the same node, and all the nodes have no label
Returning the unwound nodes and relationships without any further processing works fine, so I suspect there is some issue on how scalar functions handle virtual nodes and relationships returned by
db.schema.visualization()
.Using
apoc.meta.graph()
leads to the same results.Environment
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: