mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
@@ -116,7 +116,7 @@ export const labelHelper = async <T extends SVGGraphicsElement>(
|
|||||||
labelEl.insert('rect', ':first-child');
|
labelEl.insert('rect', ':first-child');
|
||||||
return { shapeSvg, bbox, halfPadding, label: labelEl };
|
return { shapeSvg, bbox, halfPadding, label: labelEl };
|
||||||
};
|
};
|
||||||
export const insertLabel = async (
|
export const insertLabel = async <T extends SVGGraphicsElement>(
|
||||||
parent: D3Selection<T>,
|
parent: D3Selection<T>,
|
||||||
label: string,
|
label: string,
|
||||||
options: {
|
options: {
|
||||||
|
Reference in New Issue
Block a user