@statelyai/layout 0.2.0 → 0.4.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.
Files changed (132) hide show
  1. package/NOTICE.md +4 -2
  2. package/README.md +221 -13
  3. package/dist/elkjs/index.cjs +3 -2
  4. package/dist/elkjs/index.d.cts +13 -2
  5. package/dist/elkjs/index.d.mts +13 -2
  6. package/dist/elkjs/index.mjs +3 -3
  7. package/dist/elkjs/main.cjs +2 -2
  8. package/dist/elkjs/main.d.cts +2 -2
  9. package/dist/elkjs/main.d.mts +2 -2
  10. package/dist/elkjs/main.mjs +2 -2
  11. package/dist/elkjs/worker-api.cjs +1 -1
  12. package/dist/elkjs/worker-api.d.cts +2 -2
  13. package/dist/elkjs/worker-api.d.mts +2 -2
  14. package/dist/elkjs/worker-api.mjs +1 -1
  15. package/dist/elkjs/worker.cjs +2 -2
  16. package/dist/elkjs/worker.mjs +2 -2
  17. package/dist/elkjs-UciYx7lD.mjs +2973 -0
  18. package/dist/elkjs-ggjsBuVP.cjs +3002 -0
  19. package/dist/index-B6cWNrMw.d.cts +80 -0
  20. package/dist/index-CJQLUKD9.d.mts +80 -0
  21. package/dist/{index-BSH2bloA.d.mts → index-DT6lPMfS.d.cts} +117 -5
  22. package/dist/{index-CG712jzV.d.cts → index-F1U-fCTu.d.mts} +117 -5
  23. package/dist/index.cjs +39 -9
  24. package/dist/index.d.cts +4 -3
  25. package/dist/index.d.mts +4 -3
  26. package/dist/index.mjs +4 -3
  27. package/dist/layered/index.cjs +3 -1
  28. package/dist/layered/index.d.cts +3 -2
  29. package/dist/layered/index.d.mts +3 -2
  30. package/dist/layered/index.mjs +2 -2
  31. package/dist/{layered-Bz2nWmVp.mjs → layered-C7ERzZjR.mjs} +12592 -4682
  32. package/dist/{layered-Cf9Rn8l7.cjs → layered-CBPg6_6_.cjs} +12711 -4717
  33. package/dist/{layout-engine-BNex9jxg.cjs → layout-engine-DAw06RhN.cjs} +5 -18
  34. package/dist/{layout-engine-WbC0YjjT.mjs → layout-engine-DC3IYkIy.mjs} +3 -10
  35. package/dist/routing/index.cjs +29 -0
  36. package/dist/routing/index.d.cts +3 -0
  37. package/dist/routing/index.d.mts +3 -0
  38. package/dist/routing/index.mjs +3 -0
  39. package/dist/routing-CR8flv8b.mjs +2780 -0
  40. package/dist/routing-QIdGGFBe.cjs +2996 -0
  41. package/dist/types-CT2akdK0.d.mts +133 -0
  42. package/dist/types-uxPlGRof.d.cts +133 -0
  43. package/dist/{worker-client-DAT_z2OR.d.mts → worker-client-BwGGRD5y.d.mts} +1 -1
  44. package/dist/{worker-client-DVhklF6A.d.cts → worker-client-D4zNyPEI.d.cts} +1 -1
  45. package/package.json +14 -3
  46. package/src/authoring/coordinates.ts +38 -10
  47. package/src/authoring/partial.ts +7 -2
  48. package/src/authoring/routing.ts +4 -1
  49. package/src/constraints.ts +174 -6
  50. package/src/elkjs/index.ts +1397 -452
  51. package/src/elkjs/layout-quality.ts +219 -0
  52. package/src/elkjs/opposing-tracks.ts +161 -0
  53. package/src/elkjs/orthogonal-junctions.ts +174 -0
  54. package/src/elkjs/routes.ts +147 -0
  55. package/src/elkjs/statechart.ts +9 -3
  56. package/src/elkjs/types.ts +2 -0
  57. package/src/index.ts +8 -0
  58. package/src/internal/elkjs-compatibility.ts +4 -1
  59. package/src/internal/layered-trace.ts +48 -0
  60. package/src/internal/layout-engine.ts +2 -1
  61. package/src/java-random.ts +6 -0
  62. package/src/layered/bk-node-placement.ts +403 -92
  63. package/src/layered/center-labels.ts +398 -0
  64. package/src/layered/compaction-bounds.ts +26 -0
  65. package/src/layered/compaction-errors.ts +2 -0
  66. package/src/layered/compaction-scanline.ts +63 -0
  67. package/src/layered/compound-boundaries.ts +99 -0
  68. package/src/layered/compound.ts +445 -0
  69. package/src/layered/constraint-orientation.ts +141 -0
  70. package/src/layered/crossing-constraints.ts +243 -0
  71. package/src/layered/crossing-counter.ts +221 -0
  72. package/src/layered/crossing-graph.ts +401 -0
  73. package/src/layered/cycle-random.ts +22 -0
  74. package/src/layered/elk-port-lists.ts +243 -0
  75. package/src/layered/end-labels.ts +124 -0
  76. package/src/layered/external-port-dummy.ts +137 -0
  77. package/src/layered/feedback-chains.ts +114 -0
  78. package/src/layered/fixed-self-loop.ts +150 -0
  79. package/src/layered/greedy-switch-decider.ts +356 -0
  80. package/src/layered/grouped-compaction.ts +787 -0
  81. package/src/layered/gwt-sort.ts +53 -0
  82. package/src/layered/hierarchical-port-phases.ts +242 -0
  83. package/src/layered/hierarchical-port-restoration.ts +233 -0
  84. package/src/layered/hierarchical-port-routing.ts +179 -0
  85. package/src/layered/hierarchy-crossing.ts +121 -0
  86. package/src/layered/hierarchy-sweepiness.ts +83 -0
  87. package/src/layered/hints.ts +371 -0
  88. package/src/layered/hyperedge-dummy-merger.ts +195 -0
  89. package/src/layered/index.ts +911 -261
  90. package/src/layered/initial-model-order.ts +404 -0
  91. package/src/layered/inverted-ports.ts +207 -0
  92. package/src/layered/label-dummy-switcher.ts +200 -0
  93. package/src/layered/long-edges.ts +135 -44
  94. package/src/layered/loop-envelopes.ts +184 -0
  95. package/src/layered/native-routing.ts +275 -0
  96. package/src/layered/network-simplex.ts +11 -15
  97. package/src/layered/node-margins.ts +59 -0
  98. package/src/layered/north-south-ports.ts +271 -0
  99. package/src/layered/opposing-tracks.ts +944 -0
  100. package/src/layered/orthogonal-cycle-order.ts +106 -0
  101. package/src/layered/orthogonal-hypersegments.ts +92 -0
  102. package/src/layered/orthogonal-junctions.ts +202 -0
  103. package/src/layered/orthogonal-segments.ts +243 -0
  104. package/src/layered/placement-orientation.ts +22 -0
  105. package/src/layered/port-distributor.ts +192 -0
  106. package/src/layered/port-edge-order.ts +20 -0
  107. package/src/layered/replace-routing.ts +45 -0
  108. package/src/layered/routing-coordinates.ts +32 -0
  109. package/src/layered/separate-exterior-labels.ts +24 -6
  110. package/src/layered/spacing.ts +34 -12
  111. package/src/layered/splitter-order.ts +106 -0
  112. package/src/layered/strategies.ts +2024 -883
  113. package/src/layered/types.ts +34 -0
  114. package/src/layered/weighted-compaction.ts +84 -0
  115. package/src/routing/adapters.ts +143 -0
  116. package/src/routing/algorithms.ts +1088 -0
  117. package/src/routing/coordination.ts +91 -0
  118. package/src/routing/engine.ts +473 -0
  119. package/src/routing/index.ts +69 -0
  120. package/src/routing/layout-cache.ts +65 -0
  121. package/src/routing/model.ts +218 -0
  122. package/src/routing/path.ts +324 -0
  123. package/src/routing/persistent.ts +117 -0
  124. package/src/routing/search.ts +358 -0
  125. package/src/routing/spatial.ts +78 -0
  126. package/src/routing/types.ts +146 -0
  127. package/dist/elkjs-BVnDwnBQ.cjs +0 -1551
  128. package/dist/elkjs-CFlfkEBz.mjs +0 -1528
  129. /package/dist/{public-types-B8rAALJq.d.mts → public-types-9NCPoqbp.d.mts} +0 -0
  130. /package/dist/{public-types-CVB0hXGk.d.cts → public-types-BcRZoJE3.d.cts} +0 -0
  131. /package/dist/{worker-client-DkwS4sHx.mjs → worker-client-BNjwT1AJ.mjs} +0 -0
  132. /package/dist/{worker-client-D3HMK33r.cjs → worker-client-D4oEvhAl.cjs} +0 -0
