docs(edges): update marker documentation to include formatting information

This commit is contained in:
Abbey Yacoe
2025-07-08 16:15:35 +02:00
parent 79a9b0da9a
commit 49d543d62b

View File

@@ -184,12 +184,12 @@ export type BaseEdgeProps = Omit<SVGAttributes<SVGPathElement>, 'd' | 'path' | '
path: string;
/**
* The id of the SVG marker to use at the start of the edge. This should be defined in a
* `<defs>` element in a separate SVG document or element.
* `<defs>` element in a separate SVG document or element. Use the format "url(#markerId)" where markerId is the id of your marker definition.
*/
markerStart?: string;
/**
* The id of the SVG marker to use at the end of the edge. This should be defined in a `<defs>`
* element in a separate SVG document or element.
* element in a separate SVG document or element. Use the format "url(#markerId)" where markerId is the id of your marker definition.
*/
markerEnd?: string;
};