Closed dominique-vassard closed 8 years ago
Per graph, every element must have a unique ID. You are warned in the console if you don't follow this.
Closing for now
Either use unique IDs for edges or use some method of transforming edge IDs so they are unique (e.g. prepend 'edge-'
).
Ok for me. In fact, I am using Neo4j as database and was using internal ids for graph display. As using Neo4j's internal ids is considered a bad practice (should use uuid for nodes and edges), it's fine to have this kind of behavior in Cytoscape.
Thank you
Hello, thanks for your great product!
I've encountered a bug recently: some edges won't display even if they were well defined in the initial JSON. In fact, it was because these particular edges has the same id as existing nodes. I use Neo4j as database and get data from it, and I there is shared ids between nodes and relationships but it isn't a problem there.
Is it a bad practice to have shared ids between nodes and edges (though i didn't think that could be a problem) or is it a bug in cytoscape?
If you tried to display a graph with the following nodes.edges, the edge between George and Kramer won't appear
Tkank you for the answer.
Ps: Sorry for the bad english