fix(connectionline): set stroke color

This commit is contained in:
moklick
2020-05-11 17:49:07 +02:00
parent 9e534f83ff
commit 7a2bff2502
8 changed files with 35 additions and 29 deletions
+2 -2
View File
@@ -44,10 +44,10 @@ export default memo(
) : null;
return (
<g>
<>
<path style={style} d={dAttr} className="react-flow__edge-path" />
{text}
</g>
</>
);
}
);
+2 -2
View File
@@ -23,14 +23,14 @@ export default memo(
) : null;
return (
<g>
<>
<path
style={style}
className="react-flow__edge-path"
d={`M ${sourceX},${sourceY}L ${sourceX},${centerY}L ${targetX},${centerY}L ${targetX},${targetY}`}
/>
{text}
</g>
</>
);
}
);
+2 -2
View File
@@ -23,10 +23,10 @@ export default memo(
) : null;
return (
<g>
<>
<path style={style} className="react-flow__edge-path" d={`M ${sourceX},${sourceY}L ${targetX},${targetY}`} />
{text}
</g>
</>
);
}
);