@likec4/diagram 1.31.0 → 1.32.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/bundle/{chunk-BBzMXzCg.js → chunk-BvTQaUYl.js} +1675 -1207
- package/bundle/custom.js +50 -47
- package/bundle/index.js +2482 -2438
- package/dist/LikeC4CustomColors.d.ts +2 -7
- package/dist/LikeC4CustomColors.js +17 -6
- package/dist/LikeC4Diagram.d.ts +3 -2
- package/dist/LikeC4Diagram.js +10 -14
- package/dist/LikeC4Diagram.props.d.ts +28 -22
- package/dist/LikeC4ModelProvider.d.ts +5 -4
- package/dist/StaticLikeC4Diagram.d.ts +3 -2
- package/dist/StaticLikeC4Diagram.js +2 -2
- package/dist/base/BaseXYFlow.js +5 -5
- package/dist/base/const.d.ts +1 -1
- package/dist/base/const.js +1 -1
- package/dist/base/index.d.ts +2 -1
- package/dist/base/primitives/compound/CompoundActionButton.js +2 -1
- package/dist/base/primitives/compound/CompoundDetailsButton.js +2 -1
- package/dist/base/primitives/compound/CompoundTitle.d.ts +1 -1
- package/dist/base/primitives/compound/CompoundTitle.js +2 -1
- package/dist/base/primitives/edge/EdgeContainer.d.ts +1 -1
- package/dist/base/primitives/edge/EdgeLabel.css.js +1 -0
- package/dist/base/primitives/edge/EdgeLabel.d.ts +3 -3
- package/dist/base/primitives/edge/EdgeLabel.js +6 -4
- package/dist/base/primitives/edge/EdgeLabelContainer.d.ts +1 -1
- package/dist/base/primitives/edge/EdgeMarkers.d.ts +1 -1
- package/dist/base/primitives/edge/EdgePath.d.ts +1 -1
- package/dist/base/primitives/element/ElementActionButtons.js +10 -9
- package/dist/base/primitives/element/ElementDetailsButton.js +2 -1
- package/dist/base/primitives/element/ElementShape.d.ts +1 -1
- package/dist/base/primitives/element/ElementTags.d.ts +14 -0
- package/dist/base/primitives/element/ElementTags.js +176 -0
- package/dist/base/primitives/element/ElementTitle.d.ts +5 -4
- package/dist/base/primitives/element/ElementTitle.js +6 -6
- package/dist/base/primitives/index.d.ts +1 -0
- package/dist/base/types.Base.d.ts +54 -0
- package/dist/base/types.Base.js +48 -0
- package/dist/base/types.d.ts +2 -52
- package/dist/bundle/LikeC4View.d.ts +2 -1
- package/dist/bundle/LikeC4View.js +8 -6
- package/dist/bundle/LikeC4View.props.d.ts +15 -4
- package/dist/bundle/ReactLikeC4.d.ts +4 -7
- package/dist/bundle/ReactLikeC4.js +3 -2
- package/dist/bundle/index.js +1 -1
- package/dist/components/ErrorFallback.d.ts +2 -0
- package/dist/components/ErrorFallback.js +29 -0
- package/dist/context/DiagramEventHandlers.d.ts +6 -5
- package/dist/context/DiagramFeatures.d.ts +2 -2
- package/dist/context/DiagramFeatures.js +3 -31
- package/dist/context/EnsureMantine.js +1 -1
- package/dist/context/IconRenderer.js +1 -4
- package/dist/context/RootContainer.js +5 -1
- package/dist/context/TagStylesContext.d.ts +7 -0
- package/dist/context/TagStylesContext.js +85 -0
- package/dist/custom/components.d.ts +1 -1
- package/dist/custom/customNodes.d.ts +27 -17
- package/dist/custom/hooks.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useDiagram.d.ts +73 -38
- package/dist/hooks/useDiagram.js +7 -3
- package/dist/hooks/useMantinePortalProps.d.ts +2 -2
- package/dist/hooks/useSearchActor.d.ts +2 -0
- package/dist/hooks/useSearchActor.js +10 -0
- package/dist/hooks/useUpdateEffect.js +3 -0
- package/dist/hooks/useXYFlow.d.ts +39 -37
- package/dist/hooks/useXYFlow.js +5 -1
- package/dist/index.js +1 -1
- package/dist/likec4diagram/DiagramUI.js +7 -2
- package/dist/likec4diagram/DiagramXYFlow.d.ts +4 -3
- package/dist/likec4diagram/DiagramXYFlow.js +104 -107
- package/dist/likec4diagram/custom/edges/RelationshipEdge.d.ts +7 -6
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +8 -0
- package/dist/likec4diagram/custom/edges/RelationshipsDropdownMenu.js +7 -5
- package/dist/likec4diagram/custom/index.d.ts +7 -6
- package/dist/likec4diagram/custom/nodes/nodes.js +39 -26
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.d.ts +3 -3
- package/dist/likec4diagram/types.d.ts +5 -5
- package/dist/likec4diagram/ui/controls/Controls.js +12 -4
- package/dist/likec4diagram/ui/notation/NotationPanel.js +1 -1
- package/dist/likec4diagram/useViewToNodesEdges.d.ts +5 -3
- package/dist/likec4diagram/useViewToNodesEdges.js +20 -30
- package/dist/likec4model/LikeC4ModelContext.d.ts +2 -2
- package/dist/likec4model/useLikeC4ElementsTree.js +1 -1
- package/dist/likec4model/useLikeC4Model.d.ts +22 -10
- package/dist/likec4model/useLikeC4Model.js +11 -7
- package/dist/overlays/Overlays.js +4 -27
- package/dist/overlays/element-details/ElementDetailsCard.d.ts +1 -1
- package/dist/overlays/element-details/ElementDetailsCard.js +19 -12
- package/dist/overlays/element-details/TabPanelDeployments.d.ts +1 -1
- package/dist/overlays/element-details/TabPanelDeployments.js +1 -1
- package/dist/overlays/element-details/TabPanelRelationships.d.ts +1 -1
- package/dist/overlays/element-details/TabPanelStructure.d.ts +1 -1
- package/dist/overlays/element-details/actor.d.ts +288 -286
- package/dist/overlays/overlay/Overlay.css.d.ts +57 -2
- package/dist/overlays/overlay/Overlay.css.js +76 -39
- package/dist/overlays/overlay/Overlay.d.ts +12 -0
- package/dist/overlays/overlay/Overlay.js +36 -25
- package/dist/overlays/overlaysActor.d.ts +1 -1
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +3 -2
- package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
- package/dist/overlays/relationship-details/_types.d.ts +2 -2
- package/dist/overlays/relationship-details/actor.js +7 -7
- package/dist/overlays/relationship-details/custom/edgeTypes.d.ts +3 -2
- package/dist/overlays/relationship-details/custom/nodeTypes.js +4 -0
- package/dist/overlays/relationship-details/hooks.d.ts +10 -9
- package/dist/overlays/relationship-details/layout-to-xyflow.js +1 -0
- package/dist/overlays/relationship-details/layout.js +3 -1
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +3 -2
- package/dist/overlays/relationships-browser/SelectElement.js +1 -1
- package/dist/overlays/relationships-browser/_types.d.ts +2 -2
- package/dist/overlays/relationships-browser/actor.d.ts +1 -1
- package/dist/overlays/relationships-browser/actor.js +7 -7
- package/dist/overlays/relationships-browser/custom/edgeTypes.d.ts +3 -2
- package/dist/overlays/relationships-browser/custom/nodeTypes.d.ts +8 -5
- package/dist/overlays/relationships-browser/custom/nodeTypes.js +4 -0
- package/dist/overlays/relationships-browser/layout.d.ts +2 -2
- package/dist/overlays/relationships-browser/layout.js +10 -6
- package/dist/overlays/relationships-browser/useViewToNodesEdges.js +4 -3
- package/dist/search/Search.d.ts +5 -0
- package/dist/search/Search.js +192 -0
- package/dist/{likec4diagram/ui/search → search/components}/ElementsColumn.css.js +0 -1
- package/dist/search/components/ElementsColumn.d.ts +2 -0
- package/dist/{likec4diagram/ui/search → search/components}/ElementsColumn.js +21 -19
- package/dist/search/components/PickView.d.ts +4 -0
- package/dist/search/components/PickView.js +135 -0
- package/dist/search/components/SearchByTags.d.ts +1 -0
- package/dist/search/components/SearchByTags.js +116 -0
- package/dist/search/components/SearchInput.d.ts +2 -0
- package/dist/{likec4diagram/ui/search → search/components}/SearchInput.js +53 -34
- package/dist/{likec4diagram/ui/search → search/components}/ViewsColum.d.ts +3 -2
- package/dist/{likec4diagram/ui/search → search/components}/ViewsColum.js +14 -13
- package/dist/{likec4diagram/ui/search → search/components}/_shared.css.js +26 -35
- package/dist/{likec4diagram/ui/search/LikeC4Search.css.d.ts → search/components/styles.css.d.ts} +0 -2
- package/dist/search/components/styles.css.js +60 -0
- package/dist/{likec4diagram/ui/search → search/components}/utils.d.ts +1 -0
- package/dist/{likec4diagram/ui/search → search/components}/utils.js +7 -1
- package/dist/search/hooks.d.ts +16 -0
- package/dist/search/hooks.js +35 -0
- package/dist/search/searchActor.d.ts +90 -0
- package/dist/search/searchActor.js +75 -0
- package/dist/state/DiagramActorProvider.d.ts +9 -7
- package/dist/state/DiagramActorProvider.js +24 -18
- package/dist/state/assign.d.ts +0 -1
- package/dist/state/assign.js +9 -19
- package/dist/state/diagram-machine.d.ts +430 -176
- package/dist/state/diagram-machine.js +119 -54
- package/dist/state/syncManualLayoutActor.d.ts +2 -2
- package/dist/state/types.d.ts +2 -0
- package/dist/state/utils.d.ts +2 -0
- package/dist/state/utils.js +3 -0
- package/dist/styles-min.css +1 -1
- package/dist/styles-xyflow.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css2.js +1 -1
- package/package.json +18 -18
- package/panda.buildinfo.json +171 -148
- package/src/LikeC4CustomColors.tsx +21 -6
- package/src/LikeC4Diagram.props.ts +35 -30
- package/src/LikeC4Diagram.tsx +19 -20
- package/src/LikeC4ModelProvider.tsx +6 -5
- package/src/StaticLikeC4Diagram.tsx +8 -6
- package/src/base/const.ts +1 -1
- package/src/base/index.ts +2 -1
- package/src/base/primitives/compound/CompoundActionButton.tsx +2 -1
- package/src/base/primitives/compound/CompoundDetailsButton.tsx +2 -1
- package/src/base/primitives/compound/CompoundTitle.tsx +3 -2
- package/src/base/primitives/edge/EdgeContainer.tsx +2 -1
- package/src/base/primitives/edge/EdgeLabel.css.ts +1 -0
- package/src/base/primitives/edge/EdgeLabel.tsx +20 -15
- package/src/base/primitives/edge/EdgeLabelContainer.tsx +1 -1
- package/src/base/primitives/edge/EdgeMarkers.tsx +2 -1
- package/src/base/primitives/edge/EdgePath.tsx +1 -1
- package/src/base/primitives/element/ElementActionButtons.tsx +11 -10
- package/src/base/primitives/element/ElementDetailsButton.tsx +2 -1
- package/src/base/primitives/element/ElementShape.tsx +2 -1
- package/src/base/primitives/element/ElementTags.tsx +182 -0
- package/src/base/primitives/element/ElementTitle.tsx +21 -15
- package/src/base/primitives/index.ts +1 -0
- package/src/base/types.Base.ts +104 -0
- package/src/base/types.ts +2 -99
- package/src/bundle/LikeC4View.props.ts +17 -4
- package/src/bundle/LikeC4View.tsx +17 -19
- package/src/bundle/ReactLikeC4.tsx +14 -26
- package/src/components/ErrorFallback.tsx +30 -0
- package/src/context/DiagramEventHandlers.tsx +5 -4
- package/src/context/DiagramFeatures.tsx +3 -22
- package/src/context/EnsureMantine.tsx +1 -1
- package/src/context/IconRenderer.tsx +1 -4
- package/src/context/RootContainer.tsx +9 -3
- package/src/context/TagStylesContext.tsx +96 -0
- package/src/custom/components.ts +2 -0
- package/src/custom/customNodes.tsx +24 -14
- package/src/custom/hooks.ts +1 -0
- package/src/hooks/index.ts +1 -1
- package/src/hooks/useCurrentViewId.ts +1 -4
- package/src/hooks/useDiagram.ts +104 -12
- package/src/hooks/useMantinePortalProps.ts +10 -1
- package/src/hooks/useSearchActor.ts +11 -0
- package/src/hooks/useUpdateEffect.ts +7 -4
- package/src/hooks/useXYFlow.ts +5 -0
- package/src/likec4diagram/DiagramUI.tsx +5 -0
- package/src/likec4diagram/DiagramXYFlow.tsx +115 -118
- package/src/likec4diagram/custom/edges/RelationshipEdge.tsx +9 -0
- package/src/likec4diagram/custom/edges/RelationshipsDropdownMenu.tsx +10 -9
- package/src/likec4diagram/custom/nodes/nodes.tsx +45 -43
- package/src/likec4diagram/custom/nodes/toolbar/_shared.tsx +11 -3
- package/src/likec4diagram/types.ts +5 -3
- package/src/likec4diagram/ui/controls/Controls.tsx +11 -4
- package/src/likec4diagram/ui/notation/NotationPanel.tsx +2 -2
- package/src/likec4diagram/useViewToNodesEdges.ts +34 -36
- package/src/likec4model/LikeC4ModelContext.ts +2 -2
- package/src/likec4model/useLikeC4ElementsTree.ts +1 -1
- package/src/likec4model/useLikeC4Model.ts +18 -16
- package/src/overlays/Overlays.tsx +5 -32
- package/src/overlays/element-details/ElementDetailsCard.tsx +25 -18
- package/src/overlays/element-details/TabPanelDeployments.tsx +3 -2
- package/src/overlays/element-details/TabPanelRelationships.tsx +2 -1
- package/src/overlays/element-details/TabPanelStructure.tsx +1 -1
- package/src/overlays/element-details/actor.ts +2 -2
- package/src/overlays/overlay/Overlay.css.ts +75 -38
- package/src/overlays/overlay/Overlay.tsx +43 -26
- package/src/overlays/overlaysActor.ts +1 -1
- package/src/overlays/relationship-details/RelationshipDetails.tsx +4 -4
- package/src/overlays/relationship-details/_types.ts +2 -1
- package/src/overlays/relationship-details/custom/nodeTypes.tsx +4 -0
- package/src/overlays/relationship-details/layout-to-xyflow.ts +1 -0
- package/src/overlays/relationship-details/layout.ts +3 -1
- package/src/overlays/relationships-browser/SelectElement.tsx +1 -1
- package/src/overlays/relationships-browser/_types.ts +2 -1
- package/src/overlays/relationships-browser/custom/nodeTypes.tsx +4 -0
- package/src/overlays/relationships-browser/layout.ts +12 -7
- package/src/overlays/relationships-browser/useViewToNodesEdges.ts +4 -4
- package/src/search/Search.tsx +237 -0
- package/src/{likec4diagram/ui/search → search/components}/ElementsColumn.css.ts +0 -29
- package/src/{likec4diagram/ui/search → search/components}/ElementsColumn.tsx +24 -22
- package/src/search/components/PickView.tsx +140 -0
- package/src/search/components/SearchByTags.tsx +109 -0
- package/src/{likec4diagram/ui/search → search/components}/SearchInput.tsx +63 -36
- package/src/{likec4diagram/ui/search → search/components}/ViewsColum.tsx +17 -18
- package/src/{likec4diagram/ui/search → search/components}/_shared.css.ts +26 -37
- package/src/{likec4diagram/ui/search/LikeC4Search.css.ts → search/components/styles.css.ts} +9 -36
- package/src/{likec4diagram/ui/search → search/components}/utils.ts +7 -0
- package/src/search/hooks.ts +41 -0
- package/src/search/searchActor.ts +99 -0
- package/src/state/DiagramActorProvider.tsx +36 -25
- package/src/state/assign.ts +10 -10
- package/src/state/diagram-machine.ts +115 -52
- package/src/state/syncManualLayoutActor.ts +1 -1
- package/src/state/types.ts +2 -0
- package/src/state/utils.ts +4 -0
- package/dist/base/types.js +0 -54
- package/dist/likec4diagram/ui/search/ElementsColumn.d.ts +0 -1
- package/dist/likec4diagram/ui/search/LikeC4Search.css.js +0 -87
- package/dist/likec4diagram/ui/search/LikeC4Search.d.ts +0 -2
- package/dist/likec4diagram/ui/search/LikeC4Search.js +0 -267
- package/dist/likec4diagram/ui/search/SearchInput.d.ts +0 -1
- package/dist/likec4diagram/ui/search/state.d.ts +0 -19
- package/dist/likec4diagram/ui/search/state.js +0 -63
- package/src/likec4diagram/ui/search/LikeC4Search.tsx +0 -301
- package/src/likec4diagram/ui/search/state.ts +0 -78
- /package/dist/{likec4diagram/ui/search → search/components}/ElementsColumn.css.d.ts +0 -0
- /package/dist/{likec4diagram/ui/search → search/components}/ViewsColumn.css.d.ts +0 -0
- /package/dist/{likec4diagram/ui/search → search/components}/ViewsColumn.css.js +0 -0
- /package/dist/{likec4diagram/ui/search → search/components}/_shared.css.d.ts +0 -0
- /package/src/{likec4diagram/ui/search → search/components}/ViewsColumn.css.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DiagramView, EdgeId, Fqn, NodeId, NodeNotation as ElementNotation, StepEdgeId, ViewChange, ViewId, XYPoint, BBox, NonEmptyArray, Point, Color, RelationshipArrowType, RelationshipLineType } from '@likec4/core';
|
|
2
2
|
import { ReactFlowInstance, useStoreApi } from '@xyflow/react';
|
|
3
3
|
import { EdgeChange, NodeChange, Rect, Viewport, EdgeMarkerType, HandleType, XYPosition } from '@xyflow/system';
|
|
4
4
|
import { PartialDeep } from 'type-fest';
|
|
@@ -11,6 +11,7 @@ import { AlignmentMode } from './aligners';
|
|
|
11
11
|
import { HotKeyEvent, HotkeyActorLogic } from './hotkeyActor';
|
|
12
12
|
import { Events as SyncLayoutEvents, SyncLayoutActorLogic } from './syncManualLayoutActor';
|
|
13
13
|
import { OverlaysActorLogic } from '../overlays/overlaysActor';
|
|
14
|
+
import { SearchActorLogic } from '../search/searchActor';
|
|
14
15
|
import { ReactNode, CSSProperties } from 'react';
|
|
15
16
|
export type XYStoreApi = ReturnType<typeof useStoreApi<Types.Node, Types.Edge>>;
|
|
16
17
|
export interface NavigationHistory {
|
|
@@ -144,6 +145,9 @@ export type Events = HotKeyEvent | {
|
|
|
144
145
|
} | {
|
|
145
146
|
type: 'open.relationshipsBrowser';
|
|
146
147
|
fqn: Fqn;
|
|
148
|
+
} | {
|
|
149
|
+
type: 'open.search';
|
|
150
|
+
search?: string;
|
|
147
151
|
} | {
|
|
148
152
|
type: 'navigate.to';
|
|
149
153
|
viewId: ViewId;
|
|
@@ -178,6 +182,11 @@ export type Events = HotKeyEvent | {
|
|
|
178
182
|
kind?: string;
|
|
179
183
|
} | {
|
|
180
184
|
type: 'notations.unhighlight';
|
|
185
|
+
} | {
|
|
186
|
+
type: 'tag.highlight';
|
|
187
|
+
tag: string;
|
|
188
|
+
} | {
|
|
189
|
+
type: 'tag.unhighlight';
|
|
181
190
|
} | {
|
|
182
191
|
type: 'toggle.feature';
|
|
183
192
|
feature: FeatureName;
|
|
@@ -191,6 +200,7 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
191
200
|
syncLayout?: ActorRefFromLogic<SyncLayoutActorLogic>;
|
|
192
201
|
hotkey?: ActorRefFromLogic<HotkeyActorLogic>;
|
|
193
202
|
overlays?: ActorRefFromLogic<OverlaysActorLogic>;
|
|
203
|
+
search?: ActorRefFromLogic<SearchActorLogic>;
|
|
194
204
|
}, Values<{
|
|
195
205
|
syncManualLayoutActorLogic: {
|
|
196
206
|
src: "syncManualLayoutActorLogic";
|
|
@@ -207,6 +217,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
207
217
|
logic: OverlaysActorLogic;
|
|
208
218
|
id: "overlays";
|
|
209
219
|
};
|
|
220
|
+
searchActorLogic: {
|
|
221
|
+
src: "searchActorLogic";
|
|
222
|
+
logic: SearchActorLogic;
|
|
223
|
+
id: "search";
|
|
224
|
+
};
|
|
210
225
|
}>, Values<{
|
|
211
226
|
onNodeMouseEnter: {
|
|
212
227
|
type: "onNodeMouseEnter";
|
|
@@ -251,6 +266,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
251
266
|
kind?: string;
|
|
252
267
|
};
|
|
253
268
|
};
|
|
269
|
+
"tag.highlight": {
|
|
270
|
+
type: "tag.highlight";
|
|
271
|
+
params: NonReducibleUnknown;
|
|
272
|
+
};
|
|
254
273
|
"xyflow:fitDiagram": {
|
|
255
274
|
type: "xyflow:fitDiagram";
|
|
256
275
|
params: {
|
|
@@ -305,10 +324,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
305
324
|
toPosition: XYPoint;
|
|
306
325
|
};
|
|
307
326
|
};
|
|
327
|
+
"ensure overlays actor state": {
|
|
328
|
+
type: "ensure overlays actor state";
|
|
329
|
+
params: NonReducibleUnknown;
|
|
330
|
+
};
|
|
331
|
+
"ensure search actor state": {
|
|
332
|
+
type: "ensure search actor state";
|
|
333
|
+
params: NonReducibleUnknown;
|
|
334
|
+
};
|
|
308
335
|
updateFeatures: {
|
|
309
336
|
type: "updateFeatures";
|
|
310
337
|
params: NonReducibleUnknown;
|
|
311
338
|
};
|
|
339
|
+
closeSearch: {
|
|
340
|
+
type: "closeSearch";
|
|
341
|
+
params: NonReducibleUnknown;
|
|
342
|
+
};
|
|
312
343
|
startSyncLayout: {
|
|
313
344
|
type: "startSyncLayout";
|
|
314
345
|
params: NonReducibleUnknown;
|
|
@@ -317,6 +348,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
317
348
|
type: "stopSyncLayout";
|
|
318
349
|
params: NonReducibleUnknown;
|
|
319
350
|
};
|
|
351
|
+
"focus on nodes and edges": {
|
|
352
|
+
type: "focus on nodes and edges";
|
|
353
|
+
params: NonReducibleUnknown;
|
|
354
|
+
};
|
|
355
|
+
"undim everything": {
|
|
356
|
+
type: "undim everything";
|
|
357
|
+
params: NonReducibleUnknown;
|
|
358
|
+
};
|
|
359
|
+
"update active walkthrough": {
|
|
360
|
+
type: "update active walkthrough";
|
|
361
|
+
params: NonReducibleUnknown;
|
|
362
|
+
};
|
|
320
363
|
}>, Values<{
|
|
321
364
|
isReady: {
|
|
322
365
|
type: "isReady";
|
|
@@ -338,6 +381,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
338
381
|
type: "enabled: RelationshipDetails";
|
|
339
382
|
params: unknown;
|
|
340
383
|
};
|
|
384
|
+
"enabled: Search": {
|
|
385
|
+
type: "enabled: Search";
|
|
386
|
+
params: unknown;
|
|
387
|
+
};
|
|
341
388
|
"not readonly": {
|
|
342
389
|
type: "not readonly";
|
|
343
390
|
params: unknown;
|
|
@@ -374,9 +421,9 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
374
421
|
ready: "idle" | "walkthrough" | "focused";
|
|
375
422
|
}, string, Input, NonReducibleUnknown, EventObject, MetaObject, {
|
|
376
423
|
readonly initial: "initializing";
|
|
377
|
-
readonly context: ({ input
|
|
424
|
+
readonly context: ({ input }: {
|
|
378
425
|
spawn: {
|
|
379
|
-
<TSrc extends "syncManualLayoutActorLogic" | "hotkeyActorLogic" | "overlaysActorLogic">(logic: TSrc, ...[options]: ({
|
|
426
|
+
<TSrc extends "syncManualLayoutActorLogic" | "hotkeyActorLogic" | "overlaysActorLogic" | "searchActorLogic">(logic: TSrc, ...[options]: ({
|
|
380
427
|
src: "syncManualLayoutActorLogic";
|
|
381
428
|
logic: SyncLayoutActorLogic;
|
|
382
429
|
id: "syncLayout";
|
|
@@ -421,7 +468,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
421
468
|
systemId?: string;
|
|
422
469
|
input?: InputFrom<T_2["logic"]>;
|
|
423
470
|
syncSnapshot?: boolean;
|
|
424
|
-
} & { [K_2 in RequiredActorOptions<T_2>]: unknown; }], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never)
|
|
471
|
+
} & { [K_2 in RequiredActorOptions<T_2>]: unknown; }], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never) | ({
|
|
472
|
+
src: "searchActorLogic";
|
|
473
|
+
logic: SearchActorLogic;
|
|
474
|
+
id: "search";
|
|
475
|
+
} extends infer T_3 ? T_3 extends {
|
|
476
|
+
src: "searchActorLogic";
|
|
477
|
+
logic: SearchActorLogic;
|
|
478
|
+
id: "search";
|
|
479
|
+
} ? T_3 extends {
|
|
480
|
+
src: TSrc;
|
|
481
|
+
} ? ConditionalRequired<[options?: {
|
|
482
|
+
id?: T_3["id"];
|
|
483
|
+
systemId?: string;
|
|
484
|
+
input?: InputFrom<T_3["logic"]>;
|
|
485
|
+
syncSnapshot?: boolean;
|
|
486
|
+
} & { [K_3 in RequiredActorOptions<T_3>]: unknown; }], IsNotNever<RequiredActorOptions<T_3>>> : never : never : never)): ActorRefFromLogic< GetConcreteByKey<Values<{
|
|
425
487
|
syncManualLayoutActorLogic: {
|
|
426
488
|
src: "syncManualLayoutActorLogic";
|
|
427
489
|
logic: SyncLayoutActorLogic;
|
|
@@ -437,6 +499,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
437
499
|
logic: OverlaysActorLogic;
|
|
438
500
|
id: "overlays";
|
|
439
501
|
};
|
|
502
|
+
searchActorLogic: {
|
|
503
|
+
src: "searchActorLogic";
|
|
504
|
+
logic: SearchActorLogic;
|
|
505
|
+
id: "search";
|
|
506
|
+
};
|
|
440
507
|
}>, "src", TSrc>["logic"]>;
|
|
441
508
|
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
|
|
442
509
|
id?: never;
|
|
@@ -447,57 +514,7 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
447
514
|
};
|
|
448
515
|
input: Input;
|
|
449
516
|
self: ActorRef< MachineSnapshot<Context, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
|
|
450
|
-
}) =>
|
|
451
|
-
xyedges: never[];
|
|
452
|
-
xynodes: never[];
|
|
453
|
-
features: {
|
|
454
|
-
enableControls: boolean;
|
|
455
|
-
enableReadOnly: boolean;
|
|
456
|
-
enableFocusMode: boolean;
|
|
457
|
-
enableNavigateTo: boolean;
|
|
458
|
-
enableElementDetails: boolean;
|
|
459
|
-
enableRelationshipDetails: boolean;
|
|
460
|
-
enableRelationshipBrowser: boolean;
|
|
461
|
-
enableSearch: boolean;
|
|
462
|
-
enableNavigationButtons: boolean;
|
|
463
|
-
enableNotations: boolean;
|
|
464
|
-
enableDynamicViewWalkthrough: boolean;
|
|
465
|
-
enableEdgeEditing: boolean;
|
|
466
|
-
enableViewTitle: boolean;
|
|
467
|
-
enableFitView: boolean;
|
|
468
|
-
enableLikeC4Model: boolean;
|
|
469
|
-
enableVscode: boolean;
|
|
470
|
-
};
|
|
471
|
-
toggledFeatures: Partial<EnabledFeatures>;
|
|
472
|
-
initialized: {
|
|
473
|
-
xydata: false;
|
|
474
|
-
xyflow: false;
|
|
475
|
-
};
|
|
476
|
-
viewportChangedManually: false;
|
|
477
|
-
lastOnNavigate: null;
|
|
478
|
-
lastClickedNode: null;
|
|
479
|
-
focusedNode: null;
|
|
480
|
-
activeElementDetails: null;
|
|
481
|
-
viewportBeforeFocus: null;
|
|
482
|
-
navigationHistory: {
|
|
483
|
-
currentIndex: number;
|
|
484
|
-
history: never[];
|
|
485
|
-
};
|
|
486
|
-
viewport: {
|
|
487
|
-
x: number;
|
|
488
|
-
y: number;
|
|
489
|
-
zoom: number;
|
|
490
|
-
};
|
|
491
|
-
xyflow: null;
|
|
492
|
-
syncLayoutActorRef: null;
|
|
493
|
-
activeWalkthrough: null;
|
|
494
|
-
view: DiagramView;
|
|
495
|
-
xystore: XYStoreApi;
|
|
496
|
-
zoomable: boolean;
|
|
497
|
-
pannable: boolean;
|
|
498
|
-
fitViewPadding: PaddingWithUnit;
|
|
499
|
-
nodesSelectable: boolean;
|
|
500
|
-
};
|
|
517
|
+
}) => Context;
|
|
501
518
|
readonly states: {
|
|
502
519
|
readonly initializing: {
|
|
503
520
|
readonly on: {
|
|
@@ -521,6 +538,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
521
538
|
logic: OverlaysActorLogic;
|
|
522
539
|
id: "overlays";
|
|
523
540
|
};
|
|
541
|
+
searchActorLogic: {
|
|
542
|
+
src: "searchActorLogic";
|
|
543
|
+
logic: SearchActorLogic;
|
|
544
|
+
id: "search";
|
|
545
|
+
};
|
|
524
546
|
}>, never, never, never, never>;
|
|
525
547
|
readonly target: "isReady";
|
|
526
548
|
};
|
|
@@ -546,6 +568,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
546
568
|
logic: OverlaysActorLogic;
|
|
547
569
|
id: "overlays";
|
|
548
570
|
};
|
|
571
|
+
searchActorLogic: {
|
|
572
|
+
src: "searchActorLogic";
|
|
573
|
+
logic: SearchActorLogic;
|
|
574
|
+
id: "search";
|
|
575
|
+
};
|
|
549
576
|
}>, never, never, never, never>;
|
|
550
577
|
readonly target: "isReady";
|
|
551
578
|
};
|
|
@@ -575,6 +602,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
575
602
|
logic: OverlaysActorLogic;
|
|
576
603
|
id: "overlays";
|
|
577
604
|
};
|
|
605
|
+
searchActorLogic: {
|
|
606
|
+
src: "searchActorLogic";
|
|
607
|
+
logic: SearchActorLogic;
|
|
608
|
+
id: "search";
|
|
609
|
+
};
|
|
578
610
|
}>, never, never, never, never>, "startSyncLayout"];
|
|
579
611
|
readonly target: "ready";
|
|
580
612
|
}, {
|
|
@@ -606,6 +638,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
606
638
|
logic: OverlaysActorLogic;
|
|
607
639
|
id: "overlays";
|
|
608
640
|
};
|
|
641
|
+
searchActorLogic: {
|
|
642
|
+
src: "searchActorLogic";
|
|
643
|
+
logic: SearchActorLogic;
|
|
644
|
+
id: "search";
|
|
645
|
+
};
|
|
609
646
|
}>, never, never, never, never>;
|
|
610
647
|
readonly target: "#navigating";
|
|
611
648
|
};
|
|
@@ -627,6 +664,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
627
664
|
logic: OverlaysActorLogic;
|
|
628
665
|
id: "overlays";
|
|
629
666
|
};
|
|
667
|
+
searchActorLogic: {
|
|
668
|
+
src: "searchActorLogic";
|
|
669
|
+
logic: SearchActorLogic;
|
|
670
|
+
id: "search";
|
|
671
|
+
};
|
|
630
672
|
}>, never, never, never, never>;
|
|
631
673
|
readonly target: "#navigating";
|
|
632
674
|
};
|
|
@@ -648,6 +690,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
648
690
|
logic: OverlaysActorLogic;
|
|
649
691
|
id: "overlays";
|
|
650
692
|
};
|
|
693
|
+
searchActorLogic: {
|
|
694
|
+
src: "searchActorLogic";
|
|
695
|
+
logic: SearchActorLogic;
|
|
696
|
+
id: "search";
|
|
697
|
+
};
|
|
651
698
|
}>, never, never, never, never>;
|
|
652
699
|
readonly target: "#navigating";
|
|
653
700
|
};
|
|
@@ -687,6 +734,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
687
734
|
logic: OverlaysActorLogic;
|
|
688
735
|
id: "overlays";
|
|
689
736
|
};
|
|
737
|
+
searchActorLogic: {
|
|
738
|
+
src: "searchActorLogic";
|
|
739
|
+
logic: SearchActorLogic;
|
|
740
|
+
id: "search";
|
|
741
|
+
};
|
|
690
742
|
}>, never, never, never, never>, ActionFunction<Context, {
|
|
691
743
|
type: "layout.resetEdgeControlPoints";
|
|
692
744
|
}, Events, undefined, never, never, never, never, never>];
|
|
@@ -763,6 +815,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
763
815
|
logic: OverlaysActorLogic;
|
|
764
816
|
id: "overlays";
|
|
765
817
|
};
|
|
818
|
+
searchActorLogic: {
|
|
819
|
+
src: "searchActorLogic";
|
|
820
|
+
logic: SearchActorLogic;
|
|
821
|
+
id: "search";
|
|
822
|
+
};
|
|
766
823
|
}>, never, never, never, never>;
|
|
767
824
|
};
|
|
768
825
|
readonly 'xyflow.nodeMouseEnter': {
|
|
@@ -837,13 +894,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
837
894
|
label: string | null;
|
|
838
895
|
points: NonEmptyArray<Point>;
|
|
839
896
|
color: Color | undefined;
|
|
897
|
+
head: RelationshipArrowType | undefined;
|
|
840
898
|
line: RelationshipLineType | undefined;
|
|
841
899
|
dir: "forward" | "back" | "both" | undefined;
|
|
842
|
-
tail: RelationshipArrowType | undefined;
|
|
843
|
-
head: RelationshipArrowType | undefined;
|
|
844
900
|
technology: string | undefined;
|
|
901
|
+
tail: RelationshipArrowType | undefined;
|
|
845
902
|
labelBBox: BBox | null | undefined;
|
|
846
|
-
navigateTo: ViewId<string> | undefined;
|
|
903
|
+
navigateTo: ViewId<string> | null | undefined;
|
|
847
904
|
notes: string | undefined;
|
|
848
905
|
labelXY: XYPosition | null;
|
|
849
906
|
controlPoints: XYPosition[] | undefined | null;
|
|
@@ -887,13 +944,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
887
944
|
label: string | null;
|
|
888
945
|
points: NonEmptyArray<Point>;
|
|
889
946
|
color: Color | undefined;
|
|
947
|
+
head: RelationshipArrowType | undefined;
|
|
890
948
|
line: RelationshipLineType | undefined;
|
|
891
949
|
dir: "forward" | "back" | "both" | undefined;
|
|
892
|
-
tail: RelationshipArrowType | undefined;
|
|
893
|
-
head: RelationshipArrowType | undefined;
|
|
894
950
|
technology: string | undefined;
|
|
951
|
+
tail: RelationshipArrowType | undefined;
|
|
895
952
|
labelBBox: BBox | null | undefined;
|
|
896
|
-
navigateTo: ViewId<string> | undefined;
|
|
953
|
+
navigateTo: ViewId<string> | null | undefined;
|
|
897
954
|
notes: string | undefined;
|
|
898
955
|
labelXY: XYPosition | null;
|
|
899
956
|
controlPoints: XYPosition[] | undefined | null;
|
|
@@ -944,13 +1001,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
944
1001
|
label: string | null;
|
|
945
1002
|
points: NonEmptyArray<Point>;
|
|
946
1003
|
color: Color | undefined;
|
|
1004
|
+
head: RelationshipArrowType | undefined;
|
|
947
1005
|
line: RelationshipLineType | undefined;
|
|
948
1006
|
dir: "forward" | "back" | "both" | undefined;
|
|
949
|
-
tail: RelationshipArrowType | undefined;
|
|
950
|
-
head: RelationshipArrowType | undefined;
|
|
951
1007
|
technology: string | undefined;
|
|
1008
|
+
tail: RelationshipArrowType | undefined;
|
|
952
1009
|
labelBBox: BBox | null | undefined;
|
|
953
|
-
navigateTo: ViewId<string> | undefined;
|
|
1010
|
+
navigateTo: ViewId<string> | null | undefined;
|
|
954
1011
|
notes: string | undefined;
|
|
955
1012
|
labelXY: XYPosition | null;
|
|
956
1013
|
controlPoints: XYPosition[] | undefined | null;
|
|
@@ -994,13 +1051,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
994
1051
|
label: string | null;
|
|
995
1052
|
points: NonEmptyArray<Point>;
|
|
996
1053
|
color: Color | undefined;
|
|
1054
|
+
head: RelationshipArrowType | undefined;
|
|
997
1055
|
line: RelationshipLineType | undefined;
|
|
998
1056
|
dir: "forward" | "back" | "both" | undefined;
|
|
999
|
-
tail: RelationshipArrowType | undefined;
|
|
1000
|
-
head: RelationshipArrowType | undefined;
|
|
1001
1057
|
technology: string | undefined;
|
|
1058
|
+
tail: RelationshipArrowType | undefined;
|
|
1002
1059
|
labelBBox: BBox | null | undefined;
|
|
1003
|
-
navigateTo: ViewId<string> | undefined;
|
|
1060
|
+
navigateTo: ViewId<string> | null | undefined;
|
|
1004
1061
|
notes: string | undefined;
|
|
1005
1062
|
labelXY: XYPosition | null;
|
|
1006
1063
|
controlPoints: XYPosition[] | undefined | null;
|
|
@@ -1027,25 +1084,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1027
1084
|
};
|
|
1028
1085
|
};
|
|
1029
1086
|
readonly 'notations.unhighlight': {
|
|
1030
|
-
readonly actions:
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
};
|
|
1038
|
-
hotkeyActorLogic: {
|
|
1039
|
-
src: "hotkeyActorLogic";
|
|
1040
|
-
logic: HotkeyActorLogic;
|
|
1041
|
-
id: "hotkey";
|
|
1042
|
-
};
|
|
1043
|
-
overlaysActorLogic: {
|
|
1044
|
-
src: "overlaysActorLogic";
|
|
1045
|
-
logic: OverlaysActorLogic;
|
|
1046
|
-
id: "overlays";
|
|
1047
|
-
};
|
|
1048
|
-
}>, never, never, never, never>;
|
|
1087
|
+
readonly actions: "undim everything";
|
|
1088
|
+
};
|
|
1089
|
+
readonly 'tag.highlight': {
|
|
1090
|
+
readonly actions: "tag.highlight";
|
|
1091
|
+
};
|
|
1092
|
+
readonly 'tag.unhighlight': {
|
|
1093
|
+
readonly actions: "undim everything";
|
|
1049
1094
|
};
|
|
1050
1095
|
readonly 'saveManualLayout.*': {
|
|
1051
1096
|
readonly guard: "not readonly";
|
|
@@ -1055,6 +1100,13 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1055
1100
|
type: "saveManualLayout.cancel";
|
|
1056
1101
|
}, Events, undefined, never, never, never, never, never>;
|
|
1057
1102
|
};
|
|
1103
|
+
readonly 'open.search': {
|
|
1104
|
+
readonly guard: "enabled: Search";
|
|
1105
|
+
readonly actions: ActionFunction<Context, {
|
|
1106
|
+
type: "open.search";
|
|
1107
|
+
search?: string;
|
|
1108
|
+
}, Events, undefined, never, never, never, never, never>;
|
|
1109
|
+
};
|
|
1058
1110
|
};
|
|
1059
1111
|
readonly exit: readonly [ CancelAction<Context, Events, undefined, Events>];
|
|
1060
1112
|
readonly states: {
|
|
@@ -1082,6 +1134,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1082
1134
|
logic: OverlaysActorLogic;
|
|
1083
1135
|
id: "overlays";
|
|
1084
1136
|
};
|
|
1137
|
+
searchActorLogic: {
|
|
1138
|
+
src: "searchActorLogic";
|
|
1139
|
+
logic: SearchActorLogic;
|
|
1140
|
+
id: "search";
|
|
1141
|
+
};
|
|
1085
1142
|
}>, never, never, never, never>];
|
|
1086
1143
|
readonly target: "focused";
|
|
1087
1144
|
}, {
|
|
@@ -1106,6 +1163,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1106
1163
|
logic: OverlaysActorLogic;
|
|
1107
1164
|
id: "overlays";
|
|
1108
1165
|
};
|
|
1166
|
+
searchActorLogic: {
|
|
1167
|
+
src: "searchActorLogic";
|
|
1168
|
+
logic: SearchActorLogic;
|
|
1169
|
+
id: "search";
|
|
1170
|
+
};
|
|
1109
1171
|
}>, never, never, never, never>];
|
|
1110
1172
|
};
|
|
1111
1173
|
readonly 'xyflow.paneDblClick': {
|
|
@@ -1144,6 +1206,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1144
1206
|
logic: OverlaysActorLogic;
|
|
1145
1207
|
id: "overlays";
|
|
1146
1208
|
};
|
|
1209
|
+
searchActorLogic: {
|
|
1210
|
+
src: "searchActorLogic";
|
|
1211
|
+
logic: SearchActorLogic;
|
|
1212
|
+
id: "search";
|
|
1213
|
+
};
|
|
1147
1214
|
}>, never, never, never, never>;
|
|
1148
1215
|
readonly target: "focused";
|
|
1149
1216
|
};
|
|
@@ -1163,7 +1230,7 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1163
1230
|
};
|
|
1164
1231
|
};
|
|
1165
1232
|
readonly focused: {
|
|
1166
|
-
readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
|
|
1233
|
+
readonly entry: readonly ["focus on nodes and edges", ActionFunction<Context, Events, Events, undefined, Values<{
|
|
1167
1234
|
syncManualLayoutActorLogic: {
|
|
1168
1235
|
src: "syncManualLayoutActorLogic";
|
|
1169
1236
|
logic: SyncLayoutActorLogic;
|
|
@@ -1179,6 +1246,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1179
1246
|
logic: OverlaysActorLogic;
|
|
1180
1247
|
id: "overlays";
|
|
1181
1248
|
};
|
|
1249
|
+
searchActorLogic: {
|
|
1250
|
+
src: "searchActorLogic";
|
|
1251
|
+
logic: SearchActorLogic;
|
|
1252
|
+
id: "search";
|
|
1253
|
+
};
|
|
1182
1254
|
}>, never, never, never, never>, "open source of focused or last clicked node", ActionFunction<Context, Events, Events, undefined, Values<{
|
|
1183
1255
|
syncManualLayoutActorLogic: {
|
|
1184
1256
|
src: "syncManualLayoutActorLogic";
|
|
@@ -1195,6 +1267,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1195
1267
|
logic: OverlaysActorLogic;
|
|
1196
1268
|
id: "overlays";
|
|
1197
1269
|
};
|
|
1270
|
+
searchActorLogic: {
|
|
1271
|
+
src: "searchActorLogic";
|
|
1272
|
+
logic: SearchActorLogic;
|
|
1273
|
+
id: "search";
|
|
1274
|
+
};
|
|
1198
1275
|
}>, never, never, never, never>, "xyflow:fitFocusedBounds"];
|
|
1199
1276
|
readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
|
|
1200
1277
|
syncManualLayoutActorLogic: {
|
|
@@ -1212,6 +1289,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1212
1289
|
logic: OverlaysActorLogic;
|
|
1213
1290
|
id: "overlays";
|
|
1214
1291
|
};
|
|
1292
|
+
searchActorLogic: {
|
|
1293
|
+
src: "searchActorLogic";
|
|
1294
|
+
logic: SearchActorLogic;
|
|
1295
|
+
id: "search";
|
|
1296
|
+
};
|
|
1215
1297
|
}>, Values<{
|
|
1216
1298
|
onNodeMouseEnter: {
|
|
1217
1299
|
type: "onNodeMouseEnter";
|
|
@@ -1256,6 +1338,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1256
1338
|
kind?: string;
|
|
1257
1339
|
};
|
|
1258
1340
|
};
|
|
1341
|
+
"tag.highlight": {
|
|
1342
|
+
type: "tag.highlight";
|
|
1343
|
+
params: NonReducibleUnknown;
|
|
1344
|
+
};
|
|
1259
1345
|
"xyflow:fitDiagram": {
|
|
1260
1346
|
type: "xyflow:fitDiagram";
|
|
1261
1347
|
params: {
|
|
@@ -1310,10 +1396,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1310
1396
|
toPosition: XYPoint;
|
|
1311
1397
|
};
|
|
1312
1398
|
};
|
|
1399
|
+
"ensure overlays actor state": {
|
|
1400
|
+
type: "ensure overlays actor state";
|
|
1401
|
+
params: NonReducibleUnknown;
|
|
1402
|
+
};
|
|
1403
|
+
"ensure search actor state": {
|
|
1404
|
+
type: "ensure search actor state";
|
|
1405
|
+
params: NonReducibleUnknown;
|
|
1406
|
+
};
|
|
1313
1407
|
updateFeatures: {
|
|
1314
1408
|
type: "updateFeatures";
|
|
1315
1409
|
params: NonReducibleUnknown;
|
|
1316
1410
|
};
|
|
1411
|
+
closeSearch: {
|
|
1412
|
+
type: "closeSearch";
|
|
1413
|
+
params: NonReducibleUnknown;
|
|
1414
|
+
};
|
|
1317
1415
|
startSyncLayout: {
|
|
1318
1416
|
type: "startSyncLayout";
|
|
1319
1417
|
params: NonReducibleUnknown;
|
|
@@ -1322,6 +1420,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1322
1420
|
type: "stopSyncLayout";
|
|
1323
1421
|
params: NonReducibleUnknown;
|
|
1324
1422
|
};
|
|
1423
|
+
"focus on nodes and edges": {
|
|
1424
|
+
type: "focus on nodes and edges";
|
|
1425
|
+
params: NonReducibleUnknown;
|
|
1426
|
+
};
|
|
1427
|
+
"undim everything": {
|
|
1428
|
+
type: "undim everything";
|
|
1429
|
+
params: NonReducibleUnknown;
|
|
1430
|
+
};
|
|
1431
|
+
"update active walkthrough": {
|
|
1432
|
+
type: "update active walkthrough";
|
|
1433
|
+
params: NonReducibleUnknown;
|
|
1434
|
+
};
|
|
1325
1435
|
}>, Values<{
|
|
1326
1436
|
isReady: {
|
|
1327
1437
|
type: "isReady";
|
|
@@ -1343,6 +1453,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1343
1453
|
type: "enabled: RelationshipDetails";
|
|
1344
1454
|
params: unknown;
|
|
1345
1455
|
};
|
|
1456
|
+
"enabled: Search": {
|
|
1457
|
+
type: "enabled: Search";
|
|
1458
|
+
params: unknown;
|
|
1459
|
+
};
|
|
1346
1460
|
"not readonly": {
|
|
1347
1461
|
type: "not readonly";
|
|
1348
1462
|
params: unknown;
|
|
@@ -1400,6 +1514,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1400
1514
|
logic: OverlaysActorLogic;
|
|
1401
1515
|
id: "overlays";
|
|
1402
1516
|
};
|
|
1517
|
+
searchActorLogic: {
|
|
1518
|
+
src: "searchActorLogic";
|
|
1519
|
+
logic: SearchActorLogic;
|
|
1520
|
+
id: "search";
|
|
1521
|
+
};
|
|
1403
1522
|
}>, never, never, never, never>, ActionFunction<Context, {
|
|
1404
1523
|
type: "xyflow.nodeClick";
|
|
1405
1524
|
node: Types.Node;
|
|
@@ -1425,23 +1544,12 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1425
1544
|
logic: OverlaysActorLogic;
|
|
1426
1545
|
id: "overlays";
|
|
1427
1546
|
};
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
id: "syncLayout";
|
|
1547
|
+
searchActorLogic: {
|
|
1548
|
+
src: "searchActorLogic";
|
|
1549
|
+
logic: SearchActorLogic;
|
|
1550
|
+
id: "search";
|
|
1433
1551
|
};
|
|
1434
|
-
|
|
1435
|
-
src: "hotkeyActorLogic";
|
|
1436
|
-
logic: HotkeyActorLogic;
|
|
1437
|
-
id: "hotkey";
|
|
1438
|
-
};
|
|
1439
|
-
overlaysActorLogic: {
|
|
1440
|
-
src: "overlaysActorLogic";
|
|
1441
|
-
logic: OverlaysActorLogic;
|
|
1442
|
-
id: "overlays";
|
|
1443
|
-
};
|
|
1444
|
-
}>, never, never, never, never>, "open source of focused or last clicked node", "xyflow:fitFocusedBounds"];
|
|
1552
|
+
}>, never, never, never, never>, "focus on nodes and edges", "open source of focused or last clicked node", "xyflow:fitFocusedBounds"];
|
|
1445
1553
|
};
|
|
1446
1554
|
readonly 'key.esc': {
|
|
1447
1555
|
readonly target: "idle";
|
|
@@ -1465,29 +1573,19 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1465
1573
|
logic: OverlaysActorLogic;
|
|
1466
1574
|
id: "overlays";
|
|
1467
1575
|
};
|
|
1576
|
+
searchActorLogic: {
|
|
1577
|
+
src: "searchActorLogic";
|
|
1578
|
+
logic: SearchActorLogic;
|
|
1579
|
+
id: "search";
|
|
1580
|
+
};
|
|
1468
1581
|
}>, never, never, never, never>;
|
|
1469
1582
|
readonly target: "idle";
|
|
1470
1583
|
};
|
|
1471
1584
|
readonly 'notations.unhighlight': {
|
|
1472
|
-
readonly actions:
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
src: "syncManualLayoutActorLogic";
|
|
1477
|
-
logic: SyncLayoutActorLogic;
|
|
1478
|
-
id: "syncLayout";
|
|
1479
|
-
};
|
|
1480
|
-
hotkeyActorLogic: {
|
|
1481
|
-
src: "hotkeyActorLogic";
|
|
1482
|
-
logic: HotkeyActorLogic;
|
|
1483
|
-
id: "hotkey";
|
|
1484
|
-
};
|
|
1485
|
-
overlaysActorLogic: {
|
|
1486
|
-
src: "overlaysActorLogic";
|
|
1487
|
-
logic: OverlaysActorLogic;
|
|
1488
|
-
id: "overlays";
|
|
1489
|
-
};
|
|
1490
|
-
}>, never, never, never, never>;
|
|
1585
|
+
readonly actions: "focus on nodes and edges";
|
|
1586
|
+
};
|
|
1587
|
+
readonly 'tag.unhighlight': {
|
|
1588
|
+
readonly actions: "focus on nodes and edges";
|
|
1491
1589
|
};
|
|
1492
1590
|
};
|
|
1493
1591
|
};
|
|
@@ -1508,21 +1606,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1508
1606
|
logic: OverlaysActorLogic;
|
|
1509
1607
|
id: "overlays";
|
|
1510
1608
|
};
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
id: "syncLayout";
|
|
1516
|
-
};
|
|
1517
|
-
hotkeyActorLogic: {
|
|
1518
|
-
src: "hotkeyActorLogic";
|
|
1519
|
-
logic: HotkeyActorLogic;
|
|
1520
|
-
id: "hotkey";
|
|
1521
|
-
};
|
|
1522
|
-
overlaysActorLogic: {
|
|
1523
|
-
src: "overlaysActorLogic";
|
|
1524
|
-
logic: OverlaysActorLogic;
|
|
1525
|
-
id: "overlays";
|
|
1609
|
+
searchActorLogic: {
|
|
1610
|
+
src: "searchActorLogic";
|
|
1611
|
+
logic: SearchActorLogic;
|
|
1612
|
+
id: "search";
|
|
1526
1613
|
};
|
|
1527
1614
|
}>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
|
|
1528
1615
|
syncManualLayoutActorLogic: {
|
|
@@ -1540,7 +1627,12 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1540
1627
|
logic: OverlaysActorLogic;
|
|
1541
1628
|
id: "overlays";
|
|
1542
1629
|
};
|
|
1543
|
-
|
|
1630
|
+
searchActorLogic: {
|
|
1631
|
+
src: "searchActorLogic";
|
|
1632
|
+
logic: SearchActorLogic;
|
|
1633
|
+
id: "search";
|
|
1634
|
+
};
|
|
1635
|
+
}>, never, never, never, never>, "update active walkthrough", "xyflow:fitFocusedBounds"];
|
|
1544
1636
|
readonly on: {
|
|
1545
1637
|
readonly 'key.esc': {
|
|
1546
1638
|
readonly target: "idle";
|
|
@@ -1571,6 +1663,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1571
1663
|
logic: OverlaysActorLogic;
|
|
1572
1664
|
id: "overlays";
|
|
1573
1665
|
};
|
|
1666
|
+
searchActorLogic: {
|
|
1667
|
+
src: "searchActorLogic";
|
|
1668
|
+
logic: SearchActorLogic;
|
|
1669
|
+
id: "search";
|
|
1670
|
+
};
|
|
1574
1671
|
}>, Values<{
|
|
1575
1672
|
onNodeMouseEnter: {
|
|
1576
1673
|
type: "onNodeMouseEnter";
|
|
@@ -1615,6 +1712,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1615
1712
|
kind?: string;
|
|
1616
1713
|
};
|
|
1617
1714
|
};
|
|
1715
|
+
"tag.highlight": {
|
|
1716
|
+
type: "tag.highlight";
|
|
1717
|
+
params: NonReducibleUnknown;
|
|
1718
|
+
};
|
|
1618
1719
|
"xyflow:fitDiagram": {
|
|
1619
1720
|
type: "xyflow:fitDiagram";
|
|
1620
1721
|
params: {
|
|
@@ -1669,10 +1770,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1669
1770
|
toPosition: XYPoint;
|
|
1670
1771
|
};
|
|
1671
1772
|
};
|
|
1773
|
+
"ensure overlays actor state": {
|
|
1774
|
+
type: "ensure overlays actor state";
|
|
1775
|
+
params: NonReducibleUnknown;
|
|
1776
|
+
};
|
|
1777
|
+
"ensure search actor state": {
|
|
1778
|
+
type: "ensure search actor state";
|
|
1779
|
+
params: NonReducibleUnknown;
|
|
1780
|
+
};
|
|
1672
1781
|
updateFeatures: {
|
|
1673
1782
|
type: "updateFeatures";
|
|
1674
1783
|
params: NonReducibleUnknown;
|
|
1675
1784
|
};
|
|
1785
|
+
closeSearch: {
|
|
1786
|
+
type: "closeSearch";
|
|
1787
|
+
params: NonReducibleUnknown;
|
|
1788
|
+
};
|
|
1676
1789
|
startSyncLayout: {
|
|
1677
1790
|
type: "startSyncLayout";
|
|
1678
1791
|
params: NonReducibleUnknown;
|
|
@@ -1681,6 +1794,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1681
1794
|
type: "stopSyncLayout";
|
|
1682
1795
|
params: NonReducibleUnknown;
|
|
1683
1796
|
};
|
|
1797
|
+
"focus on nodes and edges": {
|
|
1798
|
+
type: "focus on nodes and edges";
|
|
1799
|
+
params: NonReducibleUnknown;
|
|
1800
|
+
};
|
|
1801
|
+
"undim everything": {
|
|
1802
|
+
type: "undim everything";
|
|
1803
|
+
params: NonReducibleUnknown;
|
|
1804
|
+
};
|
|
1805
|
+
"update active walkthrough": {
|
|
1806
|
+
type: "update active walkthrough";
|
|
1807
|
+
params: NonReducibleUnknown;
|
|
1808
|
+
};
|
|
1684
1809
|
}>, Values<{
|
|
1685
1810
|
isReady: {
|
|
1686
1811
|
type: "isReady";
|
|
@@ -1702,6 +1827,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1702
1827
|
type: "enabled: RelationshipDetails";
|
|
1703
1828
|
params: unknown;
|
|
1704
1829
|
};
|
|
1830
|
+
"enabled: Search": {
|
|
1831
|
+
type: "enabled: Search";
|
|
1832
|
+
params: unknown;
|
|
1833
|
+
};
|
|
1705
1834
|
"not readonly": {
|
|
1706
1835
|
type: "not readonly";
|
|
1707
1836
|
params: unknown;
|
|
@@ -1756,44 +1885,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1756
1885
|
logic: OverlaysActorLogic;
|
|
1757
1886
|
id: "overlays";
|
|
1758
1887
|
};
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
id: "syncLayout";
|
|
1764
|
-
};
|
|
1765
|
-
hotkeyActorLogic: {
|
|
1766
|
-
src: "hotkeyActorLogic";
|
|
1767
|
-
logic: HotkeyActorLogic;
|
|
1768
|
-
id: "hotkey";
|
|
1888
|
+
searchActorLogic: {
|
|
1889
|
+
src: "searchActorLogic";
|
|
1890
|
+
logic: SearchActorLogic;
|
|
1891
|
+
id: "search";
|
|
1769
1892
|
};
|
|
1770
|
-
|
|
1771
|
-
src: "overlaysActorLogic";
|
|
1772
|
-
logic: OverlaysActorLogic;
|
|
1773
|
-
id: "overlays";
|
|
1774
|
-
};
|
|
1775
|
-
}>, never, never, never, never>, "xyflow:fitFocusedBounds"];
|
|
1893
|
+
}>, never, never, never, never>, "update active walkthrough", "xyflow:fitFocusedBounds"];
|
|
1776
1894
|
};
|
|
1777
1895
|
readonly 'notations.unhighlight': {
|
|
1778
|
-
readonly actions:
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
src: "syncManualLayoutActorLogic";
|
|
1783
|
-
logic: SyncLayoutActorLogic;
|
|
1784
|
-
id: "syncLayout";
|
|
1785
|
-
};
|
|
1786
|
-
hotkeyActorLogic: {
|
|
1787
|
-
src: "hotkeyActorLogic";
|
|
1788
|
-
logic: HotkeyActorLogic;
|
|
1789
|
-
id: "hotkey";
|
|
1790
|
-
};
|
|
1791
|
-
overlaysActorLogic: {
|
|
1792
|
-
src: "overlaysActorLogic";
|
|
1793
|
-
logic: OverlaysActorLogic;
|
|
1794
|
-
id: "overlays";
|
|
1795
|
-
};
|
|
1796
|
-
}>, never, never, never, never>;
|
|
1896
|
+
readonly actions: "update active walkthrough";
|
|
1897
|
+
};
|
|
1898
|
+
readonly 'tag.unhighlight': {
|
|
1899
|
+
readonly actions: "update active walkthrough";
|
|
1797
1900
|
};
|
|
1798
1901
|
readonly 'walkthrough.end': {
|
|
1799
1902
|
readonly target: "idle";
|
|
@@ -1828,6 +1931,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1828
1931
|
logic: OverlaysActorLogic;
|
|
1829
1932
|
id: "overlays";
|
|
1830
1933
|
};
|
|
1934
|
+
searchActorLogic: {
|
|
1935
|
+
src: "searchActorLogic";
|
|
1936
|
+
logic: SearchActorLogic;
|
|
1937
|
+
id: "search";
|
|
1938
|
+
};
|
|
1831
1939
|
}>, Values<{
|
|
1832
1940
|
onNodeMouseEnter: {
|
|
1833
1941
|
type: "onNodeMouseEnter";
|
|
@@ -1872,6 +1980,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1872
1980
|
kind?: string;
|
|
1873
1981
|
};
|
|
1874
1982
|
};
|
|
1983
|
+
"tag.highlight": {
|
|
1984
|
+
type: "tag.highlight";
|
|
1985
|
+
params: NonReducibleUnknown;
|
|
1986
|
+
};
|
|
1875
1987
|
"xyflow:fitDiagram": {
|
|
1876
1988
|
type: "xyflow:fitDiagram";
|
|
1877
1989
|
params: {
|
|
@@ -1926,10 +2038,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1926
2038
|
toPosition: XYPoint;
|
|
1927
2039
|
};
|
|
1928
2040
|
};
|
|
2041
|
+
"ensure overlays actor state": {
|
|
2042
|
+
type: "ensure overlays actor state";
|
|
2043
|
+
params: NonReducibleUnknown;
|
|
2044
|
+
};
|
|
2045
|
+
"ensure search actor state": {
|
|
2046
|
+
type: "ensure search actor state";
|
|
2047
|
+
params: NonReducibleUnknown;
|
|
2048
|
+
};
|
|
1929
2049
|
updateFeatures: {
|
|
1930
2050
|
type: "updateFeatures";
|
|
1931
2051
|
params: NonReducibleUnknown;
|
|
1932
2052
|
};
|
|
2053
|
+
closeSearch: {
|
|
2054
|
+
type: "closeSearch";
|
|
2055
|
+
params: NonReducibleUnknown;
|
|
2056
|
+
};
|
|
1933
2057
|
startSyncLayout: {
|
|
1934
2058
|
type: "startSyncLayout";
|
|
1935
2059
|
params: NonReducibleUnknown;
|
|
@@ -1938,6 +2062,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1938
2062
|
type: "stopSyncLayout";
|
|
1939
2063
|
params: NonReducibleUnknown;
|
|
1940
2064
|
};
|
|
2065
|
+
"focus on nodes and edges": {
|
|
2066
|
+
type: "focus on nodes and edges";
|
|
2067
|
+
params: NonReducibleUnknown;
|
|
2068
|
+
};
|
|
2069
|
+
"undim everything": {
|
|
2070
|
+
type: "undim everything";
|
|
2071
|
+
params: NonReducibleUnknown;
|
|
2072
|
+
};
|
|
2073
|
+
"update active walkthrough": {
|
|
2074
|
+
type: "update active walkthrough";
|
|
2075
|
+
params: NonReducibleUnknown;
|
|
2076
|
+
};
|
|
1941
2077
|
}>, Values<{
|
|
1942
2078
|
isReady: {
|
|
1943
2079
|
type: "isReady";
|
|
@@ -1959,6 +2095,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1959
2095
|
type: "enabled: RelationshipDetails";
|
|
1960
2096
|
params: unknown;
|
|
1961
2097
|
};
|
|
2098
|
+
"enabled: Search": {
|
|
2099
|
+
type: "enabled: Search";
|
|
2100
|
+
params: unknown;
|
|
2101
|
+
};
|
|
1962
2102
|
"not readonly": {
|
|
1963
2103
|
type: "not readonly";
|
|
1964
2104
|
params: unknown;
|
|
@@ -1997,7 +2137,7 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
1997
2137
|
};
|
|
1998
2138
|
readonly navigating: {
|
|
1999
2139
|
readonly id: "navigating";
|
|
2000
|
-
readonly entry: readonly ["closeAllOverlays", "stopSyncLayout", {
|
|
2140
|
+
readonly entry: readonly ["closeAllOverlays", "closeSearch", "stopSyncLayout", {
|
|
2001
2141
|
readonly type: "trigger:NavigateTo";
|
|
2002
2142
|
readonly params: ({ context }: {
|
|
2003
2143
|
context: Context;
|
|
@@ -2029,6 +2169,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2029
2169
|
logic: OverlaysActorLogic;
|
|
2030
2170
|
id: "overlays";
|
|
2031
2171
|
};
|
|
2172
|
+
searchActorLogic: {
|
|
2173
|
+
src: "searchActorLogic";
|
|
2174
|
+
logic: SearchActorLogic;
|
|
2175
|
+
id: "search";
|
|
2176
|
+
};
|
|
2032
2177
|
}>, Values<{
|
|
2033
2178
|
onNodeMouseEnter: {
|
|
2034
2179
|
type: "onNodeMouseEnter";
|
|
@@ -2073,6 +2218,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2073
2218
|
kind?: string;
|
|
2074
2219
|
};
|
|
2075
2220
|
};
|
|
2221
|
+
"tag.highlight": {
|
|
2222
|
+
type: "tag.highlight";
|
|
2223
|
+
params: NonReducibleUnknown;
|
|
2224
|
+
};
|
|
2076
2225
|
"xyflow:fitDiagram": {
|
|
2077
2226
|
type: "xyflow:fitDiagram";
|
|
2078
2227
|
params: {
|
|
@@ -2127,10 +2276,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2127
2276
|
toPosition: XYPoint;
|
|
2128
2277
|
};
|
|
2129
2278
|
};
|
|
2279
|
+
"ensure overlays actor state": {
|
|
2280
|
+
type: "ensure overlays actor state";
|
|
2281
|
+
params: NonReducibleUnknown;
|
|
2282
|
+
};
|
|
2283
|
+
"ensure search actor state": {
|
|
2284
|
+
type: "ensure search actor state";
|
|
2285
|
+
params: NonReducibleUnknown;
|
|
2286
|
+
};
|
|
2130
2287
|
updateFeatures: {
|
|
2131
2288
|
type: "updateFeatures";
|
|
2132
2289
|
params: NonReducibleUnknown;
|
|
2133
2290
|
};
|
|
2291
|
+
closeSearch: {
|
|
2292
|
+
type: "closeSearch";
|
|
2293
|
+
params: NonReducibleUnknown;
|
|
2294
|
+
};
|
|
2134
2295
|
startSyncLayout: {
|
|
2135
2296
|
type: "startSyncLayout";
|
|
2136
2297
|
params: NonReducibleUnknown;
|
|
@@ -2139,6 +2300,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2139
2300
|
type: "stopSyncLayout";
|
|
2140
2301
|
params: NonReducibleUnknown;
|
|
2141
2302
|
};
|
|
2303
|
+
"focus on nodes and edges": {
|
|
2304
|
+
type: "focus on nodes and edges";
|
|
2305
|
+
params: NonReducibleUnknown;
|
|
2306
|
+
};
|
|
2307
|
+
"undim everything": {
|
|
2308
|
+
type: "undim everything";
|
|
2309
|
+
params: NonReducibleUnknown;
|
|
2310
|
+
};
|
|
2311
|
+
"update active walkthrough": {
|
|
2312
|
+
type: "update active walkthrough";
|
|
2313
|
+
params: NonReducibleUnknown;
|
|
2314
|
+
};
|
|
2142
2315
|
}>, Values<{
|
|
2143
2316
|
isReady: {
|
|
2144
2317
|
type: "isReady";
|
|
@@ -2160,6 +2333,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2160
2333
|
type: "enabled: RelationshipDetails";
|
|
2161
2334
|
params: unknown;
|
|
2162
2335
|
};
|
|
2336
|
+
"enabled: Search": {
|
|
2337
|
+
type: "enabled: Search";
|
|
2338
|
+
params: unknown;
|
|
2339
|
+
};
|
|
2163
2340
|
"not readonly": {
|
|
2164
2341
|
type: "not readonly";
|
|
2165
2342
|
params: unknown;
|
|
@@ -2219,6 +2396,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2219
2396
|
logic: OverlaysActorLogic;
|
|
2220
2397
|
id: "overlays";
|
|
2221
2398
|
};
|
|
2399
|
+
searchActorLogic: {
|
|
2400
|
+
src: "searchActorLogic";
|
|
2401
|
+
logic: SearchActorLogic;
|
|
2402
|
+
id: "search";
|
|
2403
|
+
};
|
|
2222
2404
|
}>, never, never, never, never>;
|
|
2223
2405
|
};
|
|
2224
2406
|
readonly 'xyflow.applyEdgeChanges': {
|
|
@@ -2241,6 +2423,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2241
2423
|
logic: OverlaysActorLogic;
|
|
2242
2424
|
id: "overlays";
|
|
2243
2425
|
};
|
|
2426
|
+
searchActorLogic: {
|
|
2427
|
+
src: "searchActorLogic";
|
|
2428
|
+
logic: SearchActorLogic;
|
|
2429
|
+
id: "search";
|
|
2430
|
+
};
|
|
2244
2431
|
}>, never, never, never, never>;
|
|
2245
2432
|
};
|
|
2246
2433
|
readonly 'xyflow.viewportMoved': {
|
|
@@ -2264,6 +2451,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2264
2451
|
logic: OverlaysActorLogic;
|
|
2265
2452
|
id: "overlays";
|
|
2266
2453
|
};
|
|
2454
|
+
searchActorLogic: {
|
|
2455
|
+
src: "searchActorLogic";
|
|
2456
|
+
logic: SearchActorLogic;
|
|
2457
|
+
id: "search";
|
|
2458
|
+
};
|
|
2267
2459
|
}>, never, never, never, never>;
|
|
2268
2460
|
};
|
|
2269
2461
|
readonly fitDiagram: {
|
|
@@ -2301,6 +2493,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2301
2493
|
logic: OverlaysActorLogic;
|
|
2302
2494
|
id: "overlays";
|
|
2303
2495
|
};
|
|
2496
|
+
searchActorLogic: {
|
|
2497
|
+
src: "searchActorLogic";
|
|
2498
|
+
logic: SearchActorLogic;
|
|
2499
|
+
id: "search";
|
|
2500
|
+
};
|
|
2304
2501
|
}>, never, never, never, never>;
|
|
2305
2502
|
};
|
|
2306
2503
|
readonly 'update.edgeData': {
|
|
@@ -2320,6 +2517,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2320
2517
|
logic: OverlaysActorLogic;
|
|
2321
2518
|
id: "overlays";
|
|
2322
2519
|
};
|
|
2520
|
+
searchActorLogic: {
|
|
2521
|
+
src: "searchActorLogic";
|
|
2522
|
+
logic: SearchActorLogic;
|
|
2523
|
+
id: "search";
|
|
2524
|
+
};
|
|
2323
2525
|
}>, never, never, never, never>;
|
|
2324
2526
|
};
|
|
2325
2527
|
readonly 'update.view': {
|
|
@@ -2339,6 +2541,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2339
2541
|
logic: OverlaysActorLogic;
|
|
2340
2542
|
id: "overlays";
|
|
2341
2543
|
};
|
|
2544
|
+
searchActorLogic: {
|
|
2545
|
+
src: "searchActorLogic";
|
|
2546
|
+
logic: SearchActorLogic;
|
|
2547
|
+
id: "search";
|
|
2548
|
+
};
|
|
2342
2549
|
}>, never, never, never, never>, ActionFunction<Context, {
|
|
2343
2550
|
type: "update.view";
|
|
2344
2551
|
view: DiagramView;
|
|
@@ -2360,6 +2567,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2360
2567
|
logic: OverlaysActorLogic;
|
|
2361
2568
|
id: "overlays";
|
|
2362
2569
|
};
|
|
2570
|
+
searchActorLogic: {
|
|
2571
|
+
src: "searchActorLogic";
|
|
2572
|
+
logic: SearchActorLogic;
|
|
2573
|
+
id: "search";
|
|
2574
|
+
};
|
|
2363
2575
|
}>, Values<{
|
|
2364
2576
|
onNodeMouseEnter: {
|
|
2365
2577
|
type: "onNodeMouseEnter";
|
|
@@ -2404,6 +2616,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2404
2616
|
kind?: string;
|
|
2405
2617
|
};
|
|
2406
2618
|
};
|
|
2619
|
+
"tag.highlight": {
|
|
2620
|
+
type: "tag.highlight";
|
|
2621
|
+
params: NonReducibleUnknown;
|
|
2622
|
+
};
|
|
2407
2623
|
"xyflow:fitDiagram": {
|
|
2408
2624
|
type: "xyflow:fitDiagram";
|
|
2409
2625
|
params: {
|
|
@@ -2458,10 +2674,22 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2458
2674
|
toPosition: XYPoint;
|
|
2459
2675
|
};
|
|
2460
2676
|
};
|
|
2677
|
+
"ensure overlays actor state": {
|
|
2678
|
+
type: "ensure overlays actor state";
|
|
2679
|
+
params: NonReducibleUnknown;
|
|
2680
|
+
};
|
|
2681
|
+
"ensure search actor state": {
|
|
2682
|
+
type: "ensure search actor state";
|
|
2683
|
+
params: NonReducibleUnknown;
|
|
2684
|
+
};
|
|
2461
2685
|
updateFeatures: {
|
|
2462
2686
|
type: "updateFeatures";
|
|
2463
2687
|
params: NonReducibleUnknown;
|
|
2464
2688
|
};
|
|
2689
|
+
closeSearch: {
|
|
2690
|
+
type: "closeSearch";
|
|
2691
|
+
params: NonReducibleUnknown;
|
|
2692
|
+
};
|
|
2465
2693
|
startSyncLayout: {
|
|
2466
2694
|
type: "startSyncLayout";
|
|
2467
2695
|
params: NonReducibleUnknown;
|
|
@@ -2470,6 +2698,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2470
2698
|
type: "stopSyncLayout";
|
|
2471
2699
|
params: NonReducibleUnknown;
|
|
2472
2700
|
};
|
|
2701
|
+
"focus on nodes and edges": {
|
|
2702
|
+
type: "focus on nodes and edges";
|
|
2703
|
+
params: NonReducibleUnknown;
|
|
2704
|
+
};
|
|
2705
|
+
"undim everything": {
|
|
2706
|
+
type: "undim everything";
|
|
2707
|
+
params: NonReducibleUnknown;
|
|
2708
|
+
};
|
|
2709
|
+
"update active walkthrough": {
|
|
2710
|
+
type: "update active walkthrough";
|
|
2711
|
+
params: NonReducibleUnknown;
|
|
2712
|
+
};
|
|
2473
2713
|
}>, Values<{
|
|
2474
2714
|
isReady: {
|
|
2475
2715
|
type: "isReady";
|
|
@@ -2491,6 +2731,10 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2491
2731
|
type: "enabled: RelationshipDetails";
|
|
2492
2732
|
params: unknown;
|
|
2493
2733
|
};
|
|
2734
|
+
"enabled: Search": {
|
|
2735
|
+
type: "enabled: Search";
|
|
2736
|
+
params: unknown;
|
|
2737
|
+
};
|
|
2494
2738
|
"not readonly": {
|
|
2495
2739
|
type: "not readonly";
|
|
2496
2740
|
params: unknown;
|
|
@@ -2545,13 +2789,18 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2545
2789
|
logic: OverlaysActorLogic;
|
|
2546
2790
|
id: "overlays";
|
|
2547
2791
|
};
|
|
2792
|
+
searchActorLogic: {
|
|
2793
|
+
src: "searchActorLogic";
|
|
2794
|
+
logic: SearchActorLogic;
|
|
2795
|
+
id: "search";
|
|
2796
|
+
};
|
|
2548
2797
|
}>, never, never, never, never>;
|
|
2549
2798
|
};
|
|
2550
2799
|
readonly 'update.features': {
|
|
2551
|
-
readonly actions: "updateFeatures";
|
|
2800
|
+
readonly actions: readonly ["updateFeatures", "ensure overlays actor state", "ensure search actor state"];
|
|
2552
2801
|
};
|
|
2553
2802
|
};
|
|
2554
|
-
readonly exit: readonly ["stopSyncLayout", CancelAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, ActionFunction<Context, Events, Events, undefined, Values<{
|
|
2803
|
+
readonly exit: readonly ["stopSyncLayout", CancelAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, StopAction<Context, Events, undefined, Events>, ActionFunction<Context, Events, Events, undefined, Values<{
|
|
2555
2804
|
syncManualLayoutActorLogic: {
|
|
2556
2805
|
src: "syncManualLayoutActorLogic";
|
|
2557
2806
|
logic: SyncLayoutActorLogic;
|
|
@@ -2567,6 +2816,11 @@ declare const _diagramMachine: StateMachine<Context, Events, {
|
|
|
2567
2816
|
logic: OverlaysActorLogic;
|
|
2568
2817
|
id: "overlays";
|
|
2569
2818
|
};
|
|
2819
|
+
searchActorLogic: {
|
|
2820
|
+
src: "searchActorLogic";
|
|
2821
|
+
logic: SearchActorLogic;
|
|
2822
|
+
id: "search";
|
|
2823
|
+
};
|
|
2570
2824
|
}>, never, never, never, never>];
|
|
2571
2825
|
}>;
|
|
2572
2826
|
/**
|