Update graph_visual_with_neo4j.py

This commit is contained in:
zrguo 2024-12-26 14:55:22 +08:00 committed by GitHub
parent edfa39d72d
commit fffd00d514
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ def main():
e.displayName = node.id
REMOVE e:Entity
WITH e, node
CALL apoc.create.addLabels(e, [node.entity_type]) YIELD node AS labeledNode
CALL apoc.create.addLabels(e, [node.id]) YIELD node AS labeledNode
RETURN count(*)
"""