refactor(elements): simplfy node and edge handling

This commit is contained in:
moklick
2019-07-31 18:01:15 +02:00
parent 3403203adb
commit e348cccc76
14 changed files with 4105 additions and 4157 deletions
+1
View File
@@ -21,6 +21,7 @@ function renderEdge(e, props, graphContext) {
return (
<EdgeComponent
key={`${e.source}-${e.target}`}
id={e.id}
type={e.type}
sourceNode={sourceNode}
targetNode={targetNode}