This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
12
themes/blowfish/assets/lib/mermaid/dagre-wrapper/edgeMarker.d.ts
vendored
Normal file
12
themes/blowfish/assets/lib/mermaid/dagre-wrapper/edgeMarker.d.ts
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
import type { SVG } from '../diagram-api/types.js';
|
||||
import type { EdgeData } from '../types.js';
|
||||
/**
|
||||
* Adds SVG markers to a path element based on the arrow types specified in the edge.
|
||||
*
|
||||
* @param svgPath - The SVG path element to add markers to.
|
||||
* @param edge - The edge data object containing the arrow types.
|
||||
* @param url - The URL of the SVG marker definitions.
|
||||
* @param id - The ID prefix for the SVG marker definitions.
|
||||
* @param diagramType - The type of diagram being rendered.
|
||||
*/
|
||||
export declare const addEdgeMarkers: (svgPath: SVG, edge: Pick<EdgeData, 'arrowTypeStart' | 'arrowTypeEnd'>, url: string, id: string, diagramType: string) => void;
|
Loading…
Add table
Add a link
Reference in a new issue