@statelyai/layout 0.0.0 → 0.0.1
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 +9 -1
- package/README.md +52 -25
- package/dist/elkjs/index.d.mts +3 -0
- package/dist/elkjs/index.mjs +901 -97
- package/dist/index-D2RodsZY.d.mts +1210 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/layered/index.d.mts +2 -2
- package/dist/layered/index.mjs +2 -2
- package/dist/layered-Dd868WZY.mjs +8632 -0
- package/dist/{spore-cihb_Aht.mjs → spore-fTgSoRLP.mjs} +1 -31
- package/package.json +45 -22
- package/dist/index-v0P1Ake8.d.mts +0 -149
- package/dist/layered-ByNCZQgJ.mjs +0 -439
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
import { LayoutConstraints } from "@statelyai/graph/layout";
|
|
2
|
+
import { EntityRect, Graph, GraphEdge, GraphNode, GraphPatch, GraphPort, Point, VisualGraph } from "@statelyai/graph";
|
|
3
|
+
|
|
4
|
+
//#region src/types.d.ts
|
|
5
|
+
type AnyGraph = Graph<unknown, unknown, unknown, unknown>;
|
|
6
|
+
type LayoutDirection = "up" | "down" | "left" | "right";
|
|
7
|
+
type LayoutScope = {
|
|
8
|
+
mode: "full";
|
|
9
|
+
} | {
|
|
10
|
+
mode: "incremental";
|
|
11
|
+
previous: VisualGraph;
|
|
12
|
+
} | {
|
|
13
|
+
mode: "partial";
|
|
14
|
+
previous: VisualGraph;
|
|
15
|
+
nodeIds: readonly string[];
|
|
16
|
+
} | {
|
|
17
|
+
mode: "route-only";
|
|
18
|
+
previous: VisualGraph;
|
|
19
|
+
edgeIds?: readonly string[];
|
|
20
|
+
};
|
|
21
|
+
interface LayoutDiagnostic {
|
|
22
|
+
severity: "info" | "warning" | "error";
|
|
23
|
+
code: string;
|
|
24
|
+
message: string;
|
|
25
|
+
entityIds?: readonly string[];
|
|
26
|
+
phase?: string;
|
|
27
|
+
}
|
|
28
|
+
interface LayoutPhaseMetrics {
|
|
29
|
+
id: string;
|
|
30
|
+
durationMs: number;
|
|
31
|
+
}
|
|
32
|
+
interface LayoutMetrics {
|
|
33
|
+
durationMs: number;
|
|
34
|
+
nodeCount: number;
|
|
35
|
+
edgeCount: number;
|
|
36
|
+
phases: readonly LayoutPhaseMetrics[];
|
|
37
|
+
}
|
|
38
|
+
interface LayoutCapabilities {
|
|
39
|
+
full: boolean;
|
|
40
|
+
incremental: boolean;
|
|
41
|
+
partial: boolean;
|
|
42
|
+
routeOnly: boolean;
|
|
43
|
+
hierarchy: boolean;
|
|
44
|
+
ports: boolean;
|
|
45
|
+
}
|
|
46
|
+
interface LayoutAlgorithm<Options = unknown> {
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly capabilities: LayoutCapabilities;
|
|
49
|
+
layout<N, E, G, P>(graph: Graph<N, E, G, P> | VisualGraph<N, E, G, P>, options: Options, context: LayoutExecutionContext): VisualGraph<N, E, G, P> | Promise<VisualGraph<N, E, G, P>>;
|
|
50
|
+
}
|
|
51
|
+
interface LayoutExecutionContext {
|
|
52
|
+
readonly scope: LayoutScope;
|
|
53
|
+
readonly signal?: AbortSignal;
|
|
54
|
+
readonly diagnostics: LayoutDiagnostic[];
|
|
55
|
+
measurePhase<T>(id: string, run: () => T): T;
|
|
56
|
+
throwIfAborted(): void;
|
|
57
|
+
}
|
|
58
|
+
interface LayoutRequest<N = unknown, E = unknown, G = unknown, P = unknown, O = unknown> {
|
|
59
|
+
graph: Graph<N, E, G, P> | VisualGraph<N, E, G, P>;
|
|
60
|
+
algorithm?: string | LayoutAlgorithm<O>;
|
|
61
|
+
options?: O;
|
|
62
|
+
scope?: LayoutScope;
|
|
63
|
+
signal?: AbortSignal;
|
|
64
|
+
}
|
|
65
|
+
interface LayoutResult<N = unknown, E = unknown, G = unknown, P = unknown> {
|
|
66
|
+
graph: VisualGraph<N, E, G, P>;
|
|
67
|
+
patches: readonly GraphPatch<N, E>[];
|
|
68
|
+
diagnostics: readonly LayoutDiagnostic[];
|
|
69
|
+
metrics: LayoutMetrics;
|
|
70
|
+
}
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/layered/elk-options.generated.d.ts
|
|
73
|
+
interface ElkLayeredOptionValueByName {
|
|
74
|
+
"spacing.commentComment"?: number;
|
|
75
|
+
"spacing.commentNode"?: number;
|
|
76
|
+
"spacing.componentComponent"?: number;
|
|
77
|
+
"spacing.edgeEdge"?: number;
|
|
78
|
+
"spacing.edgeLabel"?: number;
|
|
79
|
+
"spacing.edgeNode"?: number;
|
|
80
|
+
"spacing.labelLabel"?: number;
|
|
81
|
+
"spacing.labelPortHorizontal"?: number;
|
|
82
|
+
"spacing.labelPortVertical"?: number;
|
|
83
|
+
"spacing.labelNode"?: number;
|
|
84
|
+
"spacing.node"?: number;
|
|
85
|
+
"spacing.nodeSelfLoop"?: number;
|
|
86
|
+
"spacing.portPort"?: number;
|
|
87
|
+
"spacing.individual"?: unknown;
|
|
88
|
+
"spacing.baseValue"?: number;
|
|
89
|
+
"spacing.edgeEdgeBetweenLayers"?: number;
|
|
90
|
+
"spacing.edgeNodeBetweenLayers"?: number;
|
|
91
|
+
"spacing.layer"?: number;
|
|
92
|
+
"priority"?: number;
|
|
93
|
+
"priority.direction"?: number;
|
|
94
|
+
"priority.shortness"?: number;
|
|
95
|
+
"priority.straightness"?: number;
|
|
96
|
+
"wrapping.strategy"?: string;
|
|
97
|
+
"wrapping.additionalEdgeSpacing"?: number;
|
|
98
|
+
"wrapping.correctionFactor"?: number;
|
|
99
|
+
"wrapping.cutting.strategy"?: string;
|
|
100
|
+
"wrapping.cutting.cuts"?: unknown;
|
|
101
|
+
"wrapping.cutting.msd.freedom"?: number;
|
|
102
|
+
"wrapping.validify.strategy"?: string;
|
|
103
|
+
"wrapping.validify.forbiddenIndices"?: unknown;
|
|
104
|
+
"wrapping.multiEdge.improveCuts"?: boolean;
|
|
105
|
+
"wrapping.multiEdge.distancePenalty"?: number;
|
|
106
|
+
"wrapping.multiEdge.improveWrappedEdges"?: boolean;
|
|
107
|
+
"layerUnzipping.strategy"?: string;
|
|
108
|
+
"layerUnzipping.minimizeEdgeLength"?: boolean;
|
|
109
|
+
"layerUnzipping.layerSplit"?: number;
|
|
110
|
+
"layerUnzipping.resetOnLongEdges"?: boolean;
|
|
111
|
+
"nodePlacement.networkSimplex.nodeFlexibility"?: string;
|
|
112
|
+
"nodePlacement.networkSimplex.nodeFlexibility.default"?: string;
|
|
113
|
+
"edgeRouting.splines.mode"?: string;
|
|
114
|
+
"edgeRouting.splines.sloppy.layerSpacingFactor"?: number;
|
|
115
|
+
"topdownLayout"?: boolean;
|
|
116
|
+
"topdown.scaleFactor"?: number;
|
|
117
|
+
"topdown.hierarchicalNodeWidth"?: number;
|
|
118
|
+
"topdown.hierarchicalNodeAspectRatio"?: number;
|
|
119
|
+
"topdown.nodeType"?: string;
|
|
120
|
+
"padding"?: unknown;
|
|
121
|
+
"edgeRouting"?: string;
|
|
122
|
+
"port.borderOffset"?: number;
|
|
123
|
+
"randomSeed"?: number;
|
|
124
|
+
"aspectRatio"?: number;
|
|
125
|
+
"noLayout"?: boolean;
|
|
126
|
+
"portConstraints"?: string;
|
|
127
|
+
"port.side"?: string;
|
|
128
|
+
"debugMode"?: boolean;
|
|
129
|
+
"alignment"?: string;
|
|
130
|
+
"hierarchyHandling"?: string;
|
|
131
|
+
"separateConnectedComponents"?: boolean;
|
|
132
|
+
"insideSelfLoops.activate"?: boolean;
|
|
133
|
+
"insideSelfLoops.yo"?: boolean;
|
|
134
|
+
"nodeSize.constraints"?: string;
|
|
135
|
+
"nodeSize.options"?: string;
|
|
136
|
+
"nodeSize.fixedGraphSize"?: boolean;
|
|
137
|
+
"direction"?: string;
|
|
138
|
+
"nodeLabels.placement"?: string;
|
|
139
|
+
"nodeLabels.padding"?: unknown;
|
|
140
|
+
"portLabels.placement"?: string;
|
|
141
|
+
"portLabels.nextToPortIfPossible"?: boolean;
|
|
142
|
+
"portLabels.treatAsGroup"?: boolean;
|
|
143
|
+
"portAlignment.default"?: string;
|
|
144
|
+
"portAlignment.north"?: string;
|
|
145
|
+
"portAlignment.south"?: string;
|
|
146
|
+
"portAlignment.west"?: string;
|
|
147
|
+
"portAlignment.east"?: string;
|
|
148
|
+
"unnecessaryBendpoints"?: boolean;
|
|
149
|
+
"layering.strategy"?: string;
|
|
150
|
+
"layering.nodePromotion.strategy"?: string;
|
|
151
|
+
"thoroughness"?: number;
|
|
152
|
+
"layering.layerConstraint"?: string;
|
|
153
|
+
"cycleBreaking.strategy"?: string;
|
|
154
|
+
"crossingMinimization.strategy"?: string;
|
|
155
|
+
"crossingMinimization.forceNodeModelOrder"?: boolean;
|
|
156
|
+
"crossingMinimization.greedySwitch.activationThreshold"?: number;
|
|
157
|
+
"crossingMinimization.greedySwitch.type"?: string;
|
|
158
|
+
"crossingMinimization.greedySwitchHierarchical.type"?: string;
|
|
159
|
+
"crossingMinimization.semiInteractive"?: boolean;
|
|
160
|
+
"mergeEdges"?: boolean;
|
|
161
|
+
"mergeHierarchyEdges"?: boolean;
|
|
162
|
+
"interactiveReferencePoint"?: string;
|
|
163
|
+
"nodePlacement.strategy"?: string;
|
|
164
|
+
"nodePlacement.bk.fixedAlignment"?: string;
|
|
165
|
+
"feedbackEdges"?: boolean;
|
|
166
|
+
"nodePlacement.linearSegments.deflectionDampening"?: number;
|
|
167
|
+
"edgeRouting.selfLoopDistribution"?: string;
|
|
168
|
+
"edgeRouting.selfLoopOrdering"?: string;
|
|
169
|
+
"contentAlignment"?: string;
|
|
170
|
+
"nodePlacement.bk.edgeStraightening"?: string;
|
|
171
|
+
"compaction.postCompaction.strategy"?: string;
|
|
172
|
+
"compaction.postCompaction.constraints"?: string;
|
|
173
|
+
"compaction.connectedComponents"?: boolean;
|
|
174
|
+
"highDegreeNodes.treatment"?: boolean;
|
|
175
|
+
"highDegreeNodes.threshold"?: number;
|
|
176
|
+
"highDegreeNodes.treeHeight"?: number;
|
|
177
|
+
"nodeSize.minimum"?: unknown;
|
|
178
|
+
"junctionPoints"?: unknown;
|
|
179
|
+
"edge.thickness"?: number;
|
|
180
|
+
"edgeLabels.placement"?: string;
|
|
181
|
+
"edgeLabels.inline"?: boolean;
|
|
182
|
+
"crossingMinimization.hierarchicalSweepiness"?: number;
|
|
183
|
+
"port.index"?: number;
|
|
184
|
+
"commentBox"?: boolean;
|
|
185
|
+
"hypernode"?: boolean;
|
|
186
|
+
"port.anchor"?: unknown;
|
|
187
|
+
"partitioning.activate"?: boolean;
|
|
188
|
+
"partitioning.partition"?: number;
|
|
189
|
+
"layering.minWidth.upperBoundOnWidth"?: number;
|
|
190
|
+
"layering.minWidth.upperLayerEstimationScalingFactor"?: number;
|
|
191
|
+
"position"?: unknown;
|
|
192
|
+
"allowNonFlowPortsToSwitchSides"?: boolean;
|
|
193
|
+
"layering.nodePromotion.maxIterations"?: number;
|
|
194
|
+
"edgeLabels.sideSelection"?: string;
|
|
195
|
+
"edgeLabels.centerLabelPlacementStrategy"?: string;
|
|
196
|
+
"margins"?: unknown;
|
|
197
|
+
"layering.coffmanGraham.layerBound"?: number;
|
|
198
|
+
"nodePlacement.favorStraightEdges"?: boolean;
|
|
199
|
+
"spacing.portsSurrounding"?: unknown;
|
|
200
|
+
"directionCongruency"?: string;
|
|
201
|
+
"portSortingStrategy"?: string;
|
|
202
|
+
"edgeRouting.polyline.slopedEdgeZoneWidth"?: number;
|
|
203
|
+
"crossingMinimization.inLayerPredOf"?: string;
|
|
204
|
+
"crossingMinimization.inLayerSuccOf"?: string;
|
|
205
|
+
"layering.layerChoiceConstraint"?: number;
|
|
206
|
+
"crossingMinimization.positionChoiceConstraint"?: number;
|
|
207
|
+
"interactiveLayout"?: boolean;
|
|
208
|
+
"layering.layerId"?: number;
|
|
209
|
+
"crossingMinimization.positionId"?: number;
|
|
210
|
+
"considerModelOrder.strategy"?: string;
|
|
211
|
+
"considerModelOrder.longEdgeStrategy"?: string;
|
|
212
|
+
"considerModelOrder.crossingCounterNodeInfluence"?: number;
|
|
213
|
+
"considerModelOrder.crossingCounterPortInfluence"?: number;
|
|
214
|
+
"considerModelOrder.noModelOrder"?: boolean;
|
|
215
|
+
"considerModelOrder.components"?: string;
|
|
216
|
+
"considerModelOrder.portModelOrder"?: boolean;
|
|
217
|
+
"considerModelOrder.groupModelOrder.cycleBreakingId"?: number;
|
|
218
|
+
"considerModelOrder.groupModelOrder.crossingMinimizationId"?: number;
|
|
219
|
+
"considerModelOrder.groupModelOrder.componentGroupId"?: number;
|
|
220
|
+
"considerModelOrder.groupModelOrder.cbGroupOrderStrategy"?: string;
|
|
221
|
+
"considerModelOrder.groupModelOrder.cmGroupOrderStrategy"?: string;
|
|
222
|
+
"considerModelOrder.groupModelOrder.cmEnforcedGroupOrders"?: unknown;
|
|
223
|
+
"considerModelOrder.groupModelOrder.cbPreferredSourceId"?: number;
|
|
224
|
+
"considerModelOrder.groupModelOrder.cbPreferredTargetId"?: number;
|
|
225
|
+
"generatePositionAndLayerIds"?: boolean;
|
|
226
|
+
}
|
|
227
|
+
declare const elkLayeredOptionDefinitions: readonly [{
|
|
228
|
+
readonly name: "spacing.commentComment";
|
|
229
|
+
readonly elkId: "org.eclipse.elk.spacing.commentComment";
|
|
230
|
+
readonly type: "DOUBLE";
|
|
231
|
+
readonly targets: readonly ["PARENTS"];
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "spacing.commentNode";
|
|
234
|
+
readonly elkId: "org.eclipse.elk.spacing.commentNode";
|
|
235
|
+
readonly type: "DOUBLE";
|
|
236
|
+
readonly targets: readonly ["PARENTS"];
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: "spacing.componentComponent";
|
|
239
|
+
readonly elkId: "org.eclipse.elk.spacing.componentComponent";
|
|
240
|
+
readonly type: "DOUBLE";
|
|
241
|
+
readonly targets: readonly ["PARENTS"];
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "spacing.edgeEdge";
|
|
244
|
+
readonly elkId: "org.eclipse.elk.spacing.edgeEdge";
|
|
245
|
+
readonly type: "DOUBLE";
|
|
246
|
+
readonly targets: readonly ["PARENTS"];
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "spacing.edgeLabel";
|
|
249
|
+
readonly elkId: "org.eclipse.elk.spacing.edgeLabel";
|
|
250
|
+
readonly type: "DOUBLE";
|
|
251
|
+
readonly targets: readonly ["PARENTS"];
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "spacing.edgeNode";
|
|
254
|
+
readonly elkId: "org.eclipse.elk.spacing.edgeNode";
|
|
255
|
+
readonly type: "DOUBLE";
|
|
256
|
+
readonly targets: readonly ["PARENTS"];
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: "spacing.labelLabel";
|
|
259
|
+
readonly elkId: "org.eclipse.elk.spacing.labelLabel";
|
|
260
|
+
readonly type: "DOUBLE";
|
|
261
|
+
readonly targets: readonly ["PARENTS"];
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: "spacing.labelPortHorizontal";
|
|
264
|
+
readonly elkId: "org.eclipse.elk.spacing.labelPortHorizontal";
|
|
265
|
+
readonly type: "DOUBLE";
|
|
266
|
+
readonly targets: readonly ["PARENTS"];
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "spacing.labelPortVertical";
|
|
269
|
+
readonly elkId: "org.eclipse.elk.spacing.labelPortVertical";
|
|
270
|
+
readonly type: "DOUBLE";
|
|
271
|
+
readonly targets: readonly ["PARENTS"];
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "spacing.labelNode";
|
|
274
|
+
readonly elkId: "org.eclipse.elk.spacing.labelNode";
|
|
275
|
+
readonly type: "DOUBLE";
|
|
276
|
+
readonly targets: readonly ["PARENTS"];
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "spacing.node";
|
|
279
|
+
readonly elkId: "org.eclipse.elk.spacing.nodeNode";
|
|
280
|
+
readonly type: "DOUBLE";
|
|
281
|
+
readonly targets: readonly ["PARENTS"];
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "spacing.nodeSelfLoop";
|
|
284
|
+
readonly elkId: "org.eclipse.elk.spacing.nodeSelfLoop";
|
|
285
|
+
readonly type: "DOUBLE";
|
|
286
|
+
readonly targets: readonly ["PARENTS"];
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "spacing.portPort";
|
|
289
|
+
readonly elkId: "org.eclipse.elk.spacing.portPort";
|
|
290
|
+
readonly type: "DOUBLE";
|
|
291
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "spacing.individual";
|
|
294
|
+
readonly elkId: "org.eclipse.elk.spacing.individual";
|
|
295
|
+
readonly type: "OBJECT";
|
|
296
|
+
readonly targets: readonly ["NODES", "EDGES", "PORTS", "LABELS"];
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "spacing.baseValue";
|
|
299
|
+
readonly elkId: "org.eclipse.elk.layered.spacing.baseValue";
|
|
300
|
+
readonly type: "DOUBLE";
|
|
301
|
+
readonly targets: readonly ["PARENTS"];
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "spacing.edgeEdgeBetweenLayers";
|
|
304
|
+
readonly elkId: "org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers";
|
|
305
|
+
readonly type: "DOUBLE";
|
|
306
|
+
readonly targets: readonly ["PARENTS"];
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "spacing.edgeNodeBetweenLayers";
|
|
309
|
+
readonly elkId: "org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers";
|
|
310
|
+
readonly type: "DOUBLE";
|
|
311
|
+
readonly targets: readonly ["PARENTS"];
|
|
312
|
+
}, {
|
|
313
|
+
readonly name: "spacing.layer";
|
|
314
|
+
readonly elkId: "org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers";
|
|
315
|
+
readonly type: "DOUBLE";
|
|
316
|
+
readonly targets: readonly ["PARENTS"];
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "priority";
|
|
319
|
+
readonly elkId: "org.eclipse.elk.priority";
|
|
320
|
+
readonly type: "INT";
|
|
321
|
+
readonly targets: readonly ["NODES", "EDGES"];
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "priority.direction";
|
|
324
|
+
readonly elkId: "org.eclipse.elk.layered.priority.direction";
|
|
325
|
+
readonly type: "INT";
|
|
326
|
+
readonly targets: readonly ["EDGES"];
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "priority.shortness";
|
|
329
|
+
readonly elkId: "org.eclipse.elk.layered.priority.shortness";
|
|
330
|
+
readonly type: "INT";
|
|
331
|
+
readonly targets: readonly ["EDGES"];
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "priority.straightness";
|
|
334
|
+
readonly elkId: "org.eclipse.elk.layered.priority.straightness";
|
|
335
|
+
readonly type: "INT";
|
|
336
|
+
readonly targets: readonly ["EDGES"];
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "wrapping.strategy";
|
|
339
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.strategy";
|
|
340
|
+
readonly type: "ENUM";
|
|
341
|
+
readonly targets: readonly ["PARENTS"];
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "wrapping.additionalEdgeSpacing";
|
|
344
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.additionalEdgeSpacing";
|
|
345
|
+
readonly type: "DOUBLE";
|
|
346
|
+
readonly targets: readonly ["PARENTS"];
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "wrapping.correctionFactor";
|
|
349
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.correctionFactor";
|
|
350
|
+
readonly type: "DOUBLE";
|
|
351
|
+
readonly targets: readonly ["PARENTS"];
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "wrapping.cutting.strategy";
|
|
354
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.cutting.strategy";
|
|
355
|
+
readonly type: "ENUM";
|
|
356
|
+
readonly targets: readonly ["PARENTS"];
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "wrapping.cutting.cuts";
|
|
359
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.cutting.cuts";
|
|
360
|
+
readonly type: "OBJECT";
|
|
361
|
+
readonly targets: readonly ["PARENTS"];
|
|
362
|
+
}, {
|
|
363
|
+
readonly name: "wrapping.cutting.msd.freedom";
|
|
364
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.cutting.msd.freedom";
|
|
365
|
+
readonly type: "INT";
|
|
366
|
+
readonly targets: readonly ["PARENTS"];
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "wrapping.validify.strategy";
|
|
369
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.validify.strategy";
|
|
370
|
+
readonly type: "ENUM";
|
|
371
|
+
readonly targets: readonly ["PARENTS"];
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "wrapping.validify.forbiddenIndices";
|
|
374
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.validify.forbiddenIndices";
|
|
375
|
+
readonly type: "OBJECT";
|
|
376
|
+
readonly targets: readonly ["PARENTS"];
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "wrapping.multiEdge.improveCuts";
|
|
379
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.multiEdge.improveCuts";
|
|
380
|
+
readonly type: "BOOLEAN";
|
|
381
|
+
readonly targets: readonly ["PARENTS"];
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "wrapping.multiEdge.distancePenalty";
|
|
384
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty";
|
|
385
|
+
readonly type: "DOUBLE";
|
|
386
|
+
readonly targets: readonly ["PARENTS"];
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "wrapping.multiEdge.improveWrappedEdges";
|
|
389
|
+
readonly elkId: "org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges";
|
|
390
|
+
readonly type: "BOOLEAN";
|
|
391
|
+
readonly targets: readonly ["PARENTS"];
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "layerUnzipping.strategy";
|
|
394
|
+
readonly elkId: "org.eclipse.elk.layered.layerUnzipping.strategy";
|
|
395
|
+
readonly type: "ENUM";
|
|
396
|
+
readonly targets: readonly ["PARENTS"];
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "layerUnzipping.minimizeEdgeLength";
|
|
399
|
+
readonly elkId: "org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength";
|
|
400
|
+
readonly type: "BOOLEAN";
|
|
401
|
+
readonly targets: readonly ["NODES"];
|
|
402
|
+
}, {
|
|
403
|
+
readonly name: "layerUnzipping.layerSplit";
|
|
404
|
+
readonly elkId: "org.eclipse.elk.layered.layerUnzipping.layerSplit";
|
|
405
|
+
readonly type: "INT";
|
|
406
|
+
readonly targets: readonly ["NODES"];
|
|
407
|
+
}, {
|
|
408
|
+
readonly name: "layerUnzipping.resetOnLongEdges";
|
|
409
|
+
readonly elkId: "org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges";
|
|
410
|
+
readonly type: "BOOLEAN";
|
|
411
|
+
readonly targets: readonly ["NODES"];
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "nodePlacement.networkSimplex.nodeFlexibility";
|
|
414
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility";
|
|
415
|
+
readonly type: "ENUM";
|
|
416
|
+
readonly targets: readonly ["NODES"];
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "nodePlacement.networkSimplex.nodeFlexibility.default";
|
|
419
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default";
|
|
420
|
+
readonly type: "ENUM";
|
|
421
|
+
readonly targets: readonly ["PARENTS"];
|
|
422
|
+
}, {
|
|
423
|
+
readonly name: "edgeRouting.splines.mode";
|
|
424
|
+
readonly elkId: "org.eclipse.elk.layered.edgeRouting.splines.mode";
|
|
425
|
+
readonly type: "ENUM";
|
|
426
|
+
readonly targets: readonly ["PARENTS"];
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "edgeRouting.splines.sloppy.layerSpacingFactor";
|
|
429
|
+
readonly elkId: "org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor";
|
|
430
|
+
readonly type: "DOUBLE";
|
|
431
|
+
readonly targets: readonly ["PARENTS"];
|
|
432
|
+
}, {
|
|
433
|
+
readonly name: "topdownLayout";
|
|
434
|
+
readonly elkId: "org.eclipse.elk.topdownLayout";
|
|
435
|
+
readonly type: "BOOLEAN";
|
|
436
|
+
readonly targets: readonly ["PARENTS"];
|
|
437
|
+
}, {
|
|
438
|
+
readonly name: "topdown.scaleFactor";
|
|
439
|
+
readonly elkId: "org.eclipse.elk.topdown.scaleFactor";
|
|
440
|
+
readonly type: "DOUBLE";
|
|
441
|
+
readonly targets: readonly ["PARENTS"];
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "topdown.hierarchicalNodeWidth";
|
|
444
|
+
readonly elkId: "org.eclipse.elk.topdown.hierarchicalNodeWidth";
|
|
445
|
+
readonly type: "DOUBLE";
|
|
446
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "topdown.hierarchicalNodeAspectRatio";
|
|
449
|
+
readonly elkId: "org.eclipse.elk.topdown.hierarchicalNodeAspectRatio";
|
|
450
|
+
readonly type: "DOUBLE";
|
|
451
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "topdown.nodeType";
|
|
454
|
+
readonly elkId: "org.eclipse.elk.topdown.nodeType";
|
|
455
|
+
readonly type: "ENUM";
|
|
456
|
+
readonly targets: readonly ["NODES"];
|
|
457
|
+
}, {
|
|
458
|
+
readonly name: "padding";
|
|
459
|
+
readonly elkId: "org.eclipse.elk.padding";
|
|
460
|
+
readonly type: "OBJECT";
|
|
461
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "edgeRouting";
|
|
464
|
+
readonly elkId: "org.eclipse.elk.edgeRouting";
|
|
465
|
+
readonly type: "ENUM";
|
|
466
|
+
readonly targets: readonly ["PARENTS"];
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "port.borderOffset";
|
|
469
|
+
readonly elkId: "org.eclipse.elk.port.borderOffset";
|
|
470
|
+
readonly type: "DOUBLE";
|
|
471
|
+
readonly targets: readonly ["PORTS"];
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "randomSeed";
|
|
474
|
+
readonly elkId: "org.eclipse.elk.randomSeed";
|
|
475
|
+
readonly type: "INT";
|
|
476
|
+
readonly targets: readonly ["PARENTS"];
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "aspectRatio";
|
|
479
|
+
readonly elkId: "org.eclipse.elk.aspectRatio";
|
|
480
|
+
readonly type: "DOUBLE";
|
|
481
|
+
readonly targets: readonly ["PARENTS"];
|
|
482
|
+
}, {
|
|
483
|
+
readonly name: "noLayout";
|
|
484
|
+
readonly elkId: "org.eclipse.elk.noLayout";
|
|
485
|
+
readonly type: "BOOLEAN";
|
|
486
|
+
readonly targets: readonly ["NODES", "EDGES", "PORTS", "LABELS"];
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "portConstraints";
|
|
489
|
+
readonly elkId: "org.eclipse.elk.portConstraints";
|
|
490
|
+
readonly type: "ENUM";
|
|
491
|
+
readonly targets: readonly ["NODES"];
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "port.side";
|
|
494
|
+
readonly elkId: "org.eclipse.elk.port.side";
|
|
495
|
+
readonly type: "ENUM";
|
|
496
|
+
readonly targets: readonly ["PORTS"];
|
|
497
|
+
}, {
|
|
498
|
+
readonly name: "debugMode";
|
|
499
|
+
readonly elkId: "org.eclipse.elk.debugMode";
|
|
500
|
+
readonly type: "BOOLEAN";
|
|
501
|
+
readonly targets: readonly ["PARENTS"];
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "alignment";
|
|
504
|
+
readonly elkId: "org.eclipse.elk.alignment";
|
|
505
|
+
readonly type: "ENUM";
|
|
506
|
+
readonly targets: readonly ["NODES"];
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: "hierarchyHandling";
|
|
509
|
+
readonly elkId: "org.eclipse.elk.hierarchyHandling";
|
|
510
|
+
readonly type: "ENUM";
|
|
511
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: "separateConnectedComponents";
|
|
514
|
+
readonly elkId: "org.eclipse.elk.separateConnectedComponents";
|
|
515
|
+
readonly type: "BOOLEAN";
|
|
516
|
+
readonly targets: readonly ["PARENTS"];
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "insideSelfLoops.activate";
|
|
519
|
+
readonly elkId: "org.eclipse.elk.insideSelfLoops.activate";
|
|
520
|
+
readonly type: "BOOLEAN";
|
|
521
|
+
readonly targets: readonly ["NODES"];
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "insideSelfLoops.yo";
|
|
524
|
+
readonly elkId: "org.eclipse.elk.insideSelfLoops.yo";
|
|
525
|
+
readonly type: "BOOLEAN";
|
|
526
|
+
readonly targets: readonly ["EDGES"];
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "nodeSize.constraints";
|
|
529
|
+
readonly elkId: "org.eclipse.elk.nodeSize.constraints";
|
|
530
|
+
readonly type: "ENUMSET";
|
|
531
|
+
readonly targets: readonly ["NODES"];
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: "nodeSize.options";
|
|
534
|
+
readonly elkId: "org.eclipse.elk.nodeSize.options";
|
|
535
|
+
readonly type: "ENUMSET";
|
|
536
|
+
readonly targets: readonly ["NODES"];
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "nodeSize.fixedGraphSize";
|
|
539
|
+
readonly elkId: "org.eclipse.elk.nodeSize.fixedGraphSize";
|
|
540
|
+
readonly type: "BOOLEAN";
|
|
541
|
+
readonly targets: readonly ["PARENTS"];
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: "direction";
|
|
544
|
+
readonly elkId: "org.eclipse.elk.direction";
|
|
545
|
+
readonly type: "ENUM";
|
|
546
|
+
readonly targets: readonly ["PARENTS"];
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "nodeLabels.placement";
|
|
549
|
+
readonly elkId: "org.eclipse.elk.nodeLabels.placement";
|
|
550
|
+
readonly type: "ENUMSET";
|
|
551
|
+
readonly targets: readonly ["NODES", "LABELS"];
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: "nodeLabels.padding";
|
|
554
|
+
readonly elkId: "org.eclipse.elk.nodeLabels.padding";
|
|
555
|
+
readonly type: "OBJECT";
|
|
556
|
+
readonly targets: readonly ["PARENTS"];
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: "portLabels.placement";
|
|
559
|
+
readonly elkId: "org.eclipse.elk.portLabels.placement";
|
|
560
|
+
readonly type: "ENUMSET";
|
|
561
|
+
readonly targets: readonly ["NODES"];
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: "portLabels.nextToPortIfPossible";
|
|
564
|
+
readonly elkId: "org.eclipse.elk.portLabels.nextToPortIfPossible";
|
|
565
|
+
readonly type: "BOOLEAN";
|
|
566
|
+
readonly targets: readonly ["NODES"];
|
|
567
|
+
}, {
|
|
568
|
+
readonly name: "portLabels.treatAsGroup";
|
|
569
|
+
readonly elkId: "org.eclipse.elk.portLabels.treatAsGroup";
|
|
570
|
+
readonly type: "BOOLEAN";
|
|
571
|
+
readonly targets: readonly ["NODES"];
|
|
572
|
+
}, {
|
|
573
|
+
readonly name: "portAlignment.default";
|
|
574
|
+
readonly elkId: "org.eclipse.elk.portAlignment.default";
|
|
575
|
+
readonly type: "ENUM";
|
|
576
|
+
readonly targets: readonly ["NODES"];
|
|
577
|
+
}, {
|
|
578
|
+
readonly name: "portAlignment.north";
|
|
579
|
+
readonly elkId: "org.eclipse.elk.portAlignment.north";
|
|
580
|
+
readonly type: "ENUM";
|
|
581
|
+
readonly targets: readonly ["NODES"];
|
|
582
|
+
}, {
|
|
583
|
+
readonly name: "portAlignment.south";
|
|
584
|
+
readonly elkId: "org.eclipse.elk.portAlignment.south";
|
|
585
|
+
readonly type: "ENUM";
|
|
586
|
+
readonly targets: readonly ["NODES"];
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "portAlignment.west";
|
|
589
|
+
readonly elkId: "org.eclipse.elk.portAlignment.west";
|
|
590
|
+
readonly type: "ENUM";
|
|
591
|
+
readonly targets: readonly ["NODES"];
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: "portAlignment.east";
|
|
594
|
+
readonly elkId: "org.eclipse.elk.portAlignment.east";
|
|
595
|
+
readonly type: "ENUM";
|
|
596
|
+
readonly targets: readonly ["NODES"];
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: "unnecessaryBendpoints";
|
|
599
|
+
readonly elkId: "org.eclipse.elk.layered.unnecessaryBendpoints";
|
|
600
|
+
readonly type: "BOOLEAN";
|
|
601
|
+
readonly targets: readonly ["PARENTS"];
|
|
602
|
+
}, {
|
|
603
|
+
readonly name: "layering.strategy";
|
|
604
|
+
readonly elkId: "org.eclipse.elk.layered.layering.strategy";
|
|
605
|
+
readonly type: "ENUM";
|
|
606
|
+
readonly targets: readonly ["PARENTS"];
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "layering.nodePromotion.strategy";
|
|
609
|
+
readonly elkId: "org.eclipse.elk.layered.layering.nodePromotion.strategy";
|
|
610
|
+
readonly type: "ENUM";
|
|
611
|
+
readonly targets: readonly ["PARENTS"];
|
|
612
|
+
}, {
|
|
613
|
+
readonly name: "thoroughness";
|
|
614
|
+
readonly elkId: "org.eclipse.elk.layered.thoroughness";
|
|
615
|
+
readonly type: "INT";
|
|
616
|
+
readonly targets: readonly ["PARENTS"];
|
|
617
|
+
}, {
|
|
618
|
+
readonly name: "layering.layerConstraint";
|
|
619
|
+
readonly elkId: "org.eclipse.elk.layered.layering.layerConstraint";
|
|
620
|
+
readonly type: "ENUM";
|
|
621
|
+
readonly targets: readonly ["NODES"];
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "cycleBreaking.strategy";
|
|
624
|
+
readonly elkId: "org.eclipse.elk.layered.cycleBreaking.strategy";
|
|
625
|
+
readonly type: "ENUM";
|
|
626
|
+
readonly targets: readonly ["PARENTS"];
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "crossingMinimization.strategy";
|
|
629
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.strategy";
|
|
630
|
+
readonly type: "ENUM";
|
|
631
|
+
readonly targets: readonly ["PARENTS"];
|
|
632
|
+
}, {
|
|
633
|
+
readonly name: "crossingMinimization.forceNodeModelOrder";
|
|
634
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder";
|
|
635
|
+
readonly type: "BOOLEAN";
|
|
636
|
+
readonly targets: readonly ["PARENTS"];
|
|
637
|
+
}, {
|
|
638
|
+
readonly name: "crossingMinimization.greedySwitch.activationThreshold";
|
|
639
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold";
|
|
640
|
+
readonly type: "INT";
|
|
641
|
+
readonly targets: readonly ["PARENTS"];
|
|
642
|
+
}, {
|
|
643
|
+
readonly name: "crossingMinimization.greedySwitch.type";
|
|
644
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.greedySwitch.type";
|
|
645
|
+
readonly type: "ENUM";
|
|
646
|
+
readonly targets: readonly ["PARENTS"];
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "crossingMinimization.greedySwitchHierarchical.type";
|
|
649
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type";
|
|
650
|
+
readonly type: "ENUM";
|
|
651
|
+
readonly targets: readonly ["PARENTS"];
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "crossingMinimization.semiInteractive";
|
|
654
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.semiInteractive";
|
|
655
|
+
readonly type: "BOOLEAN";
|
|
656
|
+
readonly targets: readonly ["PARENTS"];
|
|
657
|
+
}, {
|
|
658
|
+
readonly name: "mergeEdges";
|
|
659
|
+
readonly elkId: "org.eclipse.elk.layered.mergeEdges";
|
|
660
|
+
readonly type: "BOOLEAN";
|
|
661
|
+
readonly targets: readonly ["PARENTS"];
|
|
662
|
+
}, {
|
|
663
|
+
readonly name: "mergeHierarchyEdges";
|
|
664
|
+
readonly elkId: "org.eclipse.elk.layered.mergeHierarchyEdges";
|
|
665
|
+
readonly type: "BOOLEAN";
|
|
666
|
+
readonly targets: readonly ["PARENTS"];
|
|
667
|
+
}, {
|
|
668
|
+
readonly name: "interactiveReferencePoint";
|
|
669
|
+
readonly elkId: "org.eclipse.elk.layered.interactiveReferencePoint";
|
|
670
|
+
readonly type: "ENUM";
|
|
671
|
+
readonly targets: readonly ["PARENTS"];
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "nodePlacement.strategy";
|
|
674
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.strategy";
|
|
675
|
+
readonly type: "ENUM";
|
|
676
|
+
readonly targets: readonly ["PARENTS"];
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "nodePlacement.bk.fixedAlignment";
|
|
679
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment";
|
|
680
|
+
readonly type: "ENUM";
|
|
681
|
+
readonly targets: readonly ["PARENTS"];
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "feedbackEdges";
|
|
684
|
+
readonly elkId: "org.eclipse.elk.layered.feedbackEdges";
|
|
685
|
+
readonly type: "BOOLEAN";
|
|
686
|
+
readonly targets: readonly ["PARENTS"];
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "nodePlacement.linearSegments.deflectionDampening";
|
|
689
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening";
|
|
690
|
+
readonly type: "DOUBLE";
|
|
691
|
+
readonly targets: readonly ["PARENTS"];
|
|
692
|
+
}, {
|
|
693
|
+
readonly name: "edgeRouting.selfLoopDistribution";
|
|
694
|
+
readonly elkId: "org.eclipse.elk.layered.edgeRouting.selfLoopDistribution";
|
|
695
|
+
readonly type: "ENUM";
|
|
696
|
+
readonly targets: readonly ["NODES"];
|
|
697
|
+
}, {
|
|
698
|
+
readonly name: "edgeRouting.selfLoopOrdering";
|
|
699
|
+
readonly elkId: "org.eclipse.elk.layered.edgeRouting.selfLoopOrdering";
|
|
700
|
+
readonly type: "ENUM";
|
|
701
|
+
readonly targets: readonly ["NODES"];
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "contentAlignment";
|
|
704
|
+
readonly elkId: "org.eclipse.elk.contentAlignment";
|
|
705
|
+
readonly type: "ENUMSET";
|
|
706
|
+
readonly targets: readonly ["PARENTS"];
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "nodePlacement.bk.edgeStraightening";
|
|
709
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening";
|
|
710
|
+
readonly type: "ENUM";
|
|
711
|
+
readonly targets: readonly ["PARENTS"];
|
|
712
|
+
}, {
|
|
713
|
+
readonly name: "compaction.postCompaction.strategy";
|
|
714
|
+
readonly elkId: "org.eclipse.elk.layered.compaction.postCompaction.strategy";
|
|
715
|
+
readonly type: "ENUM";
|
|
716
|
+
readonly targets: readonly ["PARENTS"];
|
|
717
|
+
}, {
|
|
718
|
+
readonly name: "compaction.postCompaction.constraints";
|
|
719
|
+
readonly elkId: "org.eclipse.elk.layered.compaction.postCompaction.constraints";
|
|
720
|
+
readonly type: "ENUM";
|
|
721
|
+
readonly targets: readonly ["PARENTS"];
|
|
722
|
+
}, {
|
|
723
|
+
readonly name: "compaction.connectedComponents";
|
|
724
|
+
readonly elkId: "org.eclipse.elk.layered.compaction.connectedComponents";
|
|
725
|
+
readonly type: "BOOLEAN";
|
|
726
|
+
readonly targets: readonly ["PARENTS"];
|
|
727
|
+
}, {
|
|
728
|
+
readonly name: "highDegreeNodes.treatment";
|
|
729
|
+
readonly elkId: "org.eclipse.elk.layered.highDegreeNodes.treatment";
|
|
730
|
+
readonly type: "BOOLEAN";
|
|
731
|
+
readonly targets: readonly ["PARENTS"];
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "highDegreeNodes.threshold";
|
|
734
|
+
readonly elkId: "org.eclipse.elk.layered.highDegreeNodes.threshold";
|
|
735
|
+
readonly type: "INT";
|
|
736
|
+
readonly targets: readonly ["PARENTS"];
|
|
737
|
+
}, {
|
|
738
|
+
readonly name: "highDegreeNodes.treeHeight";
|
|
739
|
+
readonly elkId: "org.eclipse.elk.layered.highDegreeNodes.treeHeight";
|
|
740
|
+
readonly type: "INT";
|
|
741
|
+
readonly targets: readonly ["PARENTS"];
|
|
742
|
+
}, {
|
|
743
|
+
readonly name: "nodeSize.minimum";
|
|
744
|
+
readonly elkId: "org.eclipse.elk.nodeSize.minimum";
|
|
745
|
+
readonly type: "OBJECT";
|
|
746
|
+
readonly targets: readonly ["NODES"];
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "junctionPoints";
|
|
749
|
+
readonly elkId: "org.eclipse.elk.junctionPoints";
|
|
750
|
+
readonly type: "OBJECT";
|
|
751
|
+
readonly targets: readonly ["EDGES"];
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "edge.thickness";
|
|
754
|
+
readonly elkId: "org.eclipse.elk.edge.thickness";
|
|
755
|
+
readonly type: "DOUBLE";
|
|
756
|
+
readonly targets: readonly ["EDGES"];
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "edgeLabels.placement";
|
|
759
|
+
readonly elkId: "org.eclipse.elk.edgeLabels.placement";
|
|
760
|
+
readonly type: "ENUM";
|
|
761
|
+
readonly targets: readonly ["LABELS"];
|
|
762
|
+
}, {
|
|
763
|
+
readonly name: "edgeLabels.inline";
|
|
764
|
+
readonly elkId: "org.eclipse.elk.edgeLabels.inline";
|
|
765
|
+
readonly type: "BOOLEAN";
|
|
766
|
+
readonly targets: readonly ["LABELS"];
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "crossingMinimization.hierarchicalSweepiness";
|
|
769
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness";
|
|
770
|
+
readonly type: "DOUBLE";
|
|
771
|
+
readonly targets: readonly ["PARENTS"];
|
|
772
|
+
}, {
|
|
773
|
+
readonly name: "port.index";
|
|
774
|
+
readonly elkId: "org.eclipse.elk.port.index";
|
|
775
|
+
readonly type: "INT";
|
|
776
|
+
readonly targets: readonly ["PORTS"];
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "commentBox";
|
|
779
|
+
readonly elkId: "org.eclipse.elk.commentBox";
|
|
780
|
+
readonly type: "BOOLEAN";
|
|
781
|
+
readonly targets: readonly ["NODES"];
|
|
782
|
+
}, {
|
|
783
|
+
readonly name: "hypernode";
|
|
784
|
+
readonly elkId: "org.eclipse.elk.hypernode";
|
|
785
|
+
readonly type: "BOOLEAN";
|
|
786
|
+
readonly targets: readonly ["NODES"];
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "port.anchor";
|
|
789
|
+
readonly elkId: "org.eclipse.elk.port.anchor";
|
|
790
|
+
readonly type: "OBJECT";
|
|
791
|
+
readonly targets: readonly ["PORTS"];
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "partitioning.activate";
|
|
794
|
+
readonly elkId: "org.eclipse.elk.partitioning.activate";
|
|
795
|
+
readonly type: "BOOLEAN";
|
|
796
|
+
readonly targets: readonly ["PARENTS"];
|
|
797
|
+
}, {
|
|
798
|
+
readonly name: "partitioning.partition";
|
|
799
|
+
readonly elkId: "org.eclipse.elk.partitioning.partition";
|
|
800
|
+
readonly type: "INT";
|
|
801
|
+
readonly targets: readonly ["PARENTS", "NODES"];
|
|
802
|
+
}, {
|
|
803
|
+
readonly name: "layering.minWidth.upperBoundOnWidth";
|
|
804
|
+
readonly elkId: "org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth";
|
|
805
|
+
readonly type: "INT";
|
|
806
|
+
readonly targets: readonly ["PARENTS"];
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "layering.minWidth.upperLayerEstimationScalingFactor";
|
|
809
|
+
readonly elkId: "org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor";
|
|
810
|
+
readonly type: "INT";
|
|
811
|
+
readonly targets: readonly ["PARENTS"];
|
|
812
|
+
}, {
|
|
813
|
+
readonly name: "position";
|
|
814
|
+
readonly elkId: "org.eclipse.elk.position";
|
|
815
|
+
readonly type: "OBJECT";
|
|
816
|
+
readonly targets: readonly ["NODES", "PORTS", "LABELS"];
|
|
817
|
+
}, {
|
|
818
|
+
readonly name: "allowNonFlowPortsToSwitchSides";
|
|
819
|
+
readonly elkId: "org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides";
|
|
820
|
+
readonly type: "BOOLEAN";
|
|
821
|
+
readonly targets: readonly ["PORTS"];
|
|
822
|
+
}, {
|
|
823
|
+
readonly name: "layering.nodePromotion.maxIterations";
|
|
824
|
+
readonly elkId: "org.eclipse.elk.layered.layering.nodePromotion.maxIterations";
|
|
825
|
+
readonly type: "INT";
|
|
826
|
+
readonly targets: readonly ["PARENTS"];
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "edgeLabels.sideSelection";
|
|
829
|
+
readonly elkId: "org.eclipse.elk.layered.edgeLabels.sideSelection";
|
|
830
|
+
readonly type: "ENUM";
|
|
831
|
+
readonly targets: readonly ["PARENTS"];
|
|
832
|
+
}, {
|
|
833
|
+
readonly name: "edgeLabels.centerLabelPlacementStrategy";
|
|
834
|
+
readonly elkId: "org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy";
|
|
835
|
+
readonly type: "ENUM";
|
|
836
|
+
readonly targets: readonly ["PARENTS", "LABELS"];
|
|
837
|
+
}, {
|
|
838
|
+
readonly name: "margins";
|
|
839
|
+
readonly elkId: "org.eclipse.elk.margins";
|
|
840
|
+
readonly type: "OBJECT";
|
|
841
|
+
readonly targets: readonly ["NODES"];
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "layering.coffmanGraham.layerBound";
|
|
844
|
+
readonly elkId: "org.eclipse.elk.layered.layering.coffmanGraham.layerBound";
|
|
845
|
+
readonly type: "INT";
|
|
846
|
+
readonly targets: readonly ["PARENTS"];
|
|
847
|
+
}, {
|
|
848
|
+
readonly name: "nodePlacement.favorStraightEdges";
|
|
849
|
+
readonly elkId: "org.eclipse.elk.layered.nodePlacement.favorStraightEdges";
|
|
850
|
+
readonly type: "BOOLEAN";
|
|
851
|
+
readonly targets: readonly ["PARENTS"];
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "spacing.portsSurrounding";
|
|
854
|
+
readonly elkId: "org.eclipse.elk.spacing.portsSurrounding";
|
|
855
|
+
readonly type: "OBJECT";
|
|
856
|
+
readonly targets: readonly ["PARENTS"];
|
|
857
|
+
}, {
|
|
858
|
+
readonly name: "directionCongruency";
|
|
859
|
+
readonly elkId: "org.eclipse.elk.layered.directionCongruency";
|
|
860
|
+
readonly type: "ENUM";
|
|
861
|
+
readonly targets: readonly ["PARENTS"];
|
|
862
|
+
}, {
|
|
863
|
+
readonly name: "portSortingStrategy";
|
|
864
|
+
readonly elkId: "org.eclipse.elk.layered.portSortingStrategy";
|
|
865
|
+
readonly type: "ENUM";
|
|
866
|
+
readonly targets: readonly ["PARENTS"];
|
|
867
|
+
}, {
|
|
868
|
+
readonly name: "edgeRouting.polyline.slopedEdgeZoneWidth";
|
|
869
|
+
readonly elkId: "org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth";
|
|
870
|
+
readonly type: "DOUBLE";
|
|
871
|
+
readonly targets: readonly ["PARENTS"];
|
|
872
|
+
}, {
|
|
873
|
+
readonly name: "crossingMinimization.inLayerPredOf";
|
|
874
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.inLayerPredOf";
|
|
875
|
+
readonly type: "STRING";
|
|
876
|
+
readonly targets: readonly ["NODES"];
|
|
877
|
+
}, {
|
|
878
|
+
readonly name: "crossingMinimization.inLayerSuccOf";
|
|
879
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf";
|
|
880
|
+
readonly type: "STRING";
|
|
881
|
+
readonly targets: readonly ["NODES"];
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "layering.layerChoiceConstraint";
|
|
884
|
+
readonly elkId: "org.eclipse.elk.layered.layering.layerChoiceConstraint";
|
|
885
|
+
readonly type: "INT";
|
|
886
|
+
readonly targets: readonly ["NODES"];
|
|
887
|
+
}, {
|
|
888
|
+
readonly name: "crossingMinimization.positionChoiceConstraint";
|
|
889
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint";
|
|
890
|
+
readonly type: "INT";
|
|
891
|
+
readonly targets: readonly ["NODES"];
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "interactiveLayout";
|
|
894
|
+
readonly elkId: "org.eclipse.elk.interactiveLayout";
|
|
895
|
+
readonly type: "BOOLEAN";
|
|
896
|
+
readonly targets: readonly ["PARENTS"];
|
|
897
|
+
}, {
|
|
898
|
+
readonly name: "layering.layerId";
|
|
899
|
+
readonly elkId: "org.eclipse.elk.layered.layering.layerId";
|
|
900
|
+
readonly type: "INT";
|
|
901
|
+
readonly targets: readonly ["NODES"];
|
|
902
|
+
}, {
|
|
903
|
+
readonly name: "crossingMinimization.positionId";
|
|
904
|
+
readonly elkId: "org.eclipse.elk.layered.crossingMinimization.positionId";
|
|
905
|
+
readonly type: "INT";
|
|
906
|
+
readonly targets: readonly ["NODES"];
|
|
907
|
+
}, {
|
|
908
|
+
readonly name: "considerModelOrder.strategy";
|
|
909
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.strategy";
|
|
910
|
+
readonly type: "ENUM";
|
|
911
|
+
readonly targets: readonly ["PARENTS"];
|
|
912
|
+
}, {
|
|
913
|
+
readonly name: "considerModelOrder.longEdgeStrategy";
|
|
914
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy";
|
|
915
|
+
readonly type: "ENUM";
|
|
916
|
+
readonly targets: readonly ["PARENTS"];
|
|
917
|
+
}, {
|
|
918
|
+
readonly name: "considerModelOrder.crossingCounterNodeInfluence";
|
|
919
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence";
|
|
920
|
+
readonly type: "DOUBLE";
|
|
921
|
+
readonly targets: readonly ["PARENTS"];
|
|
922
|
+
}, {
|
|
923
|
+
readonly name: "considerModelOrder.crossingCounterPortInfluence";
|
|
924
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence";
|
|
925
|
+
readonly type: "DOUBLE";
|
|
926
|
+
readonly targets: readonly ["PARENTS"];
|
|
927
|
+
}, {
|
|
928
|
+
readonly name: "considerModelOrder.noModelOrder";
|
|
929
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.noModelOrder";
|
|
930
|
+
readonly type: "BOOLEAN";
|
|
931
|
+
readonly targets: readonly ["NODES"];
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "considerModelOrder.components";
|
|
934
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.components";
|
|
935
|
+
readonly type: "ENUM";
|
|
936
|
+
readonly targets: readonly ["PARENTS"];
|
|
937
|
+
}, {
|
|
938
|
+
readonly name: "considerModelOrder.portModelOrder";
|
|
939
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.portModelOrder";
|
|
940
|
+
readonly type: "BOOLEAN";
|
|
941
|
+
readonly targets: readonly ["PARENTS"];
|
|
942
|
+
}, {
|
|
943
|
+
readonly name: "considerModelOrder.groupModelOrder.cycleBreakingId";
|
|
944
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId";
|
|
945
|
+
readonly type: "INT";
|
|
946
|
+
readonly targets: readonly ["NODES"];
|
|
947
|
+
}, {
|
|
948
|
+
readonly name: "considerModelOrder.groupModelOrder.crossingMinimizationId";
|
|
949
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId";
|
|
950
|
+
readonly type: "INT";
|
|
951
|
+
readonly targets: readonly ["NODES", "EDGES", "PORTS"];
|
|
952
|
+
}, {
|
|
953
|
+
readonly name: "considerModelOrder.groupModelOrder.componentGroupId";
|
|
954
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId";
|
|
955
|
+
readonly type: "INT";
|
|
956
|
+
readonly targets: readonly ["NODES", "EDGES", "PORTS"];
|
|
957
|
+
}, {
|
|
958
|
+
readonly name: "considerModelOrder.groupModelOrder.cbGroupOrderStrategy";
|
|
959
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy";
|
|
960
|
+
readonly type: "ENUM";
|
|
961
|
+
readonly targets: readonly ["PARENTS"];
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "considerModelOrder.groupModelOrder.cmGroupOrderStrategy";
|
|
964
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy";
|
|
965
|
+
readonly type: "ENUM";
|
|
966
|
+
readonly targets: readonly ["PARENTS"];
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "considerModelOrder.groupModelOrder.cmEnforcedGroupOrders";
|
|
969
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders";
|
|
970
|
+
readonly type: "OBJECT";
|
|
971
|
+
readonly targets: readonly ["PARENTS"];
|
|
972
|
+
}, {
|
|
973
|
+
readonly name: "considerModelOrder.groupModelOrder.cbPreferredSourceId";
|
|
974
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId";
|
|
975
|
+
readonly type: "INT";
|
|
976
|
+
readonly targets: readonly ["PARENTS"];
|
|
977
|
+
}, {
|
|
978
|
+
readonly name: "considerModelOrder.groupModelOrder.cbPreferredTargetId";
|
|
979
|
+
readonly elkId: "org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId";
|
|
980
|
+
readonly type: "INT";
|
|
981
|
+
readonly targets: readonly ["PARENTS"];
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "generatePositionAndLayerIds";
|
|
984
|
+
readonly elkId: "org.eclipse.elk.layered.generatePositionAndLayerIds";
|
|
985
|
+
readonly type: "BOOLEAN";
|
|
986
|
+
readonly targets: readonly ["PARENTS"];
|
|
987
|
+
}];
|
|
988
|
+
type ElkLayeredOptionName = keyof ElkLayeredOptionValueByName;
|
|
989
|
+
type ElkLayeredOptionId = (typeof elkLayeredOptionDefinitions)[number]["elkId"];
|
|
990
|
+
//#endregion
|
|
991
|
+
//#region src/layered/elk-enum-values.d.ts
|
|
992
|
+
/** Every ELK 0.11.1 enum constant, source-locked to its Java declaration. */
|
|
993
|
+
declare const elkLayeredEnumValues: {
|
|
994
|
+
readonly "wrapping.strategy": readonly ["OFF", "SINGLE_EDGE", "MULTI_EDGE"];
|
|
995
|
+
readonly "wrapping.cutting.strategy": readonly ["ARD", "MSD", "MANUAL"];
|
|
996
|
+
readonly "wrapping.validify.strategy": readonly ["NO", "GREEDY", "LOOK_BACK"];
|
|
997
|
+
readonly "layerUnzipping.strategy": readonly ["NONE", "ALTERNATING"];
|
|
998
|
+
readonly "nodePlacement.networkSimplex.nodeFlexibility": readonly ["NONE", "PORT_POSITION", "NODE_SIZE_WHERE_SPACE_PERMITS", "NODE_SIZE"];
|
|
999
|
+
readonly "nodePlacement.networkSimplex.nodeFlexibility.default": readonly ["NONE", "PORT_POSITION", "NODE_SIZE_WHERE_SPACE_PERMITS", "NODE_SIZE"];
|
|
1000
|
+
readonly "edgeRouting.splines.mode": readonly ["CONSERVATIVE", "CONSERVATIVE_SOFT", "SLOPPY"];
|
|
1001
|
+
readonly "topdown.nodeType": readonly ["PARALLEL_NODE", "HIERARCHICAL_NODE", "ROOT_NODE"];
|
|
1002
|
+
readonly edgeRouting: readonly ["UNDEFINED", "POLYLINE", "ORTHOGONAL", "SPLINES"];
|
|
1003
|
+
readonly portConstraints: readonly ["UNDEFINED", "FREE", "FIXED_SIDE", "FIXED_ORDER", "FIXED_RATIO", "FIXED_POS"];
|
|
1004
|
+
readonly "port.side": readonly ["UNDEFINED", "NORTH", "EAST", "SOUTH", "WEST"];
|
|
1005
|
+
readonly alignment: readonly ["AUTOMATIC", "LEFT", "RIGHT", "TOP", "BOTTOM", "CENTER"];
|
|
1006
|
+
readonly hierarchyHandling: readonly ["INHERIT", "INCLUDE_CHILDREN", "SEPARATE_CHILDREN"];
|
|
1007
|
+
readonly "nodeSize.constraints": readonly ["PORTS", "PORT_LABELS", "NODE_LABELS", "MINIMUM_SIZE"];
|
|
1008
|
+
readonly "nodeSize.options": readonly ["DEFAULT_MINIMUM_SIZE", "MINIMUM_SIZE_ACCOUNTS_FOR_PADDING", "COMPUTE_PADDING", "OUTSIDE_NODE_LABELS_OVERHANG", "PORTS_OVERHANG", "UNIFORM_PORT_SPACING", "SPACE_EFFICIENT_PORT_LABELS", "FORCE_TABULAR_NODE_LABELS", "ASYMMETRICAL"];
|
|
1009
|
+
readonly direction: readonly ["UNDEFINED", "RIGHT", "LEFT", "DOWN", "UP"];
|
|
1010
|
+
readonly "nodeLabels.placement": readonly ["H_LEFT", "H_CENTER", "H_RIGHT", "V_TOP", "V_CENTER", "V_BOTTOM", "INSIDE", "OUTSIDE", "H_PRIORITY"];
|
|
1011
|
+
readonly "portLabels.placement": readonly ["OUTSIDE", "INSIDE", "NEXT_TO_PORT_IF_POSSIBLE", "ALWAYS_SAME_SIDE", "ALWAYS_OTHER_SAME_SIDE", "SPACE_EFFICIENT"];
|
|
1012
|
+
readonly "portAlignment.default": readonly ["DISTRIBUTED", "JUSTIFIED", "BEGIN", "CENTER", "END"];
|
|
1013
|
+
readonly "portAlignment.north": readonly ["DISTRIBUTED", "JUSTIFIED", "BEGIN", "CENTER", "END"];
|
|
1014
|
+
readonly "portAlignment.south": readonly ["DISTRIBUTED", "JUSTIFIED", "BEGIN", "CENTER", "END"];
|
|
1015
|
+
readonly "portAlignment.west": readonly ["DISTRIBUTED", "JUSTIFIED", "BEGIN", "CENTER", "END"];
|
|
1016
|
+
readonly "portAlignment.east": readonly ["DISTRIBUTED", "JUSTIFIED", "BEGIN", "CENTER", "END"];
|
|
1017
|
+
readonly "layering.strategy": readonly ["NETWORK_SIMPLEX", "LONGEST_PATH", "LONGEST_PATH_SOURCE", "COFFMAN_GRAHAM", "INTERACTIVE", "STRETCH_WIDTH", "MIN_WIDTH", "BF_MODEL_ORDER", "DF_MODEL_ORDER"];
|
|
1018
|
+
readonly "layering.nodePromotion.strategy": readonly ["NONE", "NIKOLOV", "NIKOLOV_PIXEL", "NIKOLOV_IMPROVED", "NIKOLOV_IMPROVED_PIXEL", "DUMMYNODE_PERCENTAGE", "NODECOUNT_PERCENTAGE", "NO_BOUNDARY", "MODEL_ORDER_LEFT_TO_RIGHT", "MODEL_ORDER_RIGHT_TO_LEFT"];
|
|
1019
|
+
readonly "layering.layerConstraint": readonly ["NONE", "FIRST", "FIRST_SEPARATE", "LAST", "LAST_SEPARATE"];
|
|
1020
|
+
readonly "cycleBreaking.strategy": readonly ["GREEDY", "DEPTH_FIRST", "INTERACTIVE", "MODEL_ORDER", "GREEDY_MODEL_ORDER", "SCC_CONNECTIVITY", "SCC_NODE_TYPE", "DFS_NODE_ORDER", "BFS_NODE_ORDER"];
|
|
1021
|
+
readonly "crossingMinimization.strategy": readonly ["LAYER_SWEEP", "MEDIAN_LAYER_SWEEP", "INTERACTIVE", "NONE"];
|
|
1022
|
+
readonly "crossingMinimization.greedySwitch.type": readonly ["ONE_SIDED", "TWO_SIDED", "OFF"];
|
|
1023
|
+
readonly "crossingMinimization.greedySwitchHierarchical.type": readonly ["ONE_SIDED", "TWO_SIDED", "OFF"];
|
|
1024
|
+
readonly interactiveReferencePoint: readonly ["CENTER", "TOP_LEFT"];
|
|
1025
|
+
readonly "nodePlacement.strategy": readonly ["SIMPLE", "INTERACTIVE", "LINEAR_SEGMENTS", "BRANDES_KOEPF", "NETWORK_SIMPLEX"];
|
|
1026
|
+
readonly "nodePlacement.bk.fixedAlignment": readonly ["NONE", "LEFTUP", "RIGHTUP", "LEFTDOWN", "RIGHTDOWN", "BALANCED"];
|
|
1027
|
+
readonly "edgeRouting.selfLoopDistribution": readonly ["EQUALLY", "NORTH", "NORTH_SOUTH"];
|
|
1028
|
+
readonly "edgeRouting.selfLoopOrdering": readonly ["STACKED", "REVERSE_STACKED", "SEQUENCED"];
|
|
1029
|
+
readonly contentAlignment: readonly ["V_TOP", "V_CENTER", "V_BOTTOM", "H_LEFT", "H_CENTER", "H_RIGHT"];
|
|
1030
|
+
readonly "nodePlacement.bk.edgeStraightening": readonly ["NONE", "IMPROVE_STRAIGHTNESS"];
|
|
1031
|
+
readonly "compaction.postCompaction.strategy": readonly ["NONE", "LEFT", "RIGHT", "LEFT_RIGHT_CONSTRAINT_LOCKING", "LEFT_RIGHT_CONNECTION_LOCKING", "EDGE_LENGTH"];
|
|
1032
|
+
readonly "compaction.postCompaction.constraints": readonly ["QUADRATIC", "SCANLINE"];
|
|
1033
|
+
readonly "edgeLabels.placement": readonly ["CENTER", "HEAD", "TAIL"];
|
|
1034
|
+
readonly "edgeLabels.sideSelection": readonly ["ALWAYS_UP", "ALWAYS_DOWN", "DIRECTION_UP", "DIRECTION_DOWN", "SMART_UP", "SMART_DOWN"];
|
|
1035
|
+
readonly "edgeLabels.centerLabelPlacementStrategy": readonly ["MEDIAN_LAYER", "TAIL_LAYER", "HEAD_LAYER", "SPACE_EFFICIENT_LAYER", "WIDEST_LAYER", "CENTER_LAYER"];
|
|
1036
|
+
readonly directionCongruency: readonly ["READING_DIRECTION", "ROTATION"];
|
|
1037
|
+
readonly portSortingStrategy: readonly ["INPUT_ORDER", "PORT_DEGREE"];
|
|
1038
|
+
readonly "considerModelOrder.strategy": readonly ["NONE", "NODES_AND_EDGES", "PREFER_EDGES", "PREFER_NODES"];
|
|
1039
|
+
readonly "considerModelOrder.longEdgeStrategy": readonly ["DUMMY_NODE_OVER", "DUMMY_NODE_UNDER", "EQUAL"];
|
|
1040
|
+
readonly "considerModelOrder.components": readonly ["NONE", "INSIDE_PORT_SIDE_GROUPS", "GROUP_MODEL_ORDER", "MODEL_ORDER"];
|
|
1041
|
+
readonly "considerModelOrder.groupModelOrder.cbGroupOrderStrategy": readonly ["ONLY_WITHIN_GROUP", "MODEL_ORDER", "ENFORCED"];
|
|
1042
|
+
readonly "considerModelOrder.groupModelOrder.cmGroupOrderStrategy": readonly ["ONLY_WITHIN_GROUP", "MODEL_ORDER", "ENFORCED"];
|
|
1043
|
+
};
|
|
1044
|
+
//#endregion
|
|
1045
|
+
//#region src/layered/elk-options.d.ts
|
|
1046
|
+
type CycleBreakingStrategy = (typeof elkLayeredEnumValues)["cycleBreaking.strategy"][number];
|
|
1047
|
+
type LayeringStrategy = (typeof elkLayeredEnumValues)["layering.strategy"][number];
|
|
1048
|
+
type CrossingMinimizationStrategy = (typeof elkLayeredEnumValues)["crossingMinimization.strategy"][number];
|
|
1049
|
+
type NodePlacementStrategy = (typeof elkLayeredEnumValues)["nodePlacement.strategy"][number];
|
|
1050
|
+
type EdgeRoutingStyle = (typeof elkLayeredEnumValues)["edgeRouting"][number];
|
|
1051
|
+
type StrictElkLayeredOptionValueByName = Omit<ElkLayeredOptionValueByName, keyof typeof elkLayeredEnumValues> & { [Name in keyof typeof elkLayeredEnumValues]?: (typeof elkLayeredEnumValues)[Name][number] };
|
|
1052
|
+
type LayeredAdvancedOptions = Omit<StrictElkLayeredOptionValueByName, "direction" | "padding" | "spacing.node" | "spacing.layer" | "cycleBreaking.strategy" | "layering.strategy" | "crossingMinimization.strategy" | "nodePlacement.strategy" | "edgeRouting"> & {
|
|
1053
|
+
"cycleBreaking.strategy"?: CycleBreakingStrategy;
|
|
1054
|
+
"layering.strategy"?: LayeringStrategy;
|
|
1055
|
+
"crossingMinimization.strategy"?: CrossingMinimizationStrategy;
|
|
1056
|
+
"nodePlacement.strategy"?: NodePlacementStrategy;
|
|
1057
|
+
edgeRouting?: EdgeRoutingStyle;
|
|
1058
|
+
};
|
|
1059
|
+
/** Translate every simplified layered setting to its exact ELK 0.11.1 option ID. */
|
|
1060
|
+
declare function toElkLayeredOptions(options: LayeredLayoutOptions): Partial<Record<ElkLayeredOptionId, unknown>>;
|
|
1061
|
+
/** Return the simplified public name for an exact ELK layered option ID. */
|
|
1062
|
+
declare function fromElkLayeredOptionId(id: ElkLayeredOptionId): ElkLayeredOptionName;
|
|
1063
|
+
//#endregion
|
|
1064
|
+
//#region src/layered/types.d.ts
|
|
1065
|
+
interface NodeSize {
|
|
1066
|
+
width: number;
|
|
1067
|
+
height: number;
|
|
1068
|
+
}
|
|
1069
|
+
interface LayeredSpacing {
|
|
1070
|
+
node: number;
|
|
1071
|
+
layer: number;
|
|
1072
|
+
}
|
|
1073
|
+
interface LayoutPadding {
|
|
1074
|
+
top: number;
|
|
1075
|
+
right: number;
|
|
1076
|
+
bottom: number;
|
|
1077
|
+
left: number;
|
|
1078
|
+
}
|
|
1079
|
+
interface LayeredPhaseInput {
|
|
1080
|
+
graph: Graph<unknown, unknown, unknown, unknown>;
|
|
1081
|
+
sizes: ReadonlyMap<string, NodeSize>;
|
|
1082
|
+
direction: LayoutDirection;
|
|
1083
|
+
spacing: LayeredSpacing;
|
|
1084
|
+
padding: LayoutPadding;
|
|
1085
|
+
constrainedLayerByNodeId: ReadonlyMap<string, number>;
|
|
1086
|
+
settings: LayeredAdvancedOptions;
|
|
1087
|
+
nodeSettings?: (node: GraphNode) => ElkLayeredOptionValueByName | undefined;
|
|
1088
|
+
edgeSettings?: (edge: GraphEdge) => ElkLayeredOptionValueByName | undefined;
|
|
1089
|
+
portSettings?: (port: GraphPort, node: GraphNode) => ElkLayeredOptionValueByName | undefined;
|
|
1090
|
+
}
|
|
1091
|
+
interface AcyclicOrientation {
|
|
1092
|
+
reversedEdgeIds: ReadonlySet<string>;
|
|
1093
|
+
}
|
|
1094
|
+
interface LayerAssignment {
|
|
1095
|
+
layerByNodeId: ReadonlyMap<string, number>;
|
|
1096
|
+
/** Layer-internal seed order produced by layerers whose insertion order is observable. */
|
|
1097
|
+
seedOrder?: readonly string[];
|
|
1098
|
+
}
|
|
1099
|
+
interface LayerOrder {
|
|
1100
|
+
layers: readonly (readonly string[])[];
|
|
1101
|
+
/** Internal ELK sweep state retained for exact port-aware placement. */
|
|
1102
|
+
inputPortOrderByNodeId?: ReadonlyMap<string, readonly string[]>;
|
|
1103
|
+
/** Internal ELK sweep state retained for exact port-aware placement. */
|
|
1104
|
+
outputPortOrderByNodeId?: ReadonlyMap<string, readonly string[]>;
|
|
1105
|
+
}
|
|
1106
|
+
interface NodePlacement {
|
|
1107
|
+
rectByNodeId: ReadonlyMap<string, EntityRect>;
|
|
1108
|
+
}
|
|
1109
|
+
interface EdgeRoutes {
|
|
1110
|
+
pointsByEdgeId: ReadonlyMap<string, readonly Point[]>;
|
|
1111
|
+
/** ELK spline segment NUB controls retained until long-edge joining. */
|
|
1112
|
+
splineNubControlsByEdgeId?: ReadonlyMap<string, readonly Point[]>;
|
|
1113
|
+
}
|
|
1114
|
+
type CycleBreaker = (input: LayeredPhaseInput) => AcyclicOrientation;
|
|
1115
|
+
type LayerAssigner = (input: LayeredPhaseInput, orientation: AcyclicOrientation) => LayerAssignment;
|
|
1116
|
+
type CrossingMinimizer = (input: LayeredPhaseInput, orientation: AcyclicOrientation, assignment: LayerAssignment) => LayerOrder;
|
|
1117
|
+
type NodePlacer = (input: LayeredPhaseInput, order: LayerOrder) => NodePlacement;
|
|
1118
|
+
type EdgeRouter = (input: LayeredPhaseInput, orientation: AcyclicOrientation, placement: NodePlacement) => EdgeRoutes;
|
|
1119
|
+
interface LayeredStrategies {
|
|
1120
|
+
breakCycles?: CycleBreaker;
|
|
1121
|
+
assignLayers?: LayerAssigner;
|
|
1122
|
+
minimizeCrossings?: CrossingMinimizer;
|
|
1123
|
+
placeNodes?: NodePlacer;
|
|
1124
|
+
routeEdges?: EdgeRouter;
|
|
1125
|
+
}
|
|
1126
|
+
interface LayeredLayoutOptions {
|
|
1127
|
+
direction?: LayoutDirection;
|
|
1128
|
+
spacing?: Partial<LayeredSpacing>;
|
|
1129
|
+
padding?: number | Partial<LayoutPadding>;
|
|
1130
|
+
constraints?: LayoutConstraints;
|
|
1131
|
+
measure?: (node: GraphNode) => NodeSize;
|
|
1132
|
+
crossingSweeps?: number;
|
|
1133
|
+
strategies?: LayeredStrategies;
|
|
1134
|
+
/** ELK-equivalent settings keyed by simplified names without vendor prefixes. */
|
|
1135
|
+
settings?: LayeredAdvancedOptions;
|
|
1136
|
+
/** Per-node settings for ELK options whose target is a node. */
|
|
1137
|
+
nodeSettings?: (node: GraphNode) => ElkLayeredOptionValueByName | undefined;
|
|
1138
|
+
/** Per-edge settings for ELK options whose target is an edge. */
|
|
1139
|
+
edgeSettings?: (edge: GraphEdge) => ElkLayeredOptionValueByName | undefined;
|
|
1140
|
+
/** Per-port settings for ELK options whose target is a port. */
|
|
1141
|
+
portSettings?: (port: GraphPort, node: GraphNode) => ElkLayeredOptionValueByName | undefined;
|
|
1142
|
+
}
|
|
1143
|
+
//#endregion
|
|
1144
|
+
//#region src/layered/strategies.d.ts
|
|
1145
|
+
declare const breakCyclesWithDepthFirstSearch: CycleBreaker;
|
|
1146
|
+
declare const breakCyclesGreedily: CycleBreaker;
|
|
1147
|
+
declare const breakCyclesGreedilyByModelOrder: CycleBreaker;
|
|
1148
|
+
/** ELK MODEL_ORDER for flat graphs without FIRST/LAST layer constraints. */
|
|
1149
|
+
declare const breakCyclesByModelOrder: CycleBreaker;
|
|
1150
|
+
/** ELK INTERACTIVE: honor authored x-order, then remove any remaining DFS back edges. */
|
|
1151
|
+
declare const breakCyclesInteractively: CycleBreaker;
|
|
1152
|
+
declare const breakCyclesWithModelOrderDepthFirstSearch: CycleBreaker;
|
|
1153
|
+
/** ELK BFS_NODE_ORDER, with input node order as ELK's internal model order. */
|
|
1154
|
+
declare const breakCyclesWithModelOrderBreadthFirstSearch: CycleBreaker;
|
|
1155
|
+
declare const breakCyclesByStronglyConnectedConnectivity: CycleBreaker;
|
|
1156
|
+
declare const breakCyclesByStronglyConnectedNodeType: CycleBreaker;
|
|
1157
|
+
declare const assignLayersByLongestPath: LayerAssigner;
|
|
1158
|
+
/** ELK LONGEST_PATH: align sinks on the final layer. */
|
|
1159
|
+
declare const assignLayersByLongestPathToSink: LayerAssigner;
|
|
1160
|
+
/** ELK INTERACTIVE layering for normal flat nodes. */
|
|
1161
|
+
declare const assignLayersInteractively: LayerAssigner;
|
|
1162
|
+
/** ELK BF_MODEL_ORDER for normal flat nodes (label dummies are a later preprocessing slice). */
|
|
1163
|
+
declare const assignLayersByBreadthFirstModelOrder: LayerAssigner;
|
|
1164
|
+
/** ELK DF_MODEL_ORDER for normal flat nodes, before label-dummy insertion. */
|
|
1165
|
+
declare const assignLayersByDepthFirstModelOrder: LayerAssigner;
|
|
1166
|
+
/** ELK COFFMAN_GRAHAM for flat DAGs, including transitive reduction and layer bounds. */
|
|
1167
|
+
declare const assignLayersWithCoffmanGraham: LayerAssigner;
|
|
1168
|
+
declare function minimizeCrossingsWithBarycenter(sweeps?: number): CrossingMinimizer;
|
|
1169
|
+
declare function minimizeCrossingsWithMedian(sweeps?: number): CrossingMinimizer;
|
|
1170
|
+
declare const minimizeCrossingsWithModelOrder: CrossingMinimizer;
|
|
1171
|
+
declare const minimizeCrossingsInteractively: CrossingMinimizer;
|
|
1172
|
+
declare const placeNodesInLayers: NodePlacer;
|
|
1173
|
+
/** ELK INTERACTIVE placement for normal flat nodes, preserving cross-axis coordinates. */
|
|
1174
|
+
declare const placeNodesInteractively: NodePlacer;
|
|
1175
|
+
declare const routeEdgesOrthogonally: EdgeRouter;
|
|
1176
|
+
declare const routeEdgesWithPolylines: EdgeRouter;
|
|
1177
|
+
declare const routeEdgesWithSplines: EdgeRouter;
|
|
1178
|
+
//#endregion
|
|
1179
|
+
//#region src/layered/network-simplex.d.ts
|
|
1180
|
+
declare const assignLayersWithNetworkSimplex: LayerAssigner;
|
|
1181
|
+
//#endregion
|
|
1182
|
+
//#region src/layered/min-width.d.ts
|
|
1183
|
+
declare const assignLayersWithMinWidth: LayerAssigner;
|
|
1184
|
+
//#endregion
|
|
1185
|
+
//#region src/layered/stretch-width.d.ts
|
|
1186
|
+
declare const assignLayersWithStretchWidth: LayerAssigner;
|
|
1187
|
+
//#endregion
|
|
1188
|
+
//#region src/layered/bk-node-placement.d.ts
|
|
1189
|
+
/** ELK-compatible Brandes-Koepf placement for implicit center ports. */
|
|
1190
|
+
declare function placeNodesWithBrandesKoepf(input: LayeredPhaseInput, order: LayerOrder): NodePlacement;
|
|
1191
|
+
//#endregion
|
|
1192
|
+
//#region src/layered/linear-segments-node-placement.d.ts
|
|
1193
|
+
/** ELK-compatible force-based linear-segments placement. */
|
|
1194
|
+
declare function placeNodesWithLinearSegments(input: LayeredPhaseInput, order: LayerOrder): NodePlacement;
|
|
1195
|
+
//#endregion
|
|
1196
|
+
//#region src/layered/network-simplex-node-placement.d.ts
|
|
1197
|
+
/** ELK auxiliary-graph network-simplex placement for fixed-position ports. */
|
|
1198
|
+
declare function placeNodesWithNetworkSimplex(input: LayeredPhaseInput, order: LayerOrder): NodePlacement;
|
|
1199
|
+
//#endregion
|
|
1200
|
+
//#region src/layered/index.d.ts
|
|
1201
|
+
/**
|
|
1202
|
+
* Deterministic native layered layout for an `@statelyai/graph` graph.
|
|
1203
|
+
*
|
|
1204
|
+
* Supports flat and nested graphs, cycles, ports, self-loops, four directions,
|
|
1205
|
+
* custom phase strategies, and all layered edge-routing styles.
|
|
1206
|
+
*/
|
|
1207
|
+
declare function getLayeredLayout<N, E, G, P>(graph: Graph<N, E, G, P> | VisualGraph<N, E, G, P>, options?: LayeredLayoutOptions): VisualGraph<N, E, G, P>;
|
|
1208
|
+
declare const layeredAlgorithm: LayoutAlgorithm<LayeredLayoutOptions>;
|
|
1209
|
+
//#endregion
|
|
1210
|
+
export { LayeringStrategy as $, routeEdgesOrthogonally as A, LayerOrder as B, breakCyclesWithModelOrderDepthFirstSearch as C, minimizeCrossingsWithModelOrder as D, minimizeCrossingsWithMedian as E, CycleBreaker as F, LayoutPadding as G, LayeredPhaseInput as H, EdgeRouter as I, NodeSize as J, NodePlacement as K, EdgeRoutes as L, routeEdgesWithSplines as M, AcyclicOrientation as N, placeNodesInLayers as O, CrossingMinimizer as P, LayeredAdvancedOptions as Q, LayerAssigner as R, breakCyclesWithModelOrderBreadthFirstSearch as S, minimizeCrossingsWithBarycenter as T, LayeredSpacing as U, LayeredLayoutOptions as V, LayeredStrategies as W, CycleBreakingStrategy as X, CrossingMinimizationStrategy as Y, EdgeRoutingStyle as Z, breakCyclesByStronglyConnectedNodeType as _, LayoutResult as _t, placeNodesWithBrandesKoepf as a, ElkLayeredOptionName as at, breakCyclesInteractively as b, assignLayersWithNetworkSimplex as c, AnyGraph as ct, assignLayersByLongestPath as d, LayoutDiagnostic as dt, NodePlacementStrategy as et, assignLayersByLongestPathToSink as f, LayoutDirection as ft, breakCyclesByStronglyConnectedConnectivity as g, LayoutRequest as gt, breakCyclesByModelOrder as h, LayoutPhaseMetrics as ht, placeNodesWithLinearSegments as i, ElkLayeredOptionId as it, routeEdgesWithPolylines as j, placeNodesInteractively as k, assignLayersByBreadthFirstModelOrder as l, LayoutAlgorithm as lt, assignLayersWithCoffmanGraham as m, LayoutMetrics as mt, layeredAlgorithm as n, toElkLayeredOptions as nt, assignLayersWithStretchWidth as o, ElkLayeredOptionValueByName as ot, assignLayersInteractively as p, LayoutExecutionContext as pt, NodePlacer as q, placeNodesWithNetworkSimplex as r, elkLayeredEnumValues as rt, assignLayersWithMinWidth as s, elkLayeredOptionDefinitions as st, getLayeredLayout as t, fromElkLayeredOptionId as tt, assignLayersByDepthFirstModelOrder as u, LayoutCapabilities as ut, breakCyclesGreedily as v, LayoutScope as vt, minimizeCrossingsInteractively as w, breakCyclesWithDepthFirstSearch as x, breakCyclesGreedilyByModelOrder as y, LayerAssignment as z };
|