refactor(edges): use internal id
This commit is contained in:
@@ -20,7 +20,7 @@ function renderEdge(e, props, graphContext) {
|
||||
|
||||
return (
|
||||
<EdgeComponent
|
||||
key={`${e.source}-${e.target}`}
|
||||
key={e.id}
|
||||
id={e.id}
|
||||
type={e.type}
|
||||
sourceNode={sourceNode}
|
||||
|
||||
Reference in New Issue
Block a user