docs(svelte): update marker documentation on svelte

This commit is contained in:
Abbey Yacoe
2025-07-09 10:04:30 +02:00
parent 49d543d62b
commit 7f64356534

View File

@@ -50,11 +50,15 @@ export type BaseEdgeProps = Pick<
labelX?: number;
/** The y coordinate of the label */
labelY?: number;
/** Marker at start of edge
/**
* 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. Use the format "url(#markerId)" where markerId is the id of your marker definition.
* @example 'url(#arrow)'
*/
markerStart?: string;
/** Marker at end of edge
/**
* 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. Use the format "url(#markerId)" where markerId is the id of your marker definition.
* @example 'url(#arrow)'
*/
markerEnd?: string;