MarkerType
Svelte Flow comes with two built in markers: MarkerType.Arrow
and MarkerType.ArrowClosed
. You can use these by setting the markerStart
/ markerEnd
Edge option.
export enum MarkerType {
Arrow = 'arrow',
ArrowClosed = 'arrowclosed',
}