@statelyai/flow 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +213 -132
- package/dist/esm/index.d.ts +58 -21
- package/dist/esm/index.js +214 -183
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -364,6 +364,13 @@ type ViewportSpringOptions = {
|
|
|
364
364
|
type ViewportAnimationOptions = {
|
|
365
365
|
duration?: number;
|
|
366
366
|
easing?: (t: number) => number;
|
|
367
|
+
/**
|
|
368
|
+
* Exponential smoothing factor in `(0, 1]`. Each nominal 60 Hz frame lerps
|
|
369
|
+
* the current x, y, and zoom toward the target by this amount; actual frame
|
|
370
|
+
* deltas are normalized so the motion is refresh-rate independent. When set,
|
|
371
|
+
* this takes precedence over `duration` and `easing`.
|
|
372
|
+
*/
|
|
373
|
+
lerp?: number;
|
|
367
374
|
/**
|
|
368
375
|
* Screen-space point to keep visually fixed during the animation (the focal
|
|
369
376
|
* anchor of the zoom). Defaults to the target viewport's frame of reference,
|
|
@@ -842,6 +849,7 @@ declare function createFlowEngine(store: FlowStore, initialOptions?: FlowEngineO
|
|
|
842
849
|
setViewport: Viewport;
|
|
843
850
|
setFitFrame: {
|
|
844
851
|
frame: Rect | null;
|
|
852
|
+
preserveCenter?: boolean;
|
|
845
853
|
};
|
|
846
854
|
panBy: Point;
|
|
847
855
|
zoomTo: {
|
|
@@ -875,7 +883,9 @@ declare function createFlowEngine(store: FlowStore, initialOptions?: FlowEngineO
|
|
|
875
883
|
setNodeExtent: {
|
|
876
884
|
extent: [Point, Point] | null;
|
|
877
885
|
};
|
|
878
|
-
updateViewportSize: Size
|
|
886
|
+
updateViewportSize: Size & {
|
|
887
|
+
preserveCenter?: boolean;
|
|
888
|
+
};
|
|
879
889
|
fitView: FitViewOptions | undefined;
|
|
880
890
|
pushViewport: undefined;
|
|
881
891
|
popViewport: undefined;
|
|
@@ -1180,6 +1190,7 @@ declare function createFlowEngine(store: FlowStore, initialOptions?: FlowEngineO
|
|
|
1180
1190
|
setViewport: Viewport;
|
|
1181
1191
|
setFitFrame: {
|
|
1182
1192
|
frame: Rect | null;
|
|
1193
|
+
preserveCenter?: boolean;
|
|
1183
1194
|
};
|
|
1184
1195
|
panBy: Point;
|
|
1185
1196
|
zoomTo: {
|
|
@@ -1213,7 +1224,9 @@ declare function createFlowEngine(store: FlowStore, initialOptions?: FlowEngineO
|
|
|
1213
1224
|
setNodeExtent: {
|
|
1214
1225
|
extent: [Point, Point] | null;
|
|
1215
1226
|
};
|
|
1216
|
-
updateViewportSize: Size
|
|
1227
|
+
updateViewportSize: Size & {
|
|
1228
|
+
preserveCenter?: boolean;
|
|
1229
|
+
};
|
|
1217
1230
|
fitView: FitViewOptions | undefined;
|
|
1218
1231
|
pushViewport: undefined;
|
|
1219
1232
|
popViewport: undefined;
|
|
@@ -1985,7 +1998,7 @@ type FlowStoreContext = {
|
|
|
1985
1998
|
autoLayout: AutoLayoutState;
|
|
1986
1999
|
/** Transient visual offsets for an in-flight layout animation. */
|
|
1987
2000
|
layoutAnimation: {
|
|
1988
|
-
status:
|
|
2001
|
+
status: 'idle' | 'running';
|
|
1989
2002
|
offsets: Map<string, Point>;
|
|
1990
2003
|
};
|
|
1991
2004
|
colorMode: FlowColorMode;
|
|
@@ -2006,7 +2019,7 @@ type FlowStoreContext = {
|
|
|
2006
2019
|
*/
|
|
2007
2020
|
configRevision: number;
|
|
2008
2021
|
};
|
|
2009
|
-
type FlowColorMode =
|
|
2022
|
+
type FlowColorMode = 'light' | 'dark' | 'system';
|
|
2010
2023
|
/** kind → (entity id → metadata) */
|
|
2011
2024
|
type FlowHighlights = Map<string, Map<string, unknown>>;
|
|
2012
2025
|
type FlowHighlightEntry = {
|
|
@@ -2054,31 +2067,31 @@ type FlowStoreOptions = {
|
|
|
2054
2067
|
* - 'retarget': edges connected to deleted node become self-loops on the other endpoint
|
|
2055
2068
|
* - function: custom logic — receives graph + node ids to delete, returns { nodes, edges } to keep
|
|
2056
2069
|
*/
|
|
2057
|
-
onDeleteNodes?:
|
|
2070
|
+
onDeleteNodes?: 'cascade' | 'retarget' | ((graph: FlowGraph, nodeIds: Set<string>) => {
|
|
2058
2071
|
nodes: FlowNode[];
|
|
2059
2072
|
edges: FlowEdge[];
|
|
2060
2073
|
});
|
|
2061
2074
|
};
|
|
2062
|
-
type FlowRuntimeSettings = Pick<FlowStoreOptions,
|
|
2075
|
+
type FlowRuntimeSettings = Pick<FlowStoreOptions, 'dragThreshold' | 'constrainNodeMovement' | 'autoPanOnDrag' | 'autoPanThreshold' | 'autoPanSpeed' | 'enableSnapLines' | 'snapThreshold' | 'enableSpacingGuides' | 'boxSelectionTest' | 'labelAnchor'>;
|
|
2063
2076
|
type LayoutRequestedEvent = {
|
|
2064
2077
|
algorithm: string;
|
|
2065
2078
|
graph: FlowGraph;
|
|
2066
2079
|
};
|
|
2067
2080
|
type ConnectEndTarget = {
|
|
2068
|
-
kind:
|
|
2081
|
+
kind: 'node';
|
|
2069
2082
|
nodeId: string;
|
|
2070
2083
|
port: string | null;
|
|
2071
2084
|
} | {
|
|
2072
|
-
kind:
|
|
2085
|
+
kind: 'edge';
|
|
2073
2086
|
edgeId: string;
|
|
2074
2087
|
} | {
|
|
2075
|
-
kind:
|
|
2088
|
+
kind: 'canvas';
|
|
2076
2089
|
position: Point;
|
|
2077
2090
|
} | {
|
|
2078
|
-
kind:
|
|
2091
|
+
kind: 'none';
|
|
2079
2092
|
};
|
|
2080
2093
|
type ConnectionEndedEvent = {
|
|
2081
|
-
status:
|
|
2094
|
+
status: 'connected' | 'cancelled' | 'invalid';
|
|
2082
2095
|
source: {
|
|
2083
2096
|
nodeId: string;
|
|
2084
2097
|
port: string | null;
|
|
@@ -2246,13 +2259,13 @@ type FlowEventPayloadMap = {
|
|
|
2246
2259
|
commitDrag: TransactionMetadata | undefined;
|
|
2247
2260
|
select: {
|
|
2248
2261
|
ids: string[];
|
|
2249
|
-
mode?:
|
|
2262
|
+
mode?: 'single' | 'multi';
|
|
2250
2263
|
};
|
|
2251
2264
|
selectAll: undefined;
|
|
2252
2265
|
clearSelection: undefined;
|
|
2253
2266
|
selectionBoxStart: {
|
|
2254
2267
|
point: Point;
|
|
2255
|
-
mode?:
|
|
2268
|
+
mode?: 'single' | 'multi';
|
|
2256
2269
|
};
|
|
2257
2270
|
selectionBoxMove: {
|
|
2258
2271
|
point: Point;
|
|
@@ -2295,6 +2308,7 @@ type FlowEventPayloadMap = {
|
|
|
2295
2308
|
setViewport: Viewport;
|
|
2296
2309
|
setFitFrame: {
|
|
2297
2310
|
frame: Rect | null;
|
|
2311
|
+
preserveCenter?: boolean;
|
|
2298
2312
|
};
|
|
2299
2313
|
panBy: Point;
|
|
2300
2314
|
zoomTo: {
|
|
@@ -2328,7 +2342,9 @@ type FlowEventPayloadMap = {
|
|
|
2328
2342
|
setNodeExtent: {
|
|
2329
2343
|
extent: [Point, Point] | null;
|
|
2330
2344
|
};
|
|
2331
|
-
updateViewportSize: Size
|
|
2345
|
+
updateViewportSize: Size & {
|
|
2346
|
+
preserveCenter?: boolean;
|
|
2347
|
+
};
|
|
2332
2348
|
fitView: FitViewOptions | undefined;
|
|
2333
2349
|
pushViewport: undefined;
|
|
2334
2350
|
popViewport: undefined;
|
|
@@ -2345,7 +2361,7 @@ type FlowEventPayloadMap = {
|
|
|
2345
2361
|
position: Point;
|
|
2346
2362
|
active?: boolean;
|
|
2347
2363
|
reconnectingEdgeId?: string | null;
|
|
2348
|
-
reconnectingEnd?:
|
|
2364
|
+
reconnectingEnd?: 'source' | 'target' | null;
|
|
2349
2365
|
preview?: boolean;
|
|
2350
2366
|
};
|
|
2351
2367
|
connectionMove: {
|
|
@@ -2430,8 +2446,8 @@ type FlowEventPayloadMap = {
|
|
|
2430
2446
|
} & TransactionMetadata;
|
|
2431
2447
|
reportError: FlowErrorEvent;
|
|
2432
2448
|
};
|
|
2433
|
-
type FlowNodePatch = Partial<Omit<FlowNode,
|
|
2434
|
-
type FlowEdgePatch = Partial<Omit<FlowEdge,
|
|
2449
|
+
type FlowNodePatch = Partial<Omit<FlowNode, 'id' | 'type' | 'parentId'>>;
|
|
2450
|
+
type FlowEdgePatch = Partial<Omit<FlowEdge, 'id' | 'type' | 'sourceId' | 'targetId' | 'sourcePort' | 'targetPort'>>;
|
|
2435
2451
|
type FlowNodeUpdater = (node: FlowNode) => FlowNode;
|
|
2436
2452
|
type FlowEdgeUpdater = (edge: FlowEdge) => FlowEdge;
|
|
2437
2453
|
type FlowUpdateNodeEvent = {
|
|
@@ -2448,8 +2464,8 @@ type TransactionMetadata = {
|
|
|
2448
2464
|
transactionId?: string;
|
|
2449
2465
|
origin?: string;
|
|
2450
2466
|
};
|
|
2451
|
-
type FlowGraphRetentionPolicy =
|
|
2452
|
-
type FlowGraphHistoryPolicy =
|
|
2467
|
+
type FlowGraphRetentionPolicy = 'preserve' | 'reset';
|
|
2468
|
+
type FlowGraphHistoryPolicy = 'reset' | 'ignore' | 'record';
|
|
2453
2469
|
type ReplaceGraphMetadata = TransactionMetadata & {
|
|
2454
2470
|
retention?: FlowGraphRetentionPolicy;
|
|
2455
2471
|
history?: FlowGraphHistoryPolicy;
|
|
@@ -2491,6 +2507,18 @@ type AnimateViewportOptions = ViewportAnimationOptions & {
|
|
|
2491
2507
|
declare function animateViewport(store: FlowStore, target: Viewport, options?: AnimateViewportOptions): ViewportAnimationControls;
|
|
2492
2508
|
//#endregion
|
|
2493
2509
|
//#region src/viewport/index.d.ts
|
|
2510
|
+
type FitViewExclusionSide = 'top' | 'right' | 'bottom' | 'left' | 'nearest';
|
|
2511
|
+
type FitViewExclusion = {
|
|
2512
|
+
/** Read the current exclusion in viewport-local screen pixels. */
|
|
2513
|
+
getRect: () => Rect | null;
|
|
2514
|
+
/** Edge whose band this overlay occupies. Defaults to the nearest edge. */
|
|
2515
|
+
side?: FitViewExclusionSide;
|
|
2516
|
+
/** Additional screen-pixel clearance beyond the measured overlay. */
|
|
2517
|
+
gap?: number;
|
|
2518
|
+
};
|
|
2519
|
+
type ResolvedFitViewExclusion = Omit<FitViewExclusion, 'getRect'> & {
|
|
2520
|
+
rect: Rect;
|
|
2521
|
+
};
|
|
2494
2522
|
/** Create a default viewport (origin, no zoom) */
|
|
2495
2523
|
declare function createViewport(x?: number, y?: number, zoom?: number): Viewport;
|
|
2496
2524
|
/**
|
|
@@ -2528,6 +2556,11 @@ declare function clampZoom(zoom: number, minZoom: number, maxZoom: number): numb
|
|
|
2528
2556
|
declare function viewportCenteredOn(center: Point, size: Size, zoom: number, frame?: Rect): Viewport;
|
|
2529
2557
|
/** Validate and clone a positive finite screen-space fit frame. */
|
|
2530
2558
|
declare function validateFitFrame(frame: Rect): Rect;
|
|
2559
|
+
/**
|
|
2560
|
+
* Reduce a fit frame by measured floating overlays. Each overlay reserves the
|
|
2561
|
+
* band between itself and its assigned (or nearest) frame edge.
|
|
2562
|
+
*/
|
|
2563
|
+
declare function fitFrameAroundExclusions(frame: Rect, exclusions: Iterable<ResolvedFitViewExclusion>): Rect;
|
|
2531
2564
|
//#endregion
|
|
2532
2565
|
//#region src/validation.d.ts
|
|
2533
2566
|
type FlowResult<T, TError = FlowGraphValidationError> = {
|
|
@@ -2843,7 +2876,11 @@ type FlowViewportApi = {
|
|
|
2843
2876
|
frame?: Rect;
|
|
2844
2877
|
}) => ViewportAnimationControls;
|
|
2845
2878
|
getFitFrame: () => Readonly<Rect>;
|
|
2846
|
-
setFitFrame: (frame: Rect | null
|
|
2879
|
+
setFitFrame: (frame: Rect | null, options?: {
|
|
2880
|
+
preserveCenter?: boolean;
|
|
2881
|
+
}) => void;
|
|
2882
|
+
/** Register a measured screen-space overlay that fit/center commands avoid. */
|
|
2883
|
+
registerFitExclusion: (exclusion: FitViewExclusion) => () => void;
|
|
2847
2884
|
};
|
|
2848
2885
|
type FlowLayoutApi<TNodeData = any, TEdgeData = any, TLabelData = any> = {
|
|
2849
2886
|
run: (layout?: LayoutAlgorithm<TNodeData, TEdgeData, TLabelData>, options?: LayoutRunOptions) => Promise<LayoutRunResult>;
|
|
@@ -3311,4 +3348,4 @@ declare const readonlyConfig: Partial<FlowConfig>;
|
|
|
3311
3348
|
*/
|
|
3312
3349
|
declare function resolveBehavior<TEntity, TState>(predicate: ((entity: TEntity, state: TState) => boolean) | false | undefined, entity: TEntity, state: TState, defaultValue?: boolean): boolean;
|
|
3313
3350
|
//#endregion
|
|
3314
|
-
export { type ActiveGraphProjection, type AnchorSpec, type AnchorTransform, type AnimateViewportOptions, type AutoLayoutState, type AvoidRouterOptions, type BehaviorPredicate, type BezierRouterOptions, type BoxSelectModeOptions, type BoxSelectionTest, CONNECTION_PREVIEW_EDGE_ID, CONNECTION_PREVIEW_NODE_ID, type CanvasState, type ComposedGraphProjectionAttrs, type ConnectEndTarget, type ConnectModeOptions, type ConnectionCandidate, type ConnectionCandidateOptions, type ConnectionCandidateSource, type ConnectionEndedEvent, type ConnectionPreviewData, type ConnectionPreviewGraphOptions, type ConnectionState, type ConnectionValidationContext, type ConnectionValidationResult, type CreateEdgeInput, type CreateFlowOptions, type CreateNodeInput, type Direction, type EdgeAdjacencyIndex, type EdgeDirection, type EdgePathData, type EdgePathOptions, type EdgeRouter, type EdgeRouterContext, type EdgeRouterGraph, type EdgeSourceBoundsContext, type EntityRect, type EntityVisualState, type FitViewOptions, type FlowAbortSignal, type FlowAddressable, type FlowAutoSizeAnchor, type FlowCapabilityCommand, type FlowCapabilityResult, type FlowChangeSet, type FlowColorMode, type FlowCommand, type FlowCommitEvent, type FlowConfig, type FlowConfiguration, type FlowConfigureOptions, type FlowConnectMovedEvent, type FlowConnectStartedEvent, type FlowConnection, type FlowConnectionMode, type FlowConnectionOptions, type FlowConnectionsApi, type FlowContent, type FlowContentApi, type FlowContentInsertResult, type FlowController, type FlowCreateIdContext, type FlowDataSchema, type FlowDataSchemas, type FlowDataVersions, type FlowDragEndedEvent, type FlowDragMovedEvent, type FlowDragStartedEvent, type FlowEdge, type FlowEdgeAttributes, type FlowEdgeLabel, type FlowEdgePatch, type FlowEdgeStyle, type FlowEdgeUpdater, type FlowEdgesApi, type FlowEngine, type FlowEngineOptions, type FlowEntitiesDeletedEvent, type FlowEntityChangeNotifier, type FlowEntityChangeNotifierOptions, type FlowEntityGestureEvent, type FlowEntityRef, type FlowEntityUpdate, type FlowErrorEvent, type FlowEventObject, type FlowGestureModifiers, type FlowGraph, type FlowGraphChangedEvent, type FlowGraphHistoryPolicy, type FlowGraphRetentionPolicy, FlowGraphValidationError, type FlowHighlightEntry, type FlowHighlights, type FlowHighlightsApi, type FlowHistoryApi, type FlowInputEffects, type FlowInputEvent, type FlowInputMode, type FlowInputModeContext, type FlowInputModifiers, type FlowInputProfile, type FlowInputReaction, type FlowInputRuntime, type FlowInputRuntimeOptions, type FlowInputSessionHandlers, type FlowInputTarget, type FlowKeyBinding, type FlowKeyInputEvent, type FlowKeymap, type FlowLayoutApi, type FlowModeDefinition, type FlowNode, type FlowNodeAttributes, type FlowNodePatch, type FlowNodeUpdater, type FlowNodesApi, type FlowOrigin, type FlowPaneGestureEvent, type FlowPatch, type FlowPinchInputEvent, type FlowPointerInputEvent, type FlowPolicies, type FlowPort, type FlowProfile, type FlowProjectionListener, type FlowProjectionsApi, type FlowReplaceGraphOptions, type FlowResizeEndedEvent, type FlowResizeStartedEvent, type FlowResolvers, type FlowResult, type FlowRules, type FlowRuntimeSettings, type FlowSelectionAlignment, type FlowSelectionApi, type FlowSelectionChangedEvent, type FlowSelectionDistribution, type FlowSelectionDuplicateResult, type FlowSerialized, type FlowSessionResult, type FlowSettings, type FlowStore, type FlowStoreContext, type FlowStoreOptions, type FlowTransactionDraft, type FlowTransactionOptions, type FlowTransition, type FlowTransitions, type FlowTriggerCommand, type FlowTriggerName, type FlowUpdateEdgeEvent, type FlowUpdateNodeEvent, type FlowValidationIssue, type FlowViewApi, type FlowViewBoundaryEndpoints, type FlowViewChangedEvent, type FlowViewEndpoint, type FlowViewEntities, type FlowViewScope, type FlowViewSelectionPolicy, type FlowViewportApi, type FlowViewportChangedEvent, type FlowWheelInputEvent, type Graph, type GraphDecoration, type GraphEdge, type GraphEdgeAttrs, type GraphNode, type GraphNodeAttrs, type GraphPort, type GraphProjection, type GraphProjectionMapper, type GroupContentSide, type GroupGeometry, type GroupInsets, type GroupLayout, type InteractionMode, type LabelAnchor, type LayoutAlgorithm, type LayoutAnimationControls, type LayoutAnimationOptions, type LayoutApplyOptions, type LayoutDiagnostic, type LayoutEdgeRoute, type LayoutPositions, type LayoutRequestedEvent, type LayoutResult, type LayoutRunOptions, type LayoutRunResult, type MarkerType, type MinimapProjection, type MinimapProjectionOptions, type PathData, type Point, type PortDirection, type ProposedConnection, type ReconnectModeOptions, type Rect, type RenderableEntitiesOptions, type ReparentDecision, type ReparentDropContext, type ReparentOptions, type ResizeConstraints, type ResizeHandle, type SelectionMode, type ShapeHandler, type Side, type Size, type SnapLine, type SnapOptions, type SnapResult, type SpacingGuide, type StandardSchemaV1Like, type StepRouterOptions, type StyleOverrides, type ToolbarPlacement, type ToolbarPlacementInput, type Viewport, type ViewportAnimationCancelFrame, type ViewportAnimationControls, type ViewportAnimationFrame, type ViewportAnimationOptions, type VisualEdge, type VisualGraph, type VisualNode, type VisualPort, type WheelInteraction, type WheelInteractionOptions, animateViewport, applyFlowPatches, areNodesMeasured, avoidRouter, bestDirection, bezierRouter, boxSelectMode, boxToRect, calcAutoPan, canvasToScreen, clampZoom, cloneJsonSafe, composeGraphProjectionAttrs, configureAvoidRouter, configureBezierRouter, configureStepRouter, connectMode, constrainViewport, createConnectionPreviewGraph, createEdge, createEntityChangeNotifier, createFlow, createFlowChangeSet, createFlowEngine, createFlowInputRuntime, createFlowStore, createGraph, createNode, createPort, createViewport, defaultConfig, defaultFlowProfile, defaultInputModes, defaultInputModesForKeymap, defaultKeymap, defaultModesForContext, defineFlowProfile, deriveFlowView, deriveGroupGeometry, entityPressMode, extractFlowContent, fixedGroupGeometry, fromJSON, getAnchorTransform, getAutoPanDelta, getConnectedEdges, getEdgeOwner, getGraphBounds, getIncomers, getMinimapProjection, getNeighbors, getOutgoers, getProjectedEdgeAttrs, getProjectedNodeAttrs, getSelectionBounds, getShape, getShapeOrDefault, getSnapLines, getToolbarPlacement, getVisibleBounds, hoverMode, indexChildren, indexEdgeAdjacency, indexEdges, indexNodes, insertFlowContent, isDerivedGroup, isGroup, isTrackpadPinch, keyboardMode, keyboardNavMode, matchesKeyBinding, mergeGraphEdgeAttrs, mergeGraphNodeAttrs, nodeDepths, normalizeWheelPan, panBy, panMode, panePressMode, parseFlowSerialized, pathToSVG, pinchMode, preventDefault, profileModesForContext, profilePoliciesForContext, readonlyConfig, readonlyInputModes, readonlyInputModesForKeymap, reconnectMode, rectContains, rectsIntersect, registerShape, resizeMode, resolveBehavior, resolveGroupPadding, resolveKeymap, resolvedBounds, resolvedEdgeLabelBounds, resolvedEdgeLabelSize, resolvedPosition, screenToCanvas, selectMode, serializeFlowGraph, snapPointToGrid, snapToGrid, snappedBounds, sortActiveGraphProjections, stepRouter, straightRouter, toSVGTransform, toViewBox, trigger, unionRect, validateAndCloneGraph, validateFitFrame, validateViewport, viewportCenteredOn, viewportForBounds, visualBounds, visualPosition, wheelInteraction, wheelMode, wheelZoomDelta, zoomTo };
|
|
3351
|
+
export { type ActiveGraphProjection, type AnchorSpec, type AnchorTransform, type AnimateViewportOptions, type AutoLayoutState, type AvoidRouterOptions, type BehaviorPredicate, type BezierRouterOptions, type BoxSelectModeOptions, type BoxSelectionTest, CONNECTION_PREVIEW_EDGE_ID, CONNECTION_PREVIEW_NODE_ID, type CanvasState, type ComposedGraphProjectionAttrs, type ConnectEndTarget, type ConnectModeOptions, type ConnectionCandidate, type ConnectionCandidateOptions, type ConnectionCandidateSource, type ConnectionEndedEvent, type ConnectionPreviewData, type ConnectionPreviewGraphOptions, type ConnectionState, type ConnectionValidationContext, type ConnectionValidationResult, type CreateEdgeInput, type CreateFlowOptions, type CreateNodeInput, type Direction, type EdgeAdjacencyIndex, type EdgeDirection, type EdgePathData, type EdgePathOptions, type EdgeRouter, type EdgeRouterContext, type EdgeRouterGraph, type EdgeSourceBoundsContext, type EntityRect, type EntityVisualState, type FitViewExclusion, type FitViewExclusionSide, type FitViewOptions, type FlowAbortSignal, type FlowAddressable, type FlowAutoSizeAnchor, type FlowCapabilityCommand, type FlowCapabilityResult, type FlowChangeSet, type FlowColorMode, type FlowCommand, type FlowCommitEvent, type FlowConfig, type FlowConfiguration, type FlowConfigureOptions, type FlowConnectMovedEvent, type FlowConnectStartedEvent, type FlowConnection, type FlowConnectionMode, type FlowConnectionOptions, type FlowConnectionsApi, type FlowContent, type FlowContentApi, type FlowContentInsertResult, type FlowController, type FlowCreateIdContext, type FlowDataSchema, type FlowDataSchemas, type FlowDataVersions, type FlowDragEndedEvent, type FlowDragMovedEvent, type FlowDragStartedEvent, type FlowEdge, type FlowEdgeAttributes, type FlowEdgeLabel, type FlowEdgePatch, type FlowEdgeStyle, type FlowEdgeUpdater, type FlowEdgesApi, type FlowEngine, type FlowEngineOptions, type FlowEntitiesDeletedEvent, type FlowEntityChangeNotifier, type FlowEntityChangeNotifierOptions, type FlowEntityGestureEvent, type FlowEntityRef, type FlowEntityUpdate, type FlowErrorEvent, type FlowEventObject, type FlowGestureModifiers, type FlowGraph, type FlowGraphChangedEvent, type FlowGraphHistoryPolicy, type FlowGraphRetentionPolicy, FlowGraphValidationError, type FlowHighlightEntry, type FlowHighlights, type FlowHighlightsApi, type FlowHistoryApi, type FlowInputEffects, type FlowInputEvent, type FlowInputMode, type FlowInputModeContext, type FlowInputModifiers, type FlowInputProfile, type FlowInputReaction, type FlowInputRuntime, type FlowInputRuntimeOptions, type FlowInputSessionHandlers, type FlowInputTarget, type FlowKeyBinding, type FlowKeyInputEvent, type FlowKeymap, type FlowLayoutApi, type FlowModeDefinition, type FlowNode, type FlowNodeAttributes, type FlowNodePatch, type FlowNodeUpdater, type FlowNodesApi, type FlowOrigin, type FlowPaneGestureEvent, type FlowPatch, type FlowPinchInputEvent, type FlowPointerInputEvent, type FlowPolicies, type FlowPort, type FlowProfile, type FlowProjectionListener, type FlowProjectionsApi, type FlowReplaceGraphOptions, type FlowResizeEndedEvent, type FlowResizeStartedEvent, type FlowResolvers, type FlowResult, type FlowRules, type FlowRuntimeSettings, type FlowSelectionAlignment, type FlowSelectionApi, type FlowSelectionChangedEvent, type FlowSelectionDistribution, type FlowSelectionDuplicateResult, type FlowSerialized, type FlowSessionResult, type FlowSettings, type FlowStore, type FlowStoreContext, type FlowStoreOptions, type FlowTransactionDraft, type FlowTransactionOptions, type FlowTransition, type FlowTransitions, type FlowTriggerCommand, type FlowTriggerName, type FlowUpdateEdgeEvent, type FlowUpdateNodeEvent, type FlowValidationIssue, type FlowViewApi, type FlowViewBoundaryEndpoints, type FlowViewChangedEvent, type FlowViewEndpoint, type FlowViewEntities, type FlowViewScope, type FlowViewSelectionPolicy, type FlowViewportApi, type FlowViewportChangedEvent, type FlowWheelInputEvent, type Graph, type GraphDecoration, type GraphEdge, type GraphEdgeAttrs, type GraphNode, type GraphNodeAttrs, type GraphPort, type GraphProjection, type GraphProjectionMapper, type GroupContentSide, type GroupGeometry, type GroupInsets, type GroupLayout, type InteractionMode, type LabelAnchor, type LayoutAlgorithm, type LayoutAnimationControls, type LayoutAnimationOptions, type LayoutApplyOptions, type LayoutDiagnostic, type LayoutEdgeRoute, type LayoutPositions, type LayoutRequestedEvent, type LayoutResult, type LayoutRunOptions, type LayoutRunResult, type MarkerType, type MinimapProjection, type MinimapProjectionOptions, type PathData, type Point, type PortDirection, type ProposedConnection, type ReconnectModeOptions, type Rect, type RenderableEntitiesOptions, type ReparentDecision, type ReparentDropContext, type ReparentOptions, type ResizeConstraints, type ResizeHandle, type ResolvedFitViewExclusion, type SelectionMode, type ShapeHandler, type Side, type Size, type SnapLine, type SnapOptions, type SnapResult, type SpacingGuide, type StandardSchemaV1Like, type StepRouterOptions, type StyleOverrides, type ToolbarPlacement, type ToolbarPlacementInput, type Viewport, type ViewportAnimationCancelFrame, type ViewportAnimationControls, type ViewportAnimationFrame, type ViewportAnimationOptions, type VisualEdge, type VisualGraph, type VisualNode, type VisualPort, type WheelInteraction, type WheelInteractionOptions, animateViewport, applyFlowPatches, areNodesMeasured, avoidRouter, bestDirection, bezierRouter, boxSelectMode, boxToRect, calcAutoPan, canvasToScreen, clampZoom, cloneJsonSafe, composeGraphProjectionAttrs, configureAvoidRouter, configureBezierRouter, configureStepRouter, connectMode, constrainViewport, createConnectionPreviewGraph, createEdge, createEntityChangeNotifier, createFlow, createFlowChangeSet, createFlowEngine, createFlowInputRuntime, createFlowStore, createGraph, createNode, createPort, createViewport, defaultConfig, defaultFlowProfile, defaultInputModes, defaultInputModesForKeymap, defaultKeymap, defaultModesForContext, defineFlowProfile, deriveFlowView, deriveGroupGeometry, entityPressMode, extractFlowContent, fitFrameAroundExclusions, fixedGroupGeometry, fromJSON, getAnchorTransform, getAutoPanDelta, getConnectedEdges, getEdgeOwner, getGraphBounds, getIncomers, getMinimapProjection, getNeighbors, getOutgoers, getProjectedEdgeAttrs, getProjectedNodeAttrs, getSelectionBounds, getShape, getShapeOrDefault, getSnapLines, getToolbarPlacement, getVisibleBounds, hoverMode, indexChildren, indexEdgeAdjacency, indexEdges, indexNodes, insertFlowContent, isDerivedGroup, isGroup, isTrackpadPinch, keyboardMode, keyboardNavMode, matchesKeyBinding, mergeGraphEdgeAttrs, mergeGraphNodeAttrs, nodeDepths, normalizeWheelPan, panBy, panMode, panePressMode, parseFlowSerialized, pathToSVG, pinchMode, preventDefault, profileModesForContext, profilePoliciesForContext, readonlyConfig, readonlyInputModes, readonlyInputModesForKeymap, reconnectMode, rectContains, rectsIntersect, registerShape, resizeMode, resolveBehavior, resolveGroupPadding, resolveKeymap, resolvedBounds, resolvedEdgeLabelBounds, resolvedEdgeLabelSize, resolvedPosition, screenToCanvas, selectMode, serializeFlowGraph, snapPointToGrid, snapToGrid, snappedBounds, sortActiveGraphProjections, stepRouter, straightRouter, toSVGTransform, toViewBox, trigger, unionRect, validateAndCloneGraph, validateFitFrame, validateViewport, viewportCenteredOn, viewportForBounds, visualBounds, visualPosition, wheelInteraction, wheelMode, wheelZoomDelta, zoomTo };
|