neo4j-labs / arrows.app

A graph drawing application
https://arrows.app
Apache License 2.0
115 stars 17 forks source link

bug: nodes are exported in cypher with no name #66

Closed hariseldon78 closed 2 years ago

hariseldon78 commented 2 years ago

It seems related to how many relations the nodes have. Even a single node with name is exported with no name: image image

This is happening in google chrome and in firefox, in linux; in google chrome in iOS (on safari in iOS the website isn't even loading)

guntarsTB commented 2 years ago

Why do you think it's a bug? If you want to CREATE (:TheNode), then add such a label to the node in diagram. If you want to CREATE ({Label:'The node'}) then add such a property to the node in diagram. Node caption isn't really anything - it's just a visual hint for yourself (if only you don't create a label or a property from it).

hariseldon78 commented 2 years ago

Ouch you are right, that was just stupid by me. It's passed some time since my last cypher queries so I forgot the syntax and I was thinking that the caption would become a property value in the node. I'm writing a script to generate the queries from the json so I can use the captions to create a property.