fix(connectionline): set stroke color
This commit is contained in:
@@ -44,10 +44,10 @@ export default memo(
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<g>
|
||||
<>
|
||||
<path style={style} d={dAttr} className="react-flow__edge-path" />
|
||||
{text}
|
||||
</g>
|
||||
</>
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user