fix: too many re-render on edges and nodes

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent fede792a37
commit 17f2517ab4
7 changed files with 57 additions and 109 deletions
-2
View File
@@ -171,10 +171,8 @@ const edgeTypes = createEdgeTypes({ ...defaultEdgeTypes, ...props.edgeTypes })
:connection-line-type="props.connectionLineType"
:connection-line-style="props.connectionLineStyle"
:custom-connection-line="props.customConnectionLine"
:connection-mode="props.connectionMode"
:arrow-head-color="props.arrowHeadColor"
:marker-end-id="props.markerEndId"
:only-render-visible-elements="props.onlyRenderVisibleElements"
:edge-types="edgeTypes"
:transform="transform"
:dimensions="dimensions"