@statelyai/layout 0.1.3 → 0.3.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/NOTICE.md +43 -0
- package/README.md +153 -6
- package/dist/elkjs/index.cjs +9 -0
- package/dist/elkjs/index.d.cts +155 -0
- package/dist/elkjs/index.d.mts +51 -39
- package/dist/elkjs/index.mjs +3 -1484
- package/dist/elkjs/main.cjs +17 -0
- package/dist/elkjs/main.d.cts +10 -0
- package/dist/elkjs/main.d.mts +11 -0
- package/dist/elkjs/main.mjs +17 -0
- package/dist/elkjs/worker-api.cjs +3 -0
- package/dist/elkjs/worker-api.d.cts +3 -0
- package/dist/elkjs/worker-api.d.mts +3 -0
- package/dist/elkjs/worker-api.mjs +3 -0
- package/dist/elkjs/worker.cjs +86 -0
- package/dist/elkjs/worker.d.cts +17 -0
- package/dist/elkjs/worker.d.mts +17 -0
- package/dist/elkjs/worker.mjs +86 -0
- package/dist/elkjs-DaHMISnQ.mjs +1677 -0
- package/dist/elkjs-dMghiiWW.cjs +1706 -0
- package/dist/index-BEA_pzeT.d.cts +72 -0
- package/dist/{index-8xYkohbz.d.mts → index-D9dhxrRl.d.cts} +111 -5
- package/dist/index-DNTLRsDl.d.mts +72 -0
- package/dist/index-DNixtE3h.d.mts +1318 -0
- package/dist/index.cjs +215 -0
- package/dist/index.d.cts +78 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +25 -25
- package/dist/layered/index.cjs +38 -0
- package/dist/layered/index.d.cts +3 -0
- package/dist/layered/index.d.mts +3 -2
- package/dist/layered/index.mjs +1 -1
- package/dist/layered-B2buJqMf.cjs +12009 -0
- package/dist/{layered-CoeH9LRO.mjs → layered-DGFTeQSl.mjs} +2323 -149
- package/dist/{spore-BtTSZbb6.mjs → layout-engine-Cs5tatA6.mjs} +159 -5
- package/dist/layout-engine-Dn1PiFwP.cjs +712 -0
- package/dist/public-types-9NCPoqbp.d.mts +109 -0
- package/dist/public-types-BcRZoJE3.d.cts +109 -0
- package/dist/routing/index.cjs +28 -0
- package/dist/routing/index.d.cts +3 -0
- package/dist/routing/index.d.mts +3 -0
- package/dist/routing/index.mjs +3 -0
- package/dist/routing-A2hrK9MP.mjs +2396 -0
- package/dist/routing-ujEP7Qh6.cjs +2606 -0
- package/dist/types-CT2akdK0.d.mts +133 -0
- package/dist/types-uxPlGRof.d.cts +133 -0
- package/dist/worker-client-BNjwT1AJ.mjs +92 -0
- package/dist/worker-client-BwGGRD5y.d.mts +19 -0
- package/dist/worker-client-D4oEvhAl.cjs +98 -0
- package/dist/worker-client-D4zNyPEI.d.cts +19 -0
- package/package.json +45 -10
- package/src/authoring/coordinates.ts +114 -0
- package/src/authoring/partial.ts +584 -0
- package/src/authoring/routing.ts +211 -0
- package/src/box.ts +22 -0
- package/src/constraints.ts +222 -0
- package/src/elkjs/index.ts +104 -39
- package/src/elkjs/main.ts +19 -0
- package/src/elkjs/public-types.ts +125 -0
- package/src/elkjs/routes.ts +147 -0
- package/src/elkjs/worker-api.ts +29 -0
- package/src/elkjs/worker-client.ts +138 -0
- package/src/elkjs/worker.ts +117 -0
- package/src/index.ts +19 -0
- package/src/internal/elkjs-compatibility.ts +17 -0
- package/src/internal/layout-engine.ts +126 -0
- package/src/layered/compound.ts +417 -0
- package/src/layered/index.ts +58 -105
- package/src/layered/types.ts +21 -0
- package/src/layout.ts +35 -28
- package/src/packing.ts +22 -0
- package/src/random.ts +75 -3
- package/src/routing/adapters.ts +111 -0
- package/src/routing/algorithms.ts +676 -0
- package/src/routing/coordination.ts +86 -0
- package/src/routing/engine.ts +473 -0
- package/src/routing/index.ts +68 -0
- package/src/routing/layout-cache.ts +65 -0
- package/src/routing/model.ts +218 -0
- package/src/routing/path.ts +324 -0
- package/src/routing/persistent.ts +117 -0
- package/src/routing/search.ts +276 -0
- package/src/routing/spatial.ts +78 -0
- package/src/routing/types.ts +146 -0
- package/src/types.ts +17 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
//#region src/elkjs/public-types.d.ts
|
|
2
|
+
/*******************************************************************************
|
|
3
|
+
* Copyright (c) 2019 TypeFox and others.
|
|
4
|
+
*
|
|
5
|
+
* Adapted from elkjs 0.11.1 typings/elk-api.d.ts.
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*******************************************************************************/
|
|
8
|
+
interface LayoutOptions {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
}
|
|
11
|
+
interface ElkPoint {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}
|
|
15
|
+
interface ElkGraphElement {
|
|
16
|
+
id?: string;
|
|
17
|
+
labels?: ElkLabel[];
|
|
18
|
+
layoutOptions?: LayoutOptions;
|
|
19
|
+
}
|
|
20
|
+
interface ElkShape extends ElkGraphElement {
|
|
21
|
+
x?: number;
|
|
22
|
+
y?: number;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
}
|
|
26
|
+
interface ElkNode extends ElkShape {
|
|
27
|
+
id: string;
|
|
28
|
+
children?: ElkNode[];
|
|
29
|
+
ports?: ElkPort[];
|
|
30
|
+
edges?: ElkExtendedEdge[];
|
|
31
|
+
}
|
|
32
|
+
interface ElkPort extends ElkShape {
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
35
|
+
interface ElkLabel extends ElkShape {
|
|
36
|
+
text?: string;
|
|
37
|
+
}
|
|
38
|
+
/** @deprecated Use ElkExtendedEdge directly. */
|
|
39
|
+
interface ElkEdge extends ElkGraphElement {
|
|
40
|
+
id: string;
|
|
41
|
+
container?: string;
|
|
42
|
+
junctionPoints?: ElkPoint[];
|
|
43
|
+
}
|
|
44
|
+
/** @deprecated Use ElkExtendedEdge instead. */
|
|
45
|
+
interface ElkPrimitiveEdge extends ElkEdge {
|
|
46
|
+
source: string;
|
|
47
|
+
sourcePort?: string;
|
|
48
|
+
target: string;
|
|
49
|
+
targetPort?: string;
|
|
50
|
+
sourcePoint?: ElkPoint;
|
|
51
|
+
targetPoint?: ElkPoint;
|
|
52
|
+
bendPoints?: ElkPoint[];
|
|
53
|
+
}
|
|
54
|
+
interface ElkExtendedEdge extends ElkEdge {
|
|
55
|
+
sources: string[];
|
|
56
|
+
targets: string[];
|
|
57
|
+
sections?: ElkEdgeSection[];
|
|
58
|
+
}
|
|
59
|
+
interface ElkEdgeSection extends ElkGraphElement {
|
|
60
|
+
id: string;
|
|
61
|
+
startPoint: ElkPoint;
|
|
62
|
+
endPoint: ElkPoint;
|
|
63
|
+
bendPoints?: ElkPoint[];
|
|
64
|
+
incomingShape?: string;
|
|
65
|
+
outgoingShape?: string;
|
|
66
|
+
incomingSections?: string[];
|
|
67
|
+
outgoingSections?: string[];
|
|
68
|
+
}
|
|
69
|
+
interface ElkLayoutArguments {
|
|
70
|
+
layoutOptions?: LayoutOptions;
|
|
71
|
+
logging?: boolean;
|
|
72
|
+
measureExecutionTime?: boolean;
|
|
73
|
+
}
|
|
74
|
+
interface ElkCommonDescription {
|
|
75
|
+
id?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
description?: string;
|
|
78
|
+
}
|
|
79
|
+
interface ElkLayoutAlgorithmDescription extends ElkCommonDescription {
|
|
80
|
+
category?: string;
|
|
81
|
+
knownOptions?: string[];
|
|
82
|
+
supportedFeatures?: string[];
|
|
83
|
+
}
|
|
84
|
+
interface ElkLayoutOptionDescription extends ElkCommonDescription {
|
|
85
|
+
group?: string;
|
|
86
|
+
type?: string;
|
|
87
|
+
targets?: string[];
|
|
88
|
+
}
|
|
89
|
+
interface ElkLayoutCategoryDescription extends ElkCommonDescription {
|
|
90
|
+
knownLayouters?: string[];
|
|
91
|
+
}
|
|
92
|
+
type LaidOutElkNode<T extends ElkNode> = Omit<T, "children"> & {
|
|
93
|
+
children?: Array<NonNullable<T["children"]>[number] & ElkNode>;
|
|
94
|
+
};
|
|
95
|
+
interface ELK {
|
|
96
|
+
layout<T extends ElkNode>(graph: T, args?: ElkLayoutArguments): Promise<LaidOutElkNode<T>>;
|
|
97
|
+
knownLayoutAlgorithms(): Promise<ElkLayoutAlgorithmDescription[]>;
|
|
98
|
+
knownLayoutOptions(): Promise<ElkLayoutOptionDescription[]>;
|
|
99
|
+
knownLayoutCategories(): Promise<ElkLayoutCategoryDescription[]>;
|
|
100
|
+
terminateWorker(): void;
|
|
101
|
+
}
|
|
102
|
+
interface ELKConstructorArguments {
|
|
103
|
+
defaultLayoutOptions?: LayoutOptions;
|
|
104
|
+
algorithms?: string[];
|
|
105
|
+
workerUrl?: string;
|
|
106
|
+
workerFactory?: (url?: string) => Worker;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
export { ElkShape as _, ElkEdgeSection as a, ElkLabel as c, ElkLayoutCategoryDescription as d, ElkLayoutOptionDescription as f, ElkPrimitiveEdge as g, ElkPort as h, ElkEdge as i, ElkLayoutAlgorithmDescription as l, ElkPoint as m, ELKConstructorArguments as n, ElkExtendedEdge as o, ElkNode as p, ElkCommonDescription as r, ElkGraphElement as s, ELK as t, ElkLayoutArguments as u, LaidOutElkNode as v, LayoutOptions as y };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
//#region src/elkjs/public-types.d.ts
|
|
2
|
+
/*******************************************************************************
|
|
3
|
+
* Copyright (c) 2019 TypeFox and others.
|
|
4
|
+
*
|
|
5
|
+
* Adapted from elkjs 0.11.1 typings/elk-api.d.ts.
|
|
6
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
7
|
+
*******************************************************************************/
|
|
8
|
+
interface LayoutOptions {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
}
|
|
11
|
+
interface ElkPoint {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}
|
|
15
|
+
interface ElkGraphElement {
|
|
16
|
+
id?: string;
|
|
17
|
+
labels?: ElkLabel[];
|
|
18
|
+
layoutOptions?: LayoutOptions;
|
|
19
|
+
}
|
|
20
|
+
interface ElkShape extends ElkGraphElement {
|
|
21
|
+
x?: number;
|
|
22
|
+
y?: number;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
}
|
|
26
|
+
interface ElkNode extends ElkShape {
|
|
27
|
+
id: string;
|
|
28
|
+
children?: ElkNode[];
|
|
29
|
+
ports?: ElkPort[];
|
|
30
|
+
edges?: ElkExtendedEdge[];
|
|
31
|
+
}
|
|
32
|
+
interface ElkPort extends ElkShape {
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
35
|
+
interface ElkLabel extends ElkShape {
|
|
36
|
+
text?: string;
|
|
37
|
+
}
|
|
38
|
+
/** @deprecated Use ElkExtendedEdge directly. */
|
|
39
|
+
interface ElkEdge extends ElkGraphElement {
|
|
40
|
+
id: string;
|
|
41
|
+
container?: string;
|
|
42
|
+
junctionPoints?: ElkPoint[];
|
|
43
|
+
}
|
|
44
|
+
/** @deprecated Use ElkExtendedEdge instead. */
|
|
45
|
+
interface ElkPrimitiveEdge extends ElkEdge {
|
|
46
|
+
source: string;
|
|
47
|
+
sourcePort?: string;
|
|
48
|
+
target: string;
|
|
49
|
+
targetPort?: string;
|
|
50
|
+
sourcePoint?: ElkPoint;
|
|
51
|
+
targetPoint?: ElkPoint;
|
|
52
|
+
bendPoints?: ElkPoint[];
|
|
53
|
+
}
|
|
54
|
+
interface ElkExtendedEdge extends ElkEdge {
|
|
55
|
+
sources: string[];
|
|
56
|
+
targets: string[];
|
|
57
|
+
sections?: ElkEdgeSection[];
|
|
58
|
+
}
|
|
59
|
+
interface ElkEdgeSection extends ElkGraphElement {
|
|
60
|
+
id: string;
|
|
61
|
+
startPoint: ElkPoint;
|
|
62
|
+
endPoint: ElkPoint;
|
|
63
|
+
bendPoints?: ElkPoint[];
|
|
64
|
+
incomingShape?: string;
|
|
65
|
+
outgoingShape?: string;
|
|
66
|
+
incomingSections?: string[];
|
|
67
|
+
outgoingSections?: string[];
|
|
68
|
+
}
|
|
69
|
+
interface ElkLayoutArguments {
|
|
70
|
+
layoutOptions?: LayoutOptions;
|
|
71
|
+
logging?: boolean;
|
|
72
|
+
measureExecutionTime?: boolean;
|
|
73
|
+
}
|
|
74
|
+
interface ElkCommonDescription {
|
|
75
|
+
id?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
description?: string;
|
|
78
|
+
}
|
|
79
|
+
interface ElkLayoutAlgorithmDescription extends ElkCommonDescription {
|
|
80
|
+
category?: string;
|
|
81
|
+
knownOptions?: string[];
|
|
82
|
+
supportedFeatures?: string[];
|
|
83
|
+
}
|
|
84
|
+
interface ElkLayoutOptionDescription extends ElkCommonDescription {
|
|
85
|
+
group?: string;
|
|
86
|
+
type?: string;
|
|
87
|
+
targets?: string[];
|
|
88
|
+
}
|
|
89
|
+
interface ElkLayoutCategoryDescription extends ElkCommonDescription {
|
|
90
|
+
knownLayouters?: string[];
|
|
91
|
+
}
|
|
92
|
+
type LaidOutElkNode<T extends ElkNode> = Omit<T, "children"> & {
|
|
93
|
+
children?: Array<NonNullable<T["children"]>[number] & ElkNode>;
|
|
94
|
+
};
|
|
95
|
+
interface ELK {
|
|
96
|
+
layout<T extends ElkNode>(graph: T, args?: ElkLayoutArguments): Promise<LaidOutElkNode<T>>;
|
|
97
|
+
knownLayoutAlgorithms(): Promise<ElkLayoutAlgorithmDescription[]>;
|
|
98
|
+
knownLayoutOptions(): Promise<ElkLayoutOptionDescription[]>;
|
|
99
|
+
knownLayoutCategories(): Promise<ElkLayoutCategoryDescription[]>;
|
|
100
|
+
terminateWorker(): void;
|
|
101
|
+
}
|
|
102
|
+
interface ELKConstructorArguments {
|
|
103
|
+
defaultLayoutOptions?: LayoutOptions;
|
|
104
|
+
algorithms?: string[];
|
|
105
|
+
workerUrl?: string;
|
|
106
|
+
workerFactory?: (url?: string) => Worker;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
export { ElkShape as _, ElkEdgeSection as a, ElkLabel as c, ElkLayoutCategoryDescription as d, ElkLayoutOptionDescription as f, ElkPrimitiveEdge as g, ElkPort as h, ElkEdge as i, ElkLayoutAlgorithmDescription as l, ElkPoint as m, ELKConstructorArguments as n, ElkExtendedEdge as o, ElkNode as p, ElkCommonDescription as r, ElkGraphElement as s, ELK as t, ElkLayoutArguments as u, LaidOutElkNode as v, LayoutOptions as y };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_routing = require('../routing-ujEP7Qh6.cjs');
|
|
2
|
+
|
|
3
|
+
exports.applyRoutePatches = require_routing.applyRoutePatches;
|
|
4
|
+
exports.bezierRouting = require_routing.bezierRouting;
|
|
5
|
+
exports.bundleRouting = require_routing.bundleRouting;
|
|
6
|
+
exports.busRouting = require_routing.busRouting;
|
|
7
|
+
exports.curvedRouting = require_routing.curvedRouting;
|
|
8
|
+
exports.fanRouting = require_routing.fanRouting;
|
|
9
|
+
exports.flattenPath = require_routing.flattenPath;
|
|
10
|
+
exports.getLayoutRoutes = require_routing.getLayoutRoutes;
|
|
11
|
+
exports.getPathBounds = require_routing.getPathBounds;
|
|
12
|
+
exports.getPathLength = require_routing.getPathLength;
|
|
13
|
+
exports.getPointAtLength = require_routing.getPointAtLength;
|
|
14
|
+
exports.getTangentAtLength = require_routing.getTangentAtLength;
|
|
15
|
+
exports.octilinearRouting = require_routing.octilinearRouting;
|
|
16
|
+
exports.organicRouting = require_routing.organicRouting;
|
|
17
|
+
exports.orthogonalRouting = require_routing.orthogonalRouting;
|
|
18
|
+
exports.parallelRouting = require_routing.parallelRouting;
|
|
19
|
+
exports.pathFromPoints = require_routing.pathFromPoints;
|
|
20
|
+
exports.pathFromSplinePoints = require_routing.pathFromSplinePoints;
|
|
21
|
+
exports.polylineRouting = require_routing.polylineRouting;
|
|
22
|
+
exports.roundCorners = require_routing.roundCorners;
|
|
23
|
+
exports.routeToGraphPatch = require_routing.routeToGraphPatch;
|
|
24
|
+
exports.routeToPolylines = require_routing.routeToPolylines;
|
|
25
|
+
exports.routingStrategies = require_routing.routingStrategies;
|
|
26
|
+
exports.selfLoopRouting = require_routing.selfLoopRouting;
|
|
27
|
+
exports.straightRouting = require_routing.straightRouting;
|
|
28
|
+
exports.toSvgPath = require_routing.toSvgPath;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { _ as RoutingMetrics, a as RouteBounds, b as RoutingStrategy, c as RoutePath, d as RouteSegment, f as RouteSide, g as RoutingGraph, h as RoutingDiagnosticCode, i as RouteAttachment, l as RoutePoint, m as RoutingDiagnostic, n as NativeRoutingStrategy, o as RouteEndpoint, p as RouteStyle, r as Route, s as RoutePatch, t as EdgeRoutingSettings, u as RouteSection, v as RoutingSettings, x as RoutingUpdate, y as RoutingSnapshot } from "../types-uxPlGRof.cjs";
|
|
2
|
+
import { C as getTangentAtLength, D as applyRoutePatches, E as toSvgPath, S as getPointAtLength, T as roundCorners, _ as routeToPolylines, a as fanRouting, b as getPathBounds, c as orthogonalRouting, d as routingStrategies, f as selfLoopRouting, g as routeToGraphPatch, h as pathFromSplinePoints, i as curvedRouting, l as parallelRouting, m as getLayoutRoutes, n as bundleRouting, o as octilinearRouting, p as straightRouting, r as busRouting, s as organicRouting, t as bezierRouting, u as polylineRouting, v as FlattenPathOptions, w as pathFromPoints, x as getPathLength, y as flattenPath } from "../index-BEA_pzeT.cjs";
|
|
3
|
+
export { EdgeRoutingSettings, FlattenPathOptions, NativeRoutingStrategy, Route, RouteAttachment, RouteBounds, RouteEndpoint, RoutePatch, RoutePath, RoutePoint, RouteSection, RouteSegment, RouteSide, RouteStyle, RoutingDiagnostic, RoutingDiagnosticCode, RoutingGraph, RoutingMetrics, RoutingSettings, RoutingSnapshot, RoutingStrategy, RoutingUpdate, applyRoutePatches, bezierRouting, bundleRouting, busRouting, curvedRouting, fanRouting, flattenPath, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getTangentAtLength, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, polylineRouting, roundCorners, routeToGraphPatch, routeToPolylines, routingStrategies, selfLoopRouting, straightRouting, toSvgPath };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { _ as RoutingMetrics, a as RouteBounds, b as RoutingStrategy, c as RoutePath, d as RouteSegment, f as RouteSide, g as RoutingGraph, h as RoutingDiagnosticCode, i as RouteAttachment, l as RoutePoint, m as RoutingDiagnostic, n as NativeRoutingStrategy, o as RouteEndpoint, p as RouteStyle, r as Route, s as RoutePatch, t as EdgeRoutingSettings, u as RouteSection, v as RoutingSettings, x as RoutingUpdate, y as RoutingSnapshot } from "../types-CT2akdK0.mjs";
|
|
2
|
+
import { C as getTangentAtLength, D as applyRoutePatches, E as toSvgPath, S as getPointAtLength, T as roundCorners, _ as routeToPolylines, a as fanRouting, b as getPathBounds, c as orthogonalRouting, d as routingStrategies, f as selfLoopRouting, g as routeToGraphPatch, h as pathFromSplinePoints, i as curvedRouting, l as parallelRouting, m as getLayoutRoutes, n as bundleRouting, o as octilinearRouting, p as straightRouting, r as busRouting, s as organicRouting, t as bezierRouting, u as polylineRouting, v as FlattenPathOptions, w as pathFromPoints, x as getPathLength, y as flattenPath } from "../index-DNTLRsDl.mjs";
|
|
3
|
+
export { EdgeRoutingSettings, FlattenPathOptions, NativeRoutingStrategy, Route, RouteAttachment, RouteBounds, RouteEndpoint, RoutePatch, RoutePath, RoutePoint, RouteSection, RouteSegment, RouteSide, RouteStyle, RoutingDiagnostic, RoutingDiagnosticCode, RoutingGraph, RoutingMetrics, RoutingSettings, RoutingSnapshot, RoutingStrategy, RoutingUpdate, applyRoutePatches, bezierRouting, bundleRouting, busRouting, curvedRouting, fanRouting, flattenPath, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getTangentAtLength, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, polylineRouting, roundCorners, routeToGraphPatch, routeToPolylines, routingStrategies, selfLoopRouting, straightRouting, toSvgPath };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { A as toSvgPath, C as flattenPath, D as getTangentAtLength, E as getPointAtLength, O as pathFromPoints, T as getPathLength, _ as routeToPolylines, a as fanRouting, c as orthogonalRouting, d as routingStrategies, f as selfLoopRouting, g as routeToGraphPatch, h as pathFromSplinePoints, i as curvedRouting, k as roundCorners, l as parallelRouting, m as getLayoutRoutes, n as bundleRouting, o as octilinearRouting, p as straightRouting, r as busRouting, s as organicRouting, t as bezierRouting, u as polylineRouting, w as getPathBounds, x as applyRoutePatches } from "../routing-A2hrK9MP.mjs";
|
|
2
|
+
|
|
3
|
+
export { applyRoutePatches, bezierRouting, bundleRouting, busRouting, curvedRouting, fanRouting, flattenPath, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getTangentAtLength, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, polylineRouting, roundCorners, routeToGraphPatch, routeToPolylines, routingStrategies, selfLoopRouting, straightRouting, toSvgPath };
|