@zombie-mermaid/svg-renderer 5.4.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +47 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1021 -924
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -357,6 +357,12 @@ export declare function formatTickLabels(ticks: number[]): string[];
|
|
|
357
357
|
* Increased from 8 to 12 to provide more clearance for edges routing near headers. */
|
|
358
358
|
export declare const GROUP_HEADER_CONTENT_PAD = 12;
|
|
359
359
|
|
|
360
|
+
/** True when the label sits below the icon (stick-figure or typed icon). */
|
|
361
|
+
export declare function hasLabelBelowIcon(a: {
|
|
362
|
+
type: 'participant' | 'actor';
|
|
363
|
+
participantType?: string | undefined;
|
|
364
|
+
}): boolean;
|
|
365
|
+
|
|
360
366
|
/**
|
|
361
367
|
* Per-label layout options the flowchart/state path sets on every edge
|
|
362
368
|
* label. Class and ER instead set `elk.edgeLabels.placement` once on the
|
package/dist/index.d.ts
CHANGED
|
@@ -357,6 +357,12 @@ export declare function formatTickLabels(ticks: number[]): string[];
|
|
|
357
357
|
* Increased from 8 to 12 to provide more clearance for edges routing near headers. */
|
|
358
358
|
export declare const GROUP_HEADER_CONTENT_PAD = 12;
|
|
359
359
|
|
|
360
|
+
/** True when the label sits below the icon (stick-figure or typed icon). */
|
|
361
|
+
export declare function hasLabelBelowIcon(a: {
|
|
362
|
+
type: 'participant' | 'actor';
|
|
363
|
+
participantType?: string | undefined;
|
|
364
|
+
}): boolean;
|
|
365
|
+
|
|
360
366
|
/**
|
|
361
367
|
* Per-label layout options the flowchart/state path sets on every edge
|
|
362
368
|
* label. Class and ER instead set `elk.edgeLabels.placement` once on the
|