package/dist/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
- const require_layered = require('./layered-Cf9Rn8l7.cjs');
2
- const require_layout_engine = require('./layout-engine-BNex9jxg.cjs');
1
+ const require_routing = require('./routing-QIdGGFBe.cjs');
2
+ const require_layered = require('./layered-CBPg6_6_.cjs');
3
+ const require_layout_engine = require('./layout-engine-DAw06RhN.cjs');
3
4
  let _statelyai_graph = require("@statelyai/graph");
4
5
 
5
6
  //#region src/layout.ts
@@ -81,11 +82,11 @@ async function getLayout(request) {
81
82
  const diagnostics = [];
82
83
  const phases = [];
83
84
  const algorithm = typeof request.algorithm === "object" ? request.algorithm : getLayoutAlgorithm(request.algorithm ?? "layered");
84
- if (!algorithm) throw new require_layered.LayoutError(`Unknown layout algorithm: ${request.algorithm ?? "layered"}`, "UNKNOWN_ALGORITHM");
85
- if (!supportsScope(algorithm, scope)) throw new require_layered.UnsupportedLayoutError(`${algorithm.id} does not support ${scope.mode} layout yet`);
86
- if (request.constraints?.length && !algorithm.capabilities.constraints) throw new require_layered.UnsupportedLayoutError(`${algorithm.id} does not support geometry constraints`);
85
+ if (!algorithm) throw new require_routing.LayoutError(`Unknown layout algorithm: ${request.algorithm ?? "layered"}`, "UNKNOWN_ALGORITHM");
86
+ if (!supportsScope(algorithm, scope)) throw new require_routing.UnsupportedLayoutError(`${algorithm.id} does not support ${scope.mode} layout yet`);
87
+ if (request.constraints?.length && !algorithm.capabilities.constraints) throw new require_routing.UnsupportedLayoutError(`${algorithm.id} does not support geometry constraints`);
87
88
  const issues = (0, _statelyai_graph.getGraphIssues)(request.graph);
88
- if (issues.length > 0) throw new require_layered.LayoutError(issues.map((issue) => issue.message).join("; "), "INVALID_GRAPH");
89
+ if (issues.length > 0) throw new require_routing.LayoutError(issues.map((issue) => issue.message).join("; "), "INVALID_GRAPH");
89
90
  const context = {
90
91
  scope,
91
92
  constraints: request.constraints,
@@ -135,8 +136,9 @@ async function getLayout(request) {
135
136
  }
136
137
 
137
138
  //#endregion
138
- exports.LayoutError = require_layered.LayoutError;
139
- exports.UnsupportedLayoutError = require_layered.UnsupportedLayoutError;
139
+ exports.LayoutError = require_routing.LayoutError;
140
+ exports.UnsupportedLayoutError = require_routing.UnsupportedLayoutError;
141
+ exports.applyRoutePatches = require_routing.applyRoutePatches;
140
142
  exports.assignLayersByBreadthFirstModelOrder = require_layered.assignLayersByBreadthFirstModelOrder;
141
143
  exports.assignLayersByDepthFirstModelOrder = require_layered.assignLayersByDepthFirstModelOrder;
142
144
  exports.assignLayersByLongestPath = require_layered.assignLayersByLongestPath;
@@ -146,6 +148,7 @@ exports.assignLayersWithCoffmanGraham = require_layered.assignLayersWithCoffmanG
146
148
  exports.assignLayersWithMinWidth = require_layered.assignLayersWithMinWidth;
147
149
  exports.assignLayersWithNetworkSimplex = require_layered.assignLayersWithNetworkSimplex;
148
150
  exports.assignLayersWithStretchWidth = require_layered.assignLayersWithStretchWidth;
151
+ exports.bezierRouting = require_routing.bezierRouting;
149
152
  exports.boxAlgorithm = require_layout_engine.boxAlgorithm;
150
153
  exports.breakCyclesByModelOrder = require_layered.breakCyclesByModelOrder;
151
154
  exports.breakCyclesByStronglyConnectedConnectivity = require_layered.breakCyclesByStronglyConnectedConnectivity;
@@ -156,33 +159,60 @@ exports.breakCyclesInteractively = require_layered.breakCyclesInteractively;
156
159
  exports.breakCyclesWithDepthFirstSearch = require_layered.breakCyclesWithDepthFirstSearch;
157
160
  exports.breakCyclesWithModelOrderBreadthFirstSearch = require_layered.breakCyclesWithModelOrderBreadthFirstSearch;
158
161
  exports.breakCyclesWithModelOrderDepthFirstSearch = require_layered.breakCyclesWithModelOrderDepthFirstSearch;
162
+ exports.bundleRouting = require_routing.bundleRouting;
163
+ exports.busRouting = require_routing.busRouting;
159
164
  exports.c = require_layered.c;
165
+ exports.curvedRouting = require_routing.curvedRouting;
160
166
  exports.elkLayeredEnumValues = require_layered.elkLayeredEnumValues;
161
167
  exports.elkLayeredOptionDefinitions = require_layered.elkLayeredOptionDefinitions;
168
+ exports.fanRouting = require_routing.fanRouting;
162
169
  exports.fixedAlgorithm = require_layout_engine.fixedAlgorithm;
170
+ exports.flattenPath = require_routing.flattenPath;
163
171
  exports.fromElkLayeredOptionId = require_layered.fromElkLayeredOptionId;
164
172
  exports.getBoxLayout = require_layout_engine.getBoxLayout;
165
173
  exports.getFixedLayout = require_layout_engine.getFixedLayout;
166
174
  exports.getLayeredLayout = require_layered.getLayeredLayout;
167
175
  exports.getLayout = getLayout;
168
176
  exports.getLayoutAlgorithm = getLayoutAlgorithm;
177
+ exports.getLayoutRoutes = require_routing.getLayoutRoutes;
178
+ exports.getPathBounds = require_routing.getPathBounds;
179
+ exports.getPathLength = require_routing.getPathLength;
180
+ exports.getPointAtLength = require_routing.getPointAtLength;
169
181
  exports.getRandomLayout = require_layout_engine.getRandomLayout;
170
182
  exports.getRectanglePackingLayout = require_layout_engine.getRectanglePackingLayout;
171
183
  exports.getSporeCompactionLayout = require_layout_engine.getSporeCompactionLayout;
172
184
  exports.getSporeOverlapRemovalLayout = require_layout_engine.getSporeOverlapRemovalLayout;
185
+ exports.getTangentAtLength = require_routing.getTangentAtLength;
186
+ exports.hint = require_layered.hint;
173
187
  exports.layeredAlgorithm = require_layered.layeredAlgorithm;
174
188
  exports.minimizeCrossingsInteractively = require_layered.minimizeCrossingsInteractively;
175
189
  exports.minimizeCrossingsWithBarycenter = require_layered.minimizeCrossingsWithBarycenter;
176
190
  exports.minimizeCrossingsWithMedian = require_layered.minimizeCrossingsWithMedian;
177
191
  exports.minimizeCrossingsWithModelOrder = require_layered.minimizeCrossingsWithModelOrder;
192
+ exports.octilinearRouting = require_routing.octilinearRouting;
193
+ exports.organicRouting = require_routing.organicRouting;
194
+ exports.orthogonalRouting = require_routing.orthogonalRouting;
195
+ exports.parallelRouting = require_routing.parallelRouting;
196
+ exports.pathFromPoints = require_routing.pathFromPoints;
197
+ exports.pathFromSplinePoints = require_routing.pathFromSplinePoints;
178
198
  exports.placeNodesInLayers = require_layered.placeNodesInLayers;
179
199
  exports.placeNodesInteractively = require_layered.placeNodesInteractively;
200
+ exports.polylineRouting = require_routing.polylineRouting;
180
201
  exports.randomAlgorithm = require_layout_engine.randomAlgorithm;
181
202
  exports.rectanglePackingAlgorithm = require_layout_engine.rectanglePackingAlgorithm;
182
203
  exports.registerLayoutAlgorithm = registerLayoutAlgorithm;
204
+ exports.roundCorners = require_routing.roundCorners;
183
205
  exports.routeEdgesOrthogonally = require_layered.routeEdgesOrthogonally;
184
206
  exports.routeEdgesWithPolylines = require_layered.routeEdgesWithPolylines;
185
207
  exports.routeEdgesWithSplines = require_layered.routeEdgesWithSplines;
208
+ exports.routeToGraphPatch = require_routing.routeToGraphPatch;
209
+ exports.routeToPoints = require_routing.routeToPoints;
210
+ exports.routeToPolylines = require_routing.routeToPolylines;
211
+ exports.routingStrategies = require_routing.routingStrategies;
212
+ exports.selfLoopRouting = require_routing.selfLoopRouting;
186
213
  exports.sporeCompactionAlgorithm = require_layout_engine.sporeCompactionAlgorithm;
187
214
  exports.sporeOverlapRemovalAlgorithm = require_layout_engine.sporeOverlapRemovalAlgorithm;
188
- exports.toElkLayeredOptions = require_layered.toElkLayeredOptions;
215
+ exports.statechartHints = require_layered.statechartHints;
216
+ exports.straightRouting = require_routing.straightRouting;
217
+ exports.toElkLayeredOptions = require_layered.toElkLayeredOptions;
218
+ exports.toSvgPath = require_routing.toSvgPath;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,6 @@
1
- import { $ as LayeringStrategy, A as routeEdgesOrthogonally, B as LayerOrder, C as breakCyclesWithModelOrderDepthFirstSearch, Ct as GeometryReference, D as minimizeCrossingsWithModelOrder, Dt as WaypointConstraint, E as minimizeCrossingsWithMedian, Et as PinConstraint, F as CycleBreaker, G as LayoutPadding, H as LayeredPhaseInput, I as EdgeRouter, J as NodeSize, K as NodePlacement, L as EdgeRoutes, M as routeEdgesWithSplines, N as AcyclicOrientation, O as placeNodesInLayers, Ot as c, P as CrossingMinimizer, Q as LayeredAdvancedOptions, R as LayerAssigner, S as breakCyclesWithModelOrderBreadthFirstSearch, St as GeometryAttribute, T as minimizeCrossingsWithBarycenter, Tt as LinearConstraint, U as LayeredSpacing, V as LayeredLayoutOptions, W as LayeredStrategies, X as CycleBreakingStrategy, Y as CrossingMinimizationStrategy, Z as EdgeRoutingStyle, _ as breakCyclesByStronglyConnectedNodeType, _t as LayoutResult, at as ElkLayeredOptionName, b as breakCyclesInteractively, bt as ConstraintStrength, c as assignLayersWithNetworkSimplex, ct as AnyGraph, d as assignLayersByLongestPath, dt as LayoutDiagnostic, et as NodePlacementStrategy, f as assignLayersByLongestPathToSink, ft as LayoutDirection, g as breakCyclesByStronglyConnectedConnectivity, gt as LayoutRequest, h as breakCyclesByModelOrder, ht as LayoutPhaseMetrics, it as ElkLayeredOptionId, j as routeEdgesWithPolylines, k as placeNodesInteractively, l as assignLayersByBreadthFirstModelOrder, lt as LayoutAlgorithm, m as assignLayersWithCoffmanGraham, mt as LayoutMetrics, n as layeredAlgorithm, nt as toElkLayeredOptions, o as assignLayersWithStretchWidth, ot as ElkLayeredOptionValueByName, p as assignLayersInteractively, pt as LayoutExecutionContext, q as NodePlacer, rt as elkLayeredEnumValues, s as assignLayersWithMinWidth, st as elkLayeredOptionDefinitions, t as getLayeredLayout, tt as fromElkLayeredOptionId, u as assignLayersByDepthFirstModelOrder, ut as LayoutCapabilities, v as breakCyclesGreedily, vt as LayoutScope, w as minimizeCrossingsInteractively, wt as LayoutConstraint, x as breakCyclesWithDepthFirstSearch, xt as DistributeConstraint, y as breakCyclesGreedilyByModelOrder, yt as AlignConstraint, z as LayerAssignment } from "./index-CG712jzV.cjs";
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 { $ as NodePlacement, A as minimizeCrossingsWithModelOrder, At as LayoutResult, B as CompoundLayoutOptions, Bt as WaypointConstraint, C as breakCyclesInteractively, Ct as LayoutCapabilities, D as minimizeCrossingsInteractively, Dt as LayoutMetrics, E as breakCyclesWithModelOrderDepthFirstSearch, Et as LayoutExecutionContext, F as routeEdgesWithSplines, Ft as GeometryAttribute, G as LayerAssigner, H as CycleBreaker, I as CompoundVisualGraph, It as GeometryReference, J as LayeredLayoutOptions, K as LayerAssignment, L as AcyclicOrientation, Lt as LayoutConstraint, M as placeNodesInteractively, Mt as AlignConstraint, N as routeEdgesOrthogonally, Nt as ConstraintStrength, O as minimizeCrossingsWithBarycenter, Ot as LayoutPhaseMetrics, P as routeEdgesWithPolylines, Pt as DistributeConstraint, Q as LayoutPadding, R as CompoundEdgeAttachment, Rt as LinearConstraint, S as breakCyclesGreedilyByModelOrder, St as LayoutAlgorithm, T as breakCyclesWithModelOrderBreadthFirstSearch, Tt as LayoutDirection, U as EdgeRouter, V as CrossingMinimizer, Vt as c, W as EdgeRoutes, X as LayeredSpacing, Y as LayeredPhaseInput, Z as LayeredStrategies, _ as assignLayersWithCoffmanGraham, _t as HintStrength, a as layeredAlgorithm, at as LayeredAdvancedOptions, b as breakCyclesByStronglyConnectedNodeType, bt as statechartHints, ct as fromElkLayeredOptionId, d as assignLayersWithNetworkSimplex, dt as ElkLayeredOptionId, et as NodePlacer, f as assignLayersByBreadthFirstModelOrder, ft as ElkLayeredOptionName, g as assignLayersInteractively, gt as ChainHint, h as assignLayersByLongestPathToSink, ht as AnchorHint, i as getLayeredLayout, it as EdgeRoutingStyle, j as placeNodesInLayers, jt as LayoutScope, k as minimizeCrossingsWithMedian, kt as LayoutRequest, l as assignLayersWithStretchWidth, lt as toElkLayeredOptions, m as assignLayersByLongestPath, mt as elkLayeredOptionDefinitions, nt as CrossingMinimizationStrategy, ot as LayeringStrategy, p as assignLayersByDepthFirstModelOrder, pt as ElkLayeredOptionValueByName, q as LayerOrder, rt as CycleBreakingStrategy, st as NodePlacementStrategy, tt as NodeSize, u as assignLayersWithMinWidth, ut as elkLayeredEnumValues, v as breakCyclesByModelOrder, vt as LayoutHint, w as breakCyclesWithDepthFirstSearch, wt as LayoutDiagnostic, x as breakCyclesGreedily, xt as AnyGraph, y as breakCyclesByStronglyConnectedConnectivity, yt as hint, z as CompoundLayoutGeometry, zt as PinConstraint } from "./index-DT6lPMfS.cjs";
3
+ import { C as getPointAtLength, D as toSvgPath, E as roundCorners, O as applyRoutePatches, S as getPathLength, T as pathFromPoints, _ as routeToPoints, a as fanRouting, b as flattenPath, 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 routeToPolylines, w as getTangentAtLength, x as getPathBounds, y as FlattenPathOptions } from "./index-B6cWNrMw.cjs";
2
4
  import { Graph, GraphNode, VisualGraph } from "@statelyai/graph";
3
5
  import { LayoutOptions } from "@statelyai/graph/layout";
4
6
 
@@ -12,7 +14,6 @@ declare class UnsupportedLayoutError extends LayoutError {
12
14
  }
13
15
  //#endregion
14
16
  //#region src/box.d.ts
15
-
16
17
  interface BoxLayoutOptions extends Pick<LayoutOptions, "direction" | "measure"> {
17
18
  spacing?: number;
18
19
  padding?: number | Partial<LayoutPadding>;
@@ -74,4 +75,4 @@ declare function getLayoutAlgorithm(id: string): LayoutAlgorithm<unknown> | unde
74
75
  */
75
76
  declare function getLayout<N, E, G, P, O = unknown>(request: LayoutRequest<N, E, G, P, O>): Promise<LayoutResult<N, E, G, P>>;
76
77
  //#endregion
77
- export { type AcyclicOrientation, type AlignConstraint, type AnyGraph, type BoxLayoutOptions, type ConstraintStrength, type CrossingMinimizationStrategy, type CrossingMinimizer, type CycleBreaker, type CycleBreakingStrategy, type DistributeConstraint, type EdgeRouter, type EdgeRoutes, type EdgeRoutingStyle, type ElkLayeredOptionId, type ElkLayeredOptionName, type ElkLayeredOptionValueByName, type FixedLayoutOptions, type GeometryAttribute, type GeometryReference, type LayerAssigner, type LayerAssignment, type LayerOrder, type LayeredAdvancedOptions, type LayeredLayoutOptions, type LayeredPhaseInput, type LayeredSpacing, type LayeredStrategies, type LayeringStrategy, type LayoutAlgorithm, type LayoutCapabilities, type LayoutConstraint, type LayoutDiagnostic, type LayoutDirection, LayoutError, type LayoutExecutionContext, type LayoutMetrics, type LayoutPadding, type LayoutPhaseMetrics, type LayoutRequest, type LayoutResult, type LayoutScope, type LinearConstraint, type NodePlacement, type NodePlacementStrategy, type NodePlacer, type NodeSize, type PinConstraint, type RandomLayoutOptions, type RectanglePackingLayoutOptions, type SporeLayoutOptions, UnsupportedLayoutError, type WaypointConstraint, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, c, elkLayeredEnumValues, elkLayeredOptionDefinitions, fixedAlgorithm, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, toElkLayeredOptions };
78
+ export { type AcyclicOrientation, type AlignConstraint, type AnchorHint, type AnyGraph, type BoxLayoutOptions, type ChainHint, type CompoundEdgeAttachment, type CompoundLayoutGeometry, type CompoundLayoutOptions, type CompoundVisualGraph, type ConstraintStrength, type CrossingMinimizationStrategy, type CrossingMinimizer, type CycleBreaker, type CycleBreakingStrategy, type DistributeConstraint, type EdgeRouter, type EdgeRoutes, EdgeRoutingSettings, type EdgeRoutingStyle, type ElkLayeredOptionId, type ElkLayeredOptionName, type ElkLayeredOptionValueByName, type FixedLayoutOptions, FlattenPathOptions, type GeometryAttribute, type GeometryReference, type HintStrength, type LayerAssigner, type LayerAssignment, type LayerOrder, type LayeredAdvancedOptions, type LayeredLayoutOptions, type LayeredPhaseInput, type LayeredSpacing, type LayeredStrategies, type LayeringStrategy, type LayoutAlgorithm, type LayoutCapabilities, type LayoutConstraint, type LayoutDiagnostic, type LayoutDirection, LayoutError, type LayoutExecutionContext, type LayoutHint, type LayoutMetrics, type LayoutPadding, type LayoutPhaseMetrics, type LayoutRequest, type LayoutResult, type LayoutScope, type LinearConstraint, NativeRoutingStrategy, type NodePlacement, type NodePlacementStrategy, type NodePlacer, type NodeSize, type PinConstraint, type RandomLayoutOptions, type RectanglePackingLayoutOptions, Route, RouteAttachment, RouteBounds, RouteEndpoint, RoutePatch, RoutePath, RoutePoint, RouteSection, RouteSegment, RouteSide, RouteStyle, RoutingDiagnostic, RoutingDiagnosticCode, RoutingGraph, RoutingMetrics, RoutingSettings, RoutingSnapshot, RoutingStrategy, RoutingUpdate, type SporeLayoutOptions, UnsupportedLayoutError, type WaypointConstraint, applyRoutePatches, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, bezierRouting, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, bundleRouting, busRouting, c, curvedRouting, elkLayeredEnumValues, elkLayeredOptionDefinitions, fanRouting, fixedAlgorithm, flattenPath, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, getTangentAtLength, hint, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, placeNodesInLayers, placeNodesInteractively, polylineRouting, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, roundCorners, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, routeToGraphPatch, routeToPoints, routeToPolylines, routingStrategies, selfLoopRouting, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, statechartHints, straightRouting, toElkLayeredOptions, toSvgPath };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,6 @@
1
- import { $ as LayeringStrategy, A as routeEdgesOrthogonally, B as LayerOrder, C as breakCyclesWithModelOrderDepthFirstSearch, Ct as GeometryReference, D as minimizeCrossingsWithModelOrder, Dt as WaypointConstraint, E as minimizeCrossingsWithMedian, Et as PinConstraint, F as CycleBreaker, G as LayoutPadding, H as LayeredPhaseInput, I as EdgeRouter, J as NodeSize, K as NodePlacement, L as EdgeRoutes, M as routeEdgesWithSplines, N as AcyclicOrientation, O as placeNodesInLayers, Ot as c, P as CrossingMinimizer, Q as LayeredAdvancedOptions, R as LayerAssigner, S as breakCyclesWithModelOrderBreadthFirstSearch, St as GeometryAttribute, T as minimizeCrossingsWithBarycenter, Tt as LinearConstraint, U as LayeredSpacing, V as LayeredLayoutOptions, W as LayeredStrategies, X as CycleBreakingStrategy, Y as CrossingMinimizationStrategy, Z as EdgeRoutingStyle, _ as breakCyclesByStronglyConnectedNodeType, _t as LayoutResult, at as ElkLayeredOptionName, b as breakCyclesInteractively, bt as ConstraintStrength, c as assignLayersWithNetworkSimplex, ct as AnyGraph, d as assignLayersByLongestPath, dt as LayoutDiagnostic, et as NodePlacementStrategy, f as assignLayersByLongestPathToSink, ft as LayoutDirection, g as breakCyclesByStronglyConnectedConnectivity, gt as LayoutRequest, h as breakCyclesByModelOrder, ht as LayoutPhaseMetrics, it as ElkLayeredOptionId, j as routeEdgesWithPolylines, k as placeNodesInteractively, l as assignLayersByBreadthFirstModelOrder, lt as LayoutAlgorithm, m as assignLayersWithCoffmanGraham, mt as LayoutMetrics, n as layeredAlgorithm, nt as toElkLayeredOptions, o as assignLayersWithStretchWidth, ot as ElkLayeredOptionValueByName, p as assignLayersInteractively, pt as LayoutExecutionContext, q as NodePlacer, rt as elkLayeredEnumValues, s as assignLayersWithMinWidth, st as elkLayeredOptionDefinitions, t as getLayeredLayout, tt as fromElkLayeredOptionId, u as assignLayersByDepthFirstModelOrder, ut as LayoutCapabilities, v as breakCyclesGreedily, vt as LayoutScope, w as minimizeCrossingsInteractively, wt as LayoutConstraint, x as breakCyclesWithDepthFirstSearch, xt as DistributeConstraint, y as breakCyclesGreedilyByModelOrder, yt as AlignConstraint, z as LayerAssignment } from "./index-BSH2bloA.mjs";
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 { $ as NodePlacement, A as minimizeCrossingsWithModelOrder, At as LayoutResult, B as CompoundLayoutOptions, Bt as WaypointConstraint, C as breakCyclesInteractively, Ct as LayoutCapabilities, D as minimizeCrossingsInteractively, Dt as LayoutMetrics, E as breakCyclesWithModelOrderDepthFirstSearch, Et as LayoutExecutionContext, F as routeEdgesWithSplines, Ft as GeometryAttribute, G as LayerAssigner, H as CycleBreaker, I as CompoundVisualGraph, It as GeometryReference, J as LayeredLayoutOptions, K as LayerAssignment, L as AcyclicOrientation, Lt as LayoutConstraint, M as placeNodesInteractively, Mt as AlignConstraint, N as routeEdgesOrthogonally, Nt as ConstraintStrength, O as minimizeCrossingsWithBarycenter, Ot as LayoutPhaseMetrics, P as routeEdgesWithPolylines, Pt as DistributeConstraint, Q as LayoutPadding, R as CompoundEdgeAttachment, Rt as LinearConstraint, S as breakCyclesGreedilyByModelOrder, St as LayoutAlgorithm, T as breakCyclesWithModelOrderBreadthFirstSearch, Tt as LayoutDirection, U as EdgeRouter, V as CrossingMinimizer, Vt as c, W as EdgeRoutes, X as LayeredSpacing, Y as LayeredPhaseInput, Z as LayeredStrategies, _ as assignLayersWithCoffmanGraham, _t as HintStrength, a as layeredAlgorithm, at as LayeredAdvancedOptions, b as breakCyclesByStronglyConnectedNodeType, bt as statechartHints, ct as fromElkLayeredOptionId, d as assignLayersWithNetworkSimplex, dt as ElkLayeredOptionId, et as NodePlacer, f as assignLayersByBreadthFirstModelOrder, ft as ElkLayeredOptionName, g as assignLayersInteractively, gt as ChainHint, h as assignLayersByLongestPathToSink, ht as AnchorHint, i as getLayeredLayout, it as EdgeRoutingStyle, j as placeNodesInLayers, jt as LayoutScope, k as minimizeCrossingsWithMedian, kt as LayoutRequest, l as assignLayersWithStretchWidth, lt as toElkLayeredOptions, m as assignLayersByLongestPath, mt as elkLayeredOptionDefinitions, nt as CrossingMinimizationStrategy, ot as LayeringStrategy, p as assignLayersByDepthFirstModelOrder, pt as ElkLayeredOptionValueByName, q as LayerOrder, rt as CycleBreakingStrategy, st as NodePlacementStrategy, tt as NodeSize, u as assignLayersWithMinWidth, ut as elkLayeredEnumValues, v as breakCyclesByModelOrder, vt as LayoutHint, w as breakCyclesWithDepthFirstSearch, wt as LayoutDiagnostic, x as breakCyclesGreedily, xt as AnyGraph, y as breakCyclesByStronglyConnectedConnectivity, yt as hint, z as CompoundLayoutGeometry, zt as PinConstraint } from "./index-F1U-fCTu.mjs";
3
+ import { C as getPointAtLength, D as toSvgPath, E as roundCorners, O as applyRoutePatches, S as getPathLength, T as pathFromPoints, _ as routeToPoints, a as fanRouting, b as flattenPath, 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 routeToPolylines, w as getTangentAtLength, x as getPathBounds, y as FlattenPathOptions } from "./index-CJQLUKD9.mjs";
2
4
  import { LayoutOptions } from "@statelyai/graph/layout";
3
5
  import { Graph, GraphNode, VisualGraph } from "@statelyai/graph";
4
6
 
@@ -12,7 +14,6 @@ declare class UnsupportedLayoutError extends LayoutError {
12
14
  }
13
15
  //#endregion
14
16
  //#region src/box.d.ts
15
-
16
17
  interface BoxLayoutOptions extends Pick<LayoutOptions, "direction" | "measure"> {
17
18
  spacing?: number;
18
19
  padding?: number | Partial<LayoutPadding>;
@@ -74,4 +75,4 @@ declare function getLayoutAlgorithm(id: string): LayoutAlgorithm<unknown> | unde
74
75
  */
75
76
  declare function getLayout<N, E, G, P, O = unknown>(request: LayoutRequest<N, E, G, P, O>): Promise<LayoutResult<N, E, G, P>>;
76
77
  //#endregion
77
- export { type AcyclicOrientation, type AlignConstraint, type AnyGraph, type BoxLayoutOptions, type ConstraintStrength, type CrossingMinimizationStrategy, type CrossingMinimizer, type CycleBreaker, type CycleBreakingStrategy, type DistributeConstraint, type EdgeRouter, type EdgeRoutes, type EdgeRoutingStyle, type ElkLayeredOptionId, type ElkLayeredOptionName, type ElkLayeredOptionValueByName, type FixedLayoutOptions, type GeometryAttribute, type GeometryReference, type LayerAssigner, type LayerAssignment, type LayerOrder, type LayeredAdvancedOptions, type LayeredLayoutOptions, type LayeredPhaseInput, type LayeredSpacing, type LayeredStrategies, type LayeringStrategy, type LayoutAlgorithm, type LayoutCapabilities, type LayoutConstraint, type LayoutDiagnostic, type LayoutDirection, LayoutError, type LayoutExecutionContext, type LayoutMetrics, type LayoutPadding, type LayoutPhaseMetrics, type LayoutRequest, type LayoutResult, type LayoutScope, type LinearConstraint, type NodePlacement, type NodePlacementStrategy, type NodePlacer, type NodeSize, type PinConstraint, type RandomLayoutOptions, type RectanglePackingLayoutOptions, type SporeLayoutOptions, UnsupportedLayoutError, type WaypointConstraint, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, c, elkLayeredEnumValues, elkLayeredOptionDefinitions, fixedAlgorithm, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, toElkLayeredOptions };
78
+ export { type AcyclicOrientation, type AlignConstraint, type AnchorHint, type AnyGraph, type BoxLayoutOptions, type ChainHint, type CompoundEdgeAttachment, type CompoundLayoutGeometry, type CompoundLayoutOptions, type CompoundVisualGraph, type ConstraintStrength, type CrossingMinimizationStrategy, type CrossingMinimizer, type CycleBreaker, type CycleBreakingStrategy, type DistributeConstraint, type EdgeRouter, type EdgeRoutes, EdgeRoutingSettings, type EdgeRoutingStyle, type ElkLayeredOptionId, type ElkLayeredOptionName, type ElkLayeredOptionValueByName, type FixedLayoutOptions, FlattenPathOptions, type GeometryAttribute, type GeometryReference, type HintStrength, type LayerAssigner, type LayerAssignment, type LayerOrder, type LayeredAdvancedOptions, type LayeredLayoutOptions, type LayeredPhaseInput, type LayeredSpacing, type LayeredStrategies, type LayeringStrategy, type LayoutAlgorithm, type LayoutCapabilities, type LayoutConstraint, type LayoutDiagnostic, type LayoutDirection, LayoutError, type LayoutExecutionContext, type LayoutHint, type LayoutMetrics, type LayoutPadding, type LayoutPhaseMetrics, type LayoutRequest, type LayoutResult, type LayoutScope, type LinearConstraint, NativeRoutingStrategy, type NodePlacement, type NodePlacementStrategy, type NodePlacer, type NodeSize, type PinConstraint, type RandomLayoutOptions, type RectanglePackingLayoutOptions, Route, RouteAttachment, RouteBounds, RouteEndpoint, RoutePatch, RoutePath, RoutePoint, RouteSection, RouteSegment, RouteSide, RouteStyle, RoutingDiagnostic, RoutingDiagnosticCode, RoutingGraph, RoutingMetrics, RoutingSettings, RoutingSnapshot, RoutingStrategy, RoutingUpdate, type SporeLayoutOptions, UnsupportedLayoutError, type WaypointConstraint, applyRoutePatches, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, bezierRouting, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, bundleRouting, busRouting, c, curvedRouting, elkLayeredEnumValues, elkLayeredOptionDefinitions, fanRouting, fixedAlgorithm, flattenPath, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, getTangentAtLength, hint, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, placeNodesInLayers, placeNodesInteractively, polylineRouting, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, roundCorners, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, routeToGraphPatch, routeToPoints, routeToPolylines, routingStrategies, selfLoopRouting, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, statechartHints, straightRouting, toElkLayeredOptions, toSvgPath };
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import { A as minimizeCrossingsInteractively, C as breakCyclesGreedily, D as breakCyclesWithModelOrderBreadthFirstSearch, E as breakCyclesWithDepthFirstSearch, F as placeNodesInteractively, H as UnsupportedLayoutError, L as routeEdgesOrthogonally, M as minimizeCrossingsWithMedian, N as minimizeCrossingsWithModelOrder, O as breakCyclesWithModelOrderDepthFirstSearch, P as placeNodesInLayers, R as routeEdgesWithPolylines, S as breakCyclesByStronglyConnectedNodeType, T as breakCyclesInteractively, V as LayoutError, _ as assignLayersByLongestPathToSink, a as elkLayeredEnumValues, b as breakCyclesByModelOrder, d as assignLayersWithMinWidth, f as assignLayersWithNetworkSimplex, g as assignLayersByLongestPath, h as assignLayersByDepthFirstModelOrder, i as toElkLayeredOptions, j as minimizeCrossingsWithBarycenter, m as assignLayersByBreadthFirstModelOrder, n as layeredAlgorithm, o as elkLayeredOptionDefinitions, p as c, r as fromElkLayeredOptionId, t as getLayeredLayout, u as assignLayersWithStretchWidth, v as assignLayersInteractively, w as breakCyclesGreedilyByModelOrder, x as breakCyclesByStronglyConnectedConnectivity, y as assignLayersWithCoffmanGraham, z as routeEdgesWithSplines } from "./layered-Bz2nWmVp.mjs";
2
- import { _ as getFixedLayout, a as getSporeCompactionLayout, c as sporeOverlapRemovalAlgorithm, d as getRectanglePackingLayout, f as rectanglePackingAlgorithm, g as fixedAlgorithm, i as getBuiltInLayoutAlgorithm, l as getRandomLayout, m as getBoxLayout, o as getSporeOverlapRemovalLayout, p as boxAlgorithm, r as executeLayoutAlgorithm, s as sporeCompactionAlgorithm, t as builtInLayoutAlgorithms, u as randomAlgorithm } from "./layout-engine-WbC0YjjT.mjs";
1
+ import { C as getPointAtLength, D as toSvgPath, E as roundCorners, F as LayoutError, I as UnsupportedLayoutError, S as getPathLength, T as pathFromPoints, _ as routeToGraphPatch, a as fanRouting, b as flattenPath, c as orthogonalRouting, d as routingStrategies, f as selfLoopRouting, g as pathFromSplinePoints, h as getLayoutRoutes, i as curvedRouting, l as parallelRouting, m as applyRoutePatches, n as bundleRouting, o as octilinearRouting, p as straightRouting, r as busRouting, s as organicRouting, t as bezierRouting, u as polylineRouting, v as routeToPoints, w as getTangentAtLength, x as getPathBounds, y as routeToPolylines } from "./routing-CR8flv8b.mjs";
2
+ import { A as breakCyclesByStronglyConnectedNodeType, B as minimizeCrossingsWithBarycenter, C as assignLayersByDepthFirstModelOrder, D as assignLayersWithCoffmanGraham, E as assignLayersInteractively, F as breakCyclesWithModelOrderBreadthFirstSearch, H as minimizeCrossingsWithModelOrder, I as breakCyclesWithModelOrderDepthFirstSearch, J as routeEdgesWithSplines, K as routeEdgesOrthogonally, M as breakCyclesGreedilyByModelOrder, N as breakCyclesInteractively, O as breakCyclesByModelOrder, P as breakCyclesWithDepthFirstSearch, S as assignLayersByBreadthFirstModelOrder, T as assignLayersByLongestPathToSink, U as placeNodesInLayers, V as minimizeCrossingsWithMedian, W as placeNodesInteractively, Z as assignLayersWithNetworkSimplex, _ as statechartHints, a as fromElkLayeredOptionId, c as elkLayeredOptionDefinitions, f as assignLayersWithStretchWidth, g as hint, i as layeredAlgorithm, j as breakCyclesGreedily, k as breakCyclesByStronglyConnectedConnectivity, m as c, o as toElkLayeredOptions, p as assignLayersWithMinWidth, q as routeEdgesWithPolylines, r as getLayeredLayout, s as elkLayeredEnumValues, w as assignLayersByLongestPath, z as minimizeCrossingsInteractively } from "./layered-C7ERzZjR.mjs";
3
+ import { a as getSporeCompactionLayout, c as sporeOverlapRemovalAlgorithm, d as getRectanglePackingLayout, f as rectanglePackingAlgorithm, g as getFixedLayout, h as fixedAlgorithm, i as getBuiltInLayoutAlgorithm, l as getRandomLayout, m as getBoxLayout, o as getSporeOverlapRemovalLayout, p as boxAlgorithm, r as executeLayoutAlgorithm, s as sporeCompactionAlgorithm, t as builtInLayoutAlgorithms, u as randomAlgorithm } from "./layout-engine-DC3IYkIy.mjs";
3
4
  import { getGraphIssues } from "@statelyai/graph";
4
5
 
5
6
  //#region src/layout.ts
@@ -135,4 +136,4 @@ async function getLayout(request) {
135
136
  }
136
137
 
137
138
  //#endregion
138
- export { LayoutError, UnsupportedLayoutError, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, c, elkLayeredEnumValues, elkLayeredOptionDefinitions, fixedAlgorithm, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, toElkLayeredOptions };
139
+ export { LayoutError, UnsupportedLayoutError, applyRoutePatches, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, bezierRouting, boxAlgorithm, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, bundleRouting, busRouting, c, curvedRouting, elkLayeredEnumValues, elkLayeredOptionDefinitions, fanRouting, fixedAlgorithm, flattenPath, fromElkLayeredOptionId, getBoxLayout, getFixedLayout, getLayeredLayout, getLayout, getLayoutAlgorithm, getLayoutRoutes, getPathBounds, getPathLength, getPointAtLength, getRandomLayout, getRectanglePackingLayout, getSporeCompactionLayout, getSporeOverlapRemovalLayout, getTangentAtLength, hint, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, octilinearRouting, organicRouting, orthogonalRouting, parallelRouting, pathFromPoints, pathFromSplinePoints, placeNodesInLayers, placeNodesInteractively, polylineRouting, randomAlgorithm, rectanglePackingAlgorithm, registerLayoutAlgorithm, roundCorners, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, routeToGraphPatch, routeToPoints, routeToPolylines, routingStrategies, selfLoopRouting, sporeCompactionAlgorithm, sporeOverlapRemovalAlgorithm, statechartHints, straightRouting, toElkLayeredOptions, toSvgPath };
@@ -1,4 +1,4 @@
1
- const require_layered = require('../layered-Cf9Rn8l7.cjs');
1
+ const require_layered = require('../layered-CBPg6_6_.cjs');
2
2
 
3
3
  exports.assignLayersByBreadthFirstModelOrder = require_layered.assignLayersByBreadthFirstModelOrder;
4
4
  exports.assignLayersByDepthFirstModelOrder = require_layered.assignLayersByDepthFirstModelOrder;
@@ -18,8 +18,10 @@ exports.breakCyclesInteractively = require_layered.breakCyclesInteractively;
18
18
  exports.breakCyclesWithDepthFirstSearch = require_layered.breakCyclesWithDepthFirstSearch;
19
19
  exports.breakCyclesWithModelOrderBreadthFirstSearch = require_layered.breakCyclesWithModelOrderBreadthFirstSearch;
20
20
  exports.breakCyclesWithModelOrderDepthFirstSearch = require_layered.breakCyclesWithModelOrderDepthFirstSearch;
21
+ exports.createLayeredScopePipeline = require_layered.createLayeredScopePipeline;
21
22
  exports.elkLayeredEnumValues = require_layered.elkLayeredEnumValues;
22
23
  exports.elkLayeredOptionDefinitions = require_layered.elkLayeredOptionDefinitions;
24
+ exports.elkjs0111LayeredAlgorithm = require_layered.elkjs0111LayeredAlgorithm;
23
25
  exports.fromElkLayeredOptionId = require_layered.fromElkLayeredOptionId;
24
26
  exports.getLayeredLayout = require_layered.getLayeredLayout;
25
27
  exports.layeredAlgorithm = require_layered.layeredAlgorithm;
@@ -1,2 +1,3 @@
1
- import { $ as LayeringStrategy, A as routeEdgesOrthogonally, B as LayerOrder, C as breakCyclesWithModelOrderDepthFirstSearch, D as minimizeCrossingsWithModelOrder, E as minimizeCrossingsWithMedian, F as CycleBreaker, G as LayoutPadding, H as LayeredPhaseInput, I as EdgeRouter, J as NodeSize, K as NodePlacement, L as EdgeRoutes, M as routeEdgesWithSplines, N as AcyclicOrientation, O as placeNodesInLayers, P as CrossingMinimizer, Q as LayeredAdvancedOptions, R as LayerAssigner, S as breakCyclesWithModelOrderBreadthFirstSearch, T as minimizeCrossingsWithBarycenter, U as LayeredSpacing, V as LayeredLayoutOptions, W as LayeredStrategies, X as CycleBreakingStrategy, Y as CrossingMinimizationStrategy, Z as EdgeRoutingStyle, _ as breakCyclesByStronglyConnectedNodeType, a as placeNodesWithBrandesKoepf, at as ElkLayeredOptionName, b as breakCyclesInteractively, c as assignLayersWithNetworkSimplex, d as assignLayersByLongestPath, et as NodePlacementStrategy, f as assignLayersByLongestPathToSink, g as breakCyclesByStronglyConnectedConnectivity, h as breakCyclesByModelOrder, i as placeNodesWithLinearSegments, it as ElkLayeredOptionId, j as routeEdgesWithPolylines, k as placeNodesInteractively, l as assignLayersByBreadthFirstModelOrder, m as assignLayersWithCoffmanGraham, n as layeredAlgorithm, nt as toElkLayeredOptions, o as assignLayersWithStretchWidth, ot as ElkLayeredOptionValueByName, p as assignLayersInteractively, q as NodePlacer, r as placeNodesWithNetworkSimplex, rt as elkLayeredEnumValues, s as assignLayersWithMinWidth, st as elkLayeredOptionDefinitions, t as getLayeredLayout, tt as fromElkLayeredOptionId, u as assignLayersByDepthFirstModelOrder, v as breakCyclesGreedily, w as minimizeCrossingsInteractively, x as breakCyclesWithDepthFirstSearch, y as breakCyclesGreedilyByModelOrder, z as LayerAssignment } from "../index-CG712jzV.cjs";
2
- export { AcyclicOrientation, CrossingMinimizationStrategy, CrossingMinimizer, CycleBreaker, CycleBreakingStrategy, EdgeRouter, EdgeRoutes, EdgeRoutingStyle, ElkLayeredOptionId, ElkLayeredOptionName, ElkLayeredOptionValueByName, LayerAssigner, LayerAssignment, LayerOrder, LayeredAdvancedOptions, LayeredLayoutOptions, LayeredPhaseInput, LayeredSpacing, LayeredStrategies, LayeringStrategy, LayoutPadding, NodePlacement, NodePlacementStrategy, NodePlacer, NodeSize, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, elkLayeredEnumValues, elkLayeredOptionDefinitions, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };
1
+ import "../types-uxPlGRof.cjs";
2
+ import { $ as NodePlacement, A as minimizeCrossingsWithModelOrder, B as CompoundLayoutOptions, C as breakCyclesInteractively, D as minimizeCrossingsInteractively, E as breakCyclesWithModelOrderDepthFirstSearch, F as routeEdgesWithSplines, G as LayerAssigner, H as CycleBreaker, I as CompoundVisualGraph, J as LayeredLayoutOptions, K as LayerAssignment, L as AcyclicOrientation, M as placeNodesInteractively, N as routeEdgesOrthogonally, O as minimizeCrossingsWithBarycenter, P as routeEdgesWithPolylines, Q as LayoutPadding, R as CompoundEdgeAttachment, S as breakCyclesGreedilyByModelOrder, T as breakCyclesWithModelOrderBreadthFirstSearch, U as EdgeRouter, V as CrossingMinimizer, W as EdgeRoutes, X as LayeredSpacing, Y as LayeredPhaseInput, Z as LayeredStrategies, _ as assignLayersWithCoffmanGraham, a as layeredAlgorithm, at as LayeredAdvancedOptions, b as breakCyclesByStronglyConnectedNodeType, c as placeNodesWithBrandesKoepf, ct as fromElkLayeredOptionId, d as assignLayersWithNetworkSimplex, dt as ElkLayeredOptionId, et as NodePlacer, f as assignLayersByBreadthFirstModelOrder, ft as ElkLayeredOptionName, g as assignLayersInteractively, h as assignLayersByLongestPathToSink, i as getLayeredLayout, it as EdgeRoutingStyle, j as placeNodesInLayers, k as minimizeCrossingsWithMedian, l as assignLayersWithStretchWidth, lt as toElkLayeredOptions, m as assignLayersByLongestPath, mt as elkLayeredOptionDefinitions, n as createLayeredScopePipeline, nt as CrossingMinimizationStrategy, o as placeNodesWithNetworkSimplex, ot as LayeringStrategy, p as assignLayersByDepthFirstModelOrder, pt as ElkLayeredOptionValueByName, q as LayerOrder, r as elkjs0111LayeredAlgorithm, rt as CycleBreakingStrategy, s as placeNodesWithLinearSegments, st as NodePlacementStrategy, t as LayeredCrossingPhase, tt as NodeSize, u as assignLayersWithMinWidth, ut as elkLayeredEnumValues, v as breakCyclesByModelOrder, w as breakCyclesWithDepthFirstSearch, x as breakCyclesGreedily, y as breakCyclesByStronglyConnectedConnectivity, z as CompoundLayoutGeometry } from "../index-DT6lPMfS.cjs";
3
+ export { AcyclicOrientation, CompoundEdgeAttachment, CompoundLayoutGeometry, CompoundLayoutOptions, CompoundVisualGraph, CrossingMinimizationStrategy, CrossingMinimizer, CycleBreaker, CycleBreakingStrategy, EdgeRouter, EdgeRoutes, EdgeRoutingStyle, ElkLayeredOptionId, ElkLayeredOptionName, ElkLayeredOptionValueByName, LayerAssigner, LayerAssignment, LayerOrder, LayeredAdvancedOptions, LayeredCrossingPhase, LayeredLayoutOptions, LayeredPhaseInput, LayeredSpacing, LayeredStrategies, LayeringStrategy, LayoutPadding, NodePlacement, NodePlacementStrategy, NodePlacer, NodeSize, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, createLayeredScopePipeline, elkLayeredEnumValues, elkLayeredOptionDefinitions, elkjs0111LayeredAlgorithm, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };
@@ -1,2 +1,3 @@
1
- import { $ as LayeringStrategy, A as routeEdgesOrthogonally, B as LayerOrder, C as breakCyclesWithModelOrderDepthFirstSearch, D as minimizeCrossingsWithModelOrder, E as minimizeCrossingsWithMedian, F as CycleBreaker, G as LayoutPadding, H as LayeredPhaseInput, I as EdgeRouter, J as NodeSize, K as NodePlacement, L as EdgeRoutes, M as routeEdgesWithSplines, N as AcyclicOrientation, O as placeNodesInLayers, P as CrossingMinimizer, Q as LayeredAdvancedOptions, R as LayerAssigner, S as breakCyclesWithModelOrderBreadthFirstSearch, T as minimizeCrossingsWithBarycenter, U as LayeredSpacing, V as LayeredLayoutOptions, W as LayeredStrategies, X as CycleBreakingStrategy, Y as CrossingMinimizationStrategy, Z as EdgeRoutingStyle, _ as breakCyclesByStronglyConnectedNodeType, a as placeNodesWithBrandesKoepf, at as ElkLayeredOptionName, b as breakCyclesInteractively, c as assignLayersWithNetworkSimplex, d as assignLayersByLongestPath, et as NodePlacementStrategy, f as assignLayersByLongestPathToSink, g as breakCyclesByStronglyConnectedConnectivity, h as breakCyclesByModelOrder, i as placeNodesWithLinearSegments, it as ElkLayeredOptionId, j as routeEdgesWithPolylines, k as placeNodesInteractively, l as assignLayersByBreadthFirstModelOrder, m as assignLayersWithCoffmanGraham, n as layeredAlgorithm, nt as toElkLayeredOptions, o as assignLayersWithStretchWidth, ot as ElkLayeredOptionValueByName, p as assignLayersInteractively, q as NodePlacer, r as placeNodesWithNetworkSimplex, rt as elkLayeredEnumValues, s as assignLayersWithMinWidth, st as elkLayeredOptionDefinitions, t as getLayeredLayout, tt as fromElkLayeredOptionId, u as assignLayersByDepthFirstModelOrder, v as breakCyclesGreedily, w as minimizeCrossingsInteractively, x as breakCyclesWithDepthFirstSearch, y as breakCyclesGreedilyByModelOrder, z as LayerAssignment } from "../index-BSH2bloA.mjs";
2
- export { AcyclicOrientation, CrossingMinimizationStrategy, CrossingMinimizer, CycleBreaker, CycleBreakingStrategy, EdgeRouter, EdgeRoutes, EdgeRoutingStyle, ElkLayeredOptionId, ElkLayeredOptionName, ElkLayeredOptionValueByName, LayerAssigner, LayerAssignment, LayerOrder, LayeredAdvancedOptions, LayeredLayoutOptions, LayeredPhaseInput, LayeredSpacing, LayeredStrategies, LayeringStrategy, LayoutPadding, NodePlacement, NodePlacementStrategy, NodePlacer, NodeSize, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, elkLayeredEnumValues, elkLayeredOptionDefinitions, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };
1
+ import "../types-CT2akdK0.mjs";
2
+ import { $ as NodePlacement, A as minimizeCrossingsWithModelOrder, B as CompoundLayoutOptions, C as breakCyclesInteractively, D as minimizeCrossingsInteractively, E as breakCyclesWithModelOrderDepthFirstSearch, F as routeEdgesWithSplines, G as LayerAssigner, H as CycleBreaker, I as CompoundVisualGraph, J as LayeredLayoutOptions, K as LayerAssignment, L as AcyclicOrientation, M as placeNodesInteractively, N as routeEdgesOrthogonally, O as minimizeCrossingsWithBarycenter, P as routeEdgesWithPolylines, Q as LayoutPadding, R as CompoundEdgeAttachment, S as breakCyclesGreedilyByModelOrder, T as breakCyclesWithModelOrderBreadthFirstSearch, U as EdgeRouter, V as CrossingMinimizer, W as EdgeRoutes, X as LayeredSpacing, Y as LayeredPhaseInput, Z as LayeredStrategies, _ as assignLayersWithCoffmanGraham, a as layeredAlgorithm, at as LayeredAdvancedOptions, b as breakCyclesByStronglyConnectedNodeType, c as placeNodesWithBrandesKoepf, ct as fromElkLayeredOptionId, d as assignLayersWithNetworkSimplex, dt as ElkLayeredOptionId, et as NodePlacer, f as assignLayersByBreadthFirstModelOrder, ft as ElkLayeredOptionName, g as assignLayersInteractively, h as assignLayersByLongestPathToSink, i as getLayeredLayout, it as EdgeRoutingStyle, j as placeNodesInLayers, k as minimizeCrossingsWithMedian, l as assignLayersWithStretchWidth, lt as toElkLayeredOptions, m as assignLayersByLongestPath, mt as elkLayeredOptionDefinitions, n as createLayeredScopePipeline, nt as CrossingMinimizationStrategy, o as placeNodesWithNetworkSimplex, ot as LayeringStrategy, p as assignLayersByDepthFirstModelOrder, pt as ElkLayeredOptionValueByName, q as LayerOrder, r as elkjs0111LayeredAlgorithm, rt as CycleBreakingStrategy, s as placeNodesWithLinearSegments, st as NodePlacementStrategy, t as LayeredCrossingPhase, tt as NodeSize, u as assignLayersWithMinWidth, ut as elkLayeredEnumValues, v as breakCyclesByModelOrder, w as breakCyclesWithDepthFirstSearch, x as breakCyclesGreedily, y as breakCyclesByStronglyConnectedConnectivity, z as CompoundLayoutGeometry } from "../index-F1U-fCTu.mjs";
3
+ export { AcyclicOrientation, CompoundEdgeAttachment, CompoundLayoutGeometry, CompoundLayoutOptions, CompoundVisualGraph, CrossingMinimizationStrategy, CrossingMinimizer, CycleBreaker, CycleBreakingStrategy, EdgeRouter, EdgeRoutes, EdgeRoutingStyle, ElkLayeredOptionId, ElkLayeredOptionName, ElkLayeredOptionValueByName, LayerAssigner, LayerAssignment, LayerOrder, LayeredAdvancedOptions, LayeredCrossingPhase, LayeredLayoutOptions, LayeredPhaseInput, LayeredSpacing, LayeredStrategies, LayeringStrategy, LayoutPadding, NodePlacement, NodePlacementStrategy, NodePlacer, NodeSize, assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, createLayeredScopePipeline, elkLayeredEnumValues, elkLayeredOptionDefinitions, elkjs0111LayeredAlgorithm, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };
@@ -1,3 +1,3 @@
1
- import { A as minimizeCrossingsInteractively, C as breakCyclesGreedily, D as breakCyclesWithModelOrderBreadthFirstSearch, E as breakCyclesWithDepthFirstSearch, F as placeNodesInteractively, L as routeEdgesOrthogonally, M as minimizeCrossingsWithMedian, N as minimizeCrossingsWithModelOrder, O as breakCyclesWithModelOrderDepthFirstSearch, P as placeNodesInLayers, R as routeEdgesWithPolylines, S as breakCyclesByStronglyConnectedNodeType, T as breakCyclesInteractively, _ as assignLayersByLongestPathToSink, a as elkLayeredEnumValues, b as breakCyclesByModelOrder, c as placeNodesWithLinearSegments, d as assignLayersWithMinWidth, f as assignLayersWithNetworkSimplex, g as assignLayersByLongestPath, h as assignLayersByDepthFirstModelOrder, i as toElkLayeredOptions, j as minimizeCrossingsWithBarycenter, l as placeNodesWithBrandesKoepf, m as assignLayersByBreadthFirstModelOrder, n as layeredAlgorithm, o as elkLayeredOptionDefinitions, r as fromElkLayeredOptionId, s as placeNodesWithNetworkSimplex, t as getLayeredLayout, u as assignLayersWithStretchWidth, v as assignLayersInteractively, w as breakCyclesGreedilyByModelOrder, x as breakCyclesByStronglyConnectedConnectivity, y as assignLayersWithCoffmanGraham, z as routeEdgesWithSplines } from "../layered-Bz2nWmVp.mjs";
1
+ import { A as breakCyclesByStronglyConnectedNodeType, B as minimizeCrossingsWithBarycenter, C as assignLayersByDepthFirstModelOrder, D as assignLayersWithCoffmanGraham, E as assignLayersInteractively, F as breakCyclesWithModelOrderBreadthFirstSearch, H as minimizeCrossingsWithModelOrder, I as breakCyclesWithModelOrderDepthFirstSearch, J as routeEdgesWithSplines, K as routeEdgesOrthogonally, M as breakCyclesGreedilyByModelOrder, N as breakCyclesInteractively, O as breakCyclesByModelOrder, P as breakCyclesWithDepthFirstSearch, S as assignLayersByBreadthFirstModelOrder, T as assignLayersByLongestPathToSink, U as placeNodesInLayers, V as minimizeCrossingsWithMedian, W as placeNodesInteractively, Z as assignLayersWithNetworkSimplex, a as fromElkLayeredOptionId, c as elkLayeredOptionDefinitions, d as placeNodesWithBrandesKoepf, f as assignLayersWithStretchWidth, i as layeredAlgorithm, j as breakCyclesGreedily, k as breakCyclesByStronglyConnectedConnectivity, l as placeNodesWithNetworkSimplex, n as elkjs0111LayeredAlgorithm, o as toElkLayeredOptions, p as assignLayersWithMinWidth, q as routeEdgesWithPolylines, r as getLayeredLayout, s as elkLayeredEnumValues, t as createLayeredScopePipeline, u as placeNodesWithLinearSegments, w as assignLayersByLongestPath, z as minimizeCrossingsInteractively } from "../layered-C7ERzZjR.mjs";
2
2
 
3
- export { assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, elkLayeredEnumValues, elkLayeredOptionDefinitions, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };
3
+ export { assignLayersByBreadthFirstModelOrder, assignLayersByDepthFirstModelOrder, assignLayersByLongestPath, assignLayersByLongestPathToSink, assignLayersInteractively, assignLayersWithCoffmanGraham, assignLayersWithMinWidth, assignLayersWithNetworkSimplex, assignLayersWithStretchWidth, breakCyclesByModelOrder, breakCyclesByStronglyConnectedConnectivity, breakCyclesByStronglyConnectedNodeType, breakCyclesGreedily, breakCyclesGreedilyByModelOrder, breakCyclesInteractively, breakCyclesWithDepthFirstSearch, breakCyclesWithModelOrderBreadthFirstSearch, breakCyclesWithModelOrderDepthFirstSearch, createLayeredScopePipeline, elkLayeredEnumValues, elkLayeredOptionDefinitions, elkjs0111LayeredAlgorithm, fromElkLayeredOptionId, getLayeredLayout, layeredAlgorithm, minimizeCrossingsInteractively, minimizeCrossingsWithBarycenter, minimizeCrossingsWithMedian, minimizeCrossingsWithModelOrder, placeNodesInLayers, placeNodesInteractively, placeNodesWithBrandesKoepf, placeNodesWithLinearSegments, placeNodesWithNetworkSimplex, routeEdgesOrthogonally, routeEdgesWithPolylines, routeEdgesWithSplines, toElkLayeredOptions };