import React from 'react'; import { defaultEdgeColor } from './Edge'; /** * In SVG you need to supply this kind of marker that can be then referenced from a line segment as an ending of the * line turning in into arrow. Needs to be included in the svg element and then referenced as markerEnd="url(#triangle)" */ export function EdgeArrowMarker({ id = 'triangle', fill = defaultEdgeColor, headHeight = 10, }: { id?: string; fill?: string; headHeight?: number; }) { return ( ); }