Fix open arrow marker using fill color from edge instead of none

This commit is contained in:
Alessandro
2025-08-18 12:44:49 +02:00
parent 73c3898dd0
commit f2bbdba33a
4 changed files with 7 additions and 8 deletions
@@ -8,7 +8,7 @@ type SymbolProps = Omit<EdgeMarker, 'type'>;
const ArrowSymbol = ({ color = 'none', strokeWidth = 1 }: SymbolProps) => {
const style = {
strokeWidth,
...(color && { stroke: color }),
...(color && { stroke: color, fill: 'none' }),
};
return <polyline style={style} strokeLinecap="round" strokeLinejoin="round" fill="none" points="-5,-4 0,0 -5,4" />;