refactor(edges): default zIndex=0

This commit is contained in:
moklick
2022-04-30 16:11:25 +02:00
parent 6af190c272
commit b64d946454
5 changed files with 19 additions and 7 deletions
+2
View File
@@ -82,6 +82,7 @@ const GraphView = ({
noDragClassName,
noWheelClassName,
noPanClassName,
isEdgeAutoZIndex,
}: GraphViewProps) => {
useOnInitHandler(onInit);
@@ -135,6 +136,7 @@ const GraphView = ({
edgeUpdaterRadius={edgeUpdaterRadius}
defaultMarkerColor={defaultMarkerColor}
noPanClassName={noPanClassName}
isEdgeAutoZIndex={!!isEdgeAutoZIndex}
/>
<NodeRenderer
nodeTypes={nodeTypes}