@likec4/diagram 1.42.1 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/bundle/index.js +6198 -4860
  2. package/dist/LikeC4Diagram.d.ts +1 -1
  3. package/dist/LikeC4Diagram.js +15 -12
  4. package/dist/LikeC4Diagram.props.d.ts +28 -14
  5. package/dist/LikeC4ProjectsProvider.js +1 -1
  6. package/dist/LikeC4View.d.ts +28 -4
  7. package/dist/LikeC4View.js +28 -17
  8. package/dist/ReactLikeC4.d.ts +1 -1
  9. package/dist/ReactLikeC4.js +5 -7
  10. package/dist/StaticLikeC4Diagram.js +2 -2
  11. package/dist/_virtual/_commonjsHelpers.js +3 -0
  12. package/dist/_virtual/assign-dea9f7c8.cjs.js +3 -0
  13. package/dist/_virtual/log-ec8d4df4.cjs.js +3 -0
  14. package/dist/_virtual/raise-da5b247f.cjs.js +3 -0
  15. package/dist/_virtual/xstate-actions.cjs.js +5 -0
  16. package/dist/_virtual/xstate-actions.cjs2.js +3 -0
  17. package/dist/_virtual/xstate-dev.cjs.js +3 -0
  18. package/dist/_virtual/xstate-guards.cjs.js +5 -0
  19. package/dist/_virtual/xstate-guards.cjs2.js +3 -0
  20. package/dist/base/Background.d.ts +2 -1
  21. package/dist/base/Background.js +11 -2
  22. package/dist/base/Base.d.ts +28 -0
  23. package/dist/base/BaseXYFlow.d.ts +5 -5
  24. package/dist/base/BaseXYFlow.js +38 -44
  25. package/dist/base/const.d.ts +1 -1
  26. package/dist/base/const.js +1 -1
  27. package/dist/base/index.d.ts +6 -2
  28. package/dist/base/types.d.ts +1 -28
  29. package/dist/base/updateEdges.js +4 -3
  30. package/dist/base/updateNodes.js +3 -2
  31. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  32. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  33. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  34. package/dist/base-primitives/edge/EdgeContainer.d.ts +1 -1
  35. package/dist/base-primitives/edge/EdgeContainer.js +4 -0
  36. package/dist/base-primitives/edge/EdgeLabel.d.ts +1 -0
  37. package/dist/base-primitives/edge/EdgeLabel.js +2 -0
  38. package/dist/base-primitives/edge/EdgeLabelContainer.d.ts +1 -1
  39. package/dist/base-primitives/edge/EdgeLabelContainer.js +4 -0
  40. package/dist/base-primitives/edge/EdgePath.d.ts +4 -0
  41. package/dist/base-primitives/edge/EdgePath.js +9 -5
  42. package/dist/base-primitives/element/ElementActionButtons.d.ts +3 -2
  43. package/dist/base-primitives/element/ElementActionButtons.js +1 -1
  44. package/dist/base-primitives/element/ElementDetailsButton.js +2 -5
  45. package/dist/base-primitives/element/ElementNodeContainer.css.js +15 -27
  46. package/dist/base-primitives/element/ElementTags.js +2 -1
  47. package/dist/base-primitives/memoEdge.js +4 -2
  48. package/dist/base-primitives/memoNode.d.ts +1 -1
  49. package/dist/base-primitives/memoNode.js +3 -3
  50. package/dist/components/ErrorFallback.js +52 -35
  51. package/dist/components/Link.js +2 -2
  52. package/dist/context/DiagramEventHandlers.js +2 -1
  53. package/dist/context/DiagramFeatures.d.ts +24 -6
  54. package/dist/context/DiagramFeatures.js +28 -56
  55. package/dist/context/IconRenderer.js +6 -6
  56. package/dist/context/LikeC4ModelContext.js +3 -10
  57. package/dist/context/TagStylesContext.js +2 -18
  58. package/dist/context/index.d.ts +1 -1
  59. package/dist/custom/customNodes.js +3 -2
  60. package/dist/custom/hooks.d.ts +1 -1
  61. package/dist/custom/index.d.ts +1 -1
  62. package/dist/custom/index.js +4 -4
  63. package/dist/editor/LikeC4EditorContext.d.ts +21 -0
  64. package/dist/editor/index.d.ts +2 -0
  65. package/dist/hooks/index.d.ts +2 -1
  66. package/dist/hooks/safeContext.d.ts +6 -3
  67. package/dist/hooks/safeContext.js +10 -3
  68. package/dist/hooks/useCallbackRef.d.ts +1 -0
  69. package/dist/hooks/useCallbackRef.js +13 -0
  70. package/dist/hooks/useCurrentView.d.ts +11 -0
  71. package/dist/hooks/{useCurrentViewId.js → useCurrentView.js} +7 -3
  72. package/dist/hooks/useCurrentViewModel.js +4 -1
  73. package/dist/hooks/useDiagram.d.ts +7 -113
  74. package/dist/hooks/useDiagram.js +7 -127
  75. package/dist/hooks/useDiagramCompareLayout.d.ts +35 -0
  76. package/dist/hooks/useDiagramCompareLayout.js +60 -0
  77. package/dist/hooks/useUpdateEffect.js +2 -4
  78. package/dist/hooks/useXYFlow.d.ts +1 -0
  79. package/dist/hooks/useXYFlow.js +4 -7
  80. package/dist/index.d.ts +2 -2
  81. package/dist/index.js +4 -3
  82. package/dist/likec4diagram/DiagramUI.js +14 -7
  83. package/dist/likec4diagram/DiagramXYFlow.d.ts +2 -2
  84. package/dist/likec4diagram/DiagramXYFlow.js +54 -51
  85. package/dist/likec4diagram/convert-to-xyflow.d.ts +0 -1
  86. package/dist/likec4diagram/custom/edges/RelationshipEdge.js +249 -220
  87. package/dist/likec4diagram/custom/edges/SequenceStepEdge.js +7 -2
  88. package/dist/likec4diagram/custom/edges/edges.css.js +3 -4
  89. package/dist/likec4diagram/custom/edges/useControlPoints.d.ts +8 -0
  90. package/dist/likec4diagram/custom/edges/useControlPoints.js +58 -0
  91. package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.d.ts +7 -0
  92. package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.js +60 -0
  93. package/dist/likec4diagram/custom/edges/utils.d.ts +0 -12
  94. package/dist/likec4diagram/custom/nodes/CompoundActions.js +4 -1
  95. package/dist/likec4diagram/custom/nodes/ElementActions.d.ts +2 -1
  96. package/dist/likec4diagram/custom/nodes/ElementActions.js +15 -10
  97. package/dist/likec4diagram/custom/nodes/ElementNodeDrifts.d.ts +4 -0
  98. package/dist/likec4diagram/custom/nodes/ElementNodeDrifts.js +46 -0
  99. package/dist/likec4diagram/custom/nodes/SequenceActorNode.js +4 -1
  100. package/dist/likec4diagram/custom/nodes/nodes.d.ts +9 -1
  101. package/dist/likec4diagram/custom/nodes/nodes.js +13 -9
  102. package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.d.ts +1 -1
  103. package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.js +1 -1
  104. package/dist/likec4diagram/custom/nodes/toolbar/CompoundToolbar.js +2 -1
  105. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +4 -3
  106. package/dist/likec4diagram/custom/nodes/toolbar/_shared.d.ts +1 -11
  107. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +7 -51
  108. package/dist/likec4diagram/custom/nodes/toolbar/types.d.ts +5 -0
  109. package/dist/likec4diagram/custom/nodes/toolbar/types.js +7 -0
  110. package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.d.ts +8 -0
  111. package/dist/likec4diagram/custom/nodes/toolbar/useHandlers.js +44 -0
  112. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +5 -7
  113. package/dist/likec4diagram/state/DiagramActorProvider.d.ts +3 -2
  114. package/dist/likec4diagram/state/DiagramActorProvider.js +96 -70
  115. package/dist/likec4diagram/state/assign.d.ts +4 -2
  116. package/dist/likec4diagram/state/assign.js +39 -103
  117. package/dist/likec4diagram/state/createViewChange.d.ts +3 -0
  118. package/dist/likec4diagram/state/createViewChange.js +90 -0
  119. package/dist/likec4diagram/state/diagram-api.d.ts +113 -0
  120. package/dist/likec4diagram/state/diagram-api.js +134 -0
  121. package/dist/likec4diagram/state/hotkeyActor.d.ts +7 -0
  122. package/dist/likec4diagram/state/hotkeyActor.js +17 -1
  123. package/dist/likec4diagram/state/machine.actions.d.ts +2099 -0
  124. package/dist/likec4diagram/state/machine.actions.js +735 -0
  125. package/dist/likec4diagram/state/machine.d.ts +3717 -0
  126. package/dist/likec4diagram/state/machine.js +141 -0
  127. package/dist/likec4diagram/state/machine.setup.d.ts +284 -0
  128. package/dist/likec4diagram/state/machine.setup.js +71 -0
  129. package/dist/likec4diagram/state/machine.state.initializing.d.ts +183 -0
  130. package/dist/likec4diagram/state/machine.state.initializing.js +55 -0
  131. package/dist/likec4diagram/state/machine.state.navigating.d.ts +117 -0
  132. package/dist/likec4diagram/state/machine.state.navigating.js +45 -0
  133. package/dist/likec4diagram/state/machine.state.ready.d.ts +3666 -0
  134. package/dist/likec4diagram/state/machine.state.ready.js +437 -0
  135. package/dist/likec4diagram/state/syncManualLayoutActor.d.ts +220 -63
  136. package/dist/likec4diagram/state/syncManualLayoutActor.js +218 -143
  137. package/dist/likec4diagram/state/types.d.ts +4 -7
  138. package/dist/likec4diagram/state/utils.d.ts +4 -2
  139. package/dist/likec4diagram/state/utils.js +4 -1
  140. package/dist/likec4diagram/types.d.ts +6 -1
  141. package/dist/likec4diagram/ui/LayoutDriftFrame.d.ts +2 -0
  142. package/dist/likec4diagram/ui/LayoutDriftFrame.js +66 -0
  143. package/dist/likec4diagram/ui/index.d.ts +1 -0
  144. package/dist/likec4diagram/ui/notation/NotationPanel.js +10 -12
  145. package/dist/likec4diagram/useLayoutConstraints.d.ts +10 -5
  146. package/dist/likec4diagram/useLayoutConstraints.js +225 -54
  147. package/dist/likec4diagram/xyflow-diagram/diagram-view.d.ts +0 -1
  148. package/dist/likec4diagram/xyflow-diagram/diagram-view.js +15 -15
  149. package/dist/navigationpanel/NavigationPanel.js +11 -7
  150. package/dist/navigationpanel/NavigationPanelControls.d.ts +2 -1
  151. package/dist/navigationpanel/NavigationPanelControls.js +23 -17
  152. package/dist/navigationpanel/NavigationPanelDropdown.d.ts +2 -1
  153. package/dist/navigationpanel/NavigationPanelDropdown.js +62 -42
  154. package/dist/navigationpanel/_common.d.ts +1 -1
  155. package/dist/navigationpanel/_common.js +4 -2
  156. package/dist/navigationpanel/actor.d.ts +11 -7
  157. package/dist/navigationpanel/actor.js +5 -4
  158. package/dist/navigationpanel/comparepanel/CompareActionsMenu.d.ts +3 -0
  159. package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +59 -0
  160. package/dist/navigationpanel/comparepanel/ComparePanel.d.ts +2 -0
  161. package/dist/navigationpanel/comparepanel/ComparePanel.js +42 -0
  162. package/dist/navigationpanel/comparepanel/ComparePanelControls.d.ts +1 -0
  163. package/dist/navigationpanel/comparepanel/ComparePanelControls.js +60 -0
  164. package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.d.ts +5 -0
  165. package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.js +38 -0
  166. package/dist/navigationpanel/comparepanel/index.d.ts +1 -0
  167. package/dist/navigationpanel/controls/{ViewDetailsCard.d.ts → DetailsControls.d.ts} +1 -1
  168. package/dist/navigationpanel/controls/{ViewDetailsCard.js → DetailsControls.js} +18 -14
  169. package/dist/navigationpanel/controls/LayoutWarning.d.ts +2 -0
  170. package/dist/navigationpanel/controls/LayoutWarning.js +102 -0
  171. package/dist/navigationpanel/controls/NavigationButtons.js +4 -3
  172. package/dist/navigationpanel/controls/OpenSource.js +2 -2
  173. package/dist/navigationpanel/controls/SearchControl.d.ts +2 -1
  174. package/dist/navigationpanel/controls/SearchControl.js +15 -17
  175. package/dist/navigationpanel/controls/ToggleReadonly.d.ts +1 -1
  176. package/dist/navigationpanel/controls/ToggleReadonly.js +19 -16
  177. package/dist/navigationpanel/controls/index.d.ts +2 -1
  178. package/dist/navigationpanel/dropdown/ProjectsMenu.d.ts +2 -2
  179. package/dist/navigationpanel/dropdown/ProjectsMenu.js +5 -5
  180. package/dist/navigationpanel/editorpanel/CenterCamera.js +5 -2
  181. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.d.ts +1 -1
  182. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +21 -20
  183. package/dist/navigationpanel/editorpanel/EditorPanel.js +3 -3
  184. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.d.ts +2 -2
  185. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +16 -13
  186. package/dist/navigationpanel/editorpanel/ToggleReadonly.d.ts +1 -0
  187. package/dist/navigationpanel/editorpanel/ToggleReadonly.js +15 -0
  188. package/dist/navigationpanel/styles.css.d.ts +2 -2
  189. package/dist/navigationpanel/styles.css.js +4 -4
  190. package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +14 -8
  191. package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +10 -10
  192. package/dist/navigationpanel/walkthrough/DynamicViewControls.js +31 -14
  193. package/dist/navigationpanel/walkthrough/WalkthroughPanel.d.ts +2 -1
  194. package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +66 -49
  195. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/actions/dist/xstate-actions.cjs.js +37 -0
  196. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dev/dist/xstate-dev.cjs.js +59 -0
  197. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/assign-dea9f7c8.cjs.js +140 -0
  198. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/log-ec8d4df4.cjs.js +401 -0
  199. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/raise-da5b247f.cjs.js +2716 -0
  200. package/dist/node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/guards/dist/xstate-guards.cjs.js +26 -0
  201. package/dist/overlays/element-details/ElementDetails.js +7 -7
  202. package/dist/overlays/element-details/ElementDetailsCard.js +18 -88
  203. package/dist/overlays/element-details/MetadataValue.d.ts +9 -0
  204. package/dist/overlays/element-details/MetadataValue.js +261 -0
  205. package/dist/overlays/element-details/TabPanelDeployments.js +6 -4
  206. package/dist/overlays/element-details/TabPanelRelationships.js +3 -3
  207. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  208. package/dist/overlays/element-details/actor.d.ts +3 -2
  209. package/dist/overlays/overlaysActor.d.ts +304 -62
  210. package/dist/overlays/overlaysActor.js +132 -131
  211. package/dist/overlays/relationship-details/RelationshipDetails.js +4 -3
  212. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  213. package/dist/overlays/relationship-details/actor.d.ts +14 -2
  214. package/dist/overlays/relationship-details/actor.js +23 -5
  215. package/dist/overlays/relationship-details/custom/ElementActions.js +8 -5
  216. package/dist/overlays/relationship-details/custom/edgeTypes.js +4 -1
  217. package/dist/overlays/relationship-details/custom/nodeTypes.js +4 -1
  218. package/dist/overlays/relationship-details/hooks.js +1 -1
  219. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -4
  220. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  221. package/dist/overlays/relationships-browser/actor.d.ts +239 -173
  222. package/dist/overlays/relationships-browser/actor.js +132 -110
  223. package/dist/overlays/relationships-browser/const.d.ts +3 -3
  224. package/dist/overlays/relationships-browser/const.js +3 -3
  225. package/dist/overlays/relationships-browser/custom/ElementActions.js +44 -37
  226. package/dist/overlays/relationships-browser/custom/edgeTypes.js +4 -1
  227. package/dist/overlays/relationships-browser/custom/nodeTypes.js +4 -1
  228. package/dist/overlays/relationships-browser/hooks.js +7 -6
  229. package/dist/search/Search.js +2 -1
  230. package/dist/search/components/ElementsColumn.js +5 -3
  231. package/dist/search/components/PickView.js +1 -1
  232. package/dist/search/components/SearchByTags.js +21 -44
  233. package/dist/search/components/SearchInput.js +1 -1
  234. package/dist/search/components/ViewsColum.js +6 -4
  235. package/dist/shadowroot/ShadowRoot.js +53 -12
  236. package/dist/shadowroot/styles.css.d.ts +0 -4
  237. package/dist/shadowroot/styles.css.js +1 -41
  238. package/dist/styles.css2.js +1 -1
  239. package/dist/utils/index.d.ts +4 -4
  240. package/dist/utils/vector.d.ts +78 -21
  241. package/dist/utils/vector.js +91 -24
  242. package/dist/utils/view-bounds.d.ts +8 -0
  243. package/dist/utils/view-bounds.js +57 -0
  244. package/dist/utils/xyflow.d.ts +49 -7
  245. package/dist/utils/xyflow.js +63 -11
  246. package/package.json +28 -27
  247. package/panda.buildinfo.json +140 -83
  248. package/styles-min.css +1 -1
  249. package/styles.css +1 -1
  250. package/dist/hooks/useCurrentViewId.d.ts +0 -6
  251. package/dist/likec4diagram/custom/edges/utils.js +0 -23
  252. package/dist/likec4diagram/state/diagram-machine.d.ts +0 -2590
  253. package/dist/likec4diagram/state/diagram-machine.js +0 -1180
  254. package/dist/navigationpanel/editorpanel/LayoutDriftNotification.d.ts +0 -1
  255. package/dist/navigationpanel/editorpanel/LayoutDriftNotification.js +0 -56
  256. package/dist/utils/get-view-bounds.d.ts +0 -3
  257. package/dist/utils/get-view-bounds.js +0 -14
  258. /package/dist/base/{types.js → Base.js} +0 -0
  259. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +0 -0
  260. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +0 -0
  261. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +0 -0
  262. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +0 -0
  263. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +0 -0
  264. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +0 -0
  265. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +0 -0
  266. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +0 -0
  267. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +0 -0
  268. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +0 -0
  269. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +0 -0
  270. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +0 -0
  271. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +0 -0
  272. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +0 -0
  273. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +0 -0
  274. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +0 -0
  275. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +0 -0
  276. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +0 -0
  277. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +0 -0
  278. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +0 -0
  279. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +0 -0
  280. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +0 -0
  281. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +0 -0
  282. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +0 -0
  283. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +0 -0
  284. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +0 -0
  285. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +0 -0
  286. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +0 -0
  287. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +0 -0
  288. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +0 -0
  289. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +0 -0
  290. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +0 -0
  291. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +0 -0
  292. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +0 -0
  293. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +0 -0
  294. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +0 -0
  295. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +0 -0
  296. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +0 -0
  297. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +0 -0
  298. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +0 -0
  299. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +0 -0
  300. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +0 -0
  301. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +0 -0
  302. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +0 -0
  303. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +0 -0
  304. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +0 -0
  305. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +0 -0
  306. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +0 -0
  307. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +0 -0
  308. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +0 -0
  309. /package/dist/node_modules/.pnpm/{@tabler_icons-react@3.35.0_react@19.1.1 → @tabler_icons-react@3.35.0_react@19.2.0}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +0 -0
@@ -1,2590 +0,0 @@
1
- import { BBox } from '@likec4/core';
2
- import { DiagramEdge, DiagramNode, DiagramView, DynamicViewDisplayVariant, EdgeId, Fqn, NodeId, NodeNotation as ElementNotation, StepEdgeId, ViewId, XYPoint } from '@likec4/core/types';
3
- import { EdgeChange, NodeChange, Rect, Viewport } from '@xyflow/system';
4
- import { MouseEvent } from 'react';
5
- import { PartialDeep } from 'type-fest';
6
- import { ActorLogicFrom, ActorRef, AnyEventObject, Snapshot, StateMachine, ActorRefFromLogic, Values, NonReducibleUnknown, MetaObject, ConditionalRequired, InputFrom, RequiredActorOptions, IsNotNever, GetConcreteByKey, AnyActorLogic, RequiredLogicInput, MachineSnapshot, AnyActorRef, StateValue, ActionFunction, CancelAction, StopAction } from 'xstate';
7
- import { EnabledFeatures, FeatureName } from '../../context/DiagramFeatures';
8
- import { XYFlowInstance, XYStoreApi } from '../../hooks/useXYFlow';
9
- import { OpenSourceParams, ViewPadding } from '../../LikeC4Diagram.props';
10
- import { Types } from '../types';
11
- import { AlignmentMode } from './aligners';
12
- import { HotKeyEvent, HotkeyActorLogic } from './hotkeyActor';
13
- import { Events as SyncLayoutEvents, SyncLayoutActorLogic } from './syncManualLayoutActor';
14
- import { OverlaysActorLogic } from '../../overlays/overlaysActor';
15
- import { SearchActorLogic } from '../../search/searchActor';
16
- export interface NavigationHistory {
17
- history: ReadonlyArray<{
18
- viewId: ViewId;
19
- fromNode: NodeId | null;
20
- viewport: Viewport;
21
- }>;
22
- currentIndex: number;
23
- }
24
- export interface Input {
25
- view: DiagramView;
26
- xystore: XYStoreApi;
27
- zoomable: boolean;
28
- pannable: boolean;
29
- fitViewPadding: ViewPadding;
30
- nodesSelectable: boolean;
31
- dynamicViewVariant?: DynamicViewDisplayVariant | undefined;
32
- }
33
- export type ToggledFeatures = Partial<EnabledFeatures>;
34
- export interface Context extends Input {
35
- xynodes: Types.Node[];
36
- xyedges: Types.Edge[];
37
- features: EnabledFeatures;
38
- toggledFeatures: ToggledFeatures;
39
- initialized: {
40
- xydata: boolean;
41
- xyflow: boolean;
42
- };
43
- viewport: Viewport;
44
- viewportChangedManually: boolean;
45
- lastOnNavigate: null | {
46
- fromView: ViewId;
47
- toView: ViewId;
48
- fromNode: NodeId | null;
49
- };
50
- navigationHistory: NavigationHistory;
51
- lastClickedNode: null | {
52
- id: NodeId;
53
- clicks: number;
54
- timestamp: number;
55
- };
56
- focusedNode: NodeId | null;
57
- activeElementDetails: null | {
58
- fqn: Fqn;
59
- fromNode: NodeId | null;
60
- nodeRect?: Rect | null;
61
- nodeRectScreen?: Rect | null;
62
- };
63
- viewportBeforeFocus: null | Viewport;
64
- xyflow: XYFlowInstance | null;
65
- syncLayoutActorRef: null | ActorRef<Snapshot<unknown>, SyncLayoutEvents, AnyEventObject>;
66
- dynamicViewVariant: DynamicViewDisplayVariant;
67
- activeWalkthrough: null | {
68
- stepId: StepEdgeId;
69
- parallelPrefix: string | null;
70
- };
71
- }
72
- export type Events = HotKeyEvent | {
73
- type: 'xyflow.init';
74
- instance: XYFlowInstance;
75
- } | {
76
- type: 'xyflow.applyNodeChanges';
77
- changes: NodeChange<Types.Node>[];
78
- } | {
79
- type: 'xyflow.applyEdgeChanges';
80
- changes: EdgeChange<Types.Edge>[];
81
- } | {
82
- type: 'xyflow.viewportMoved';
83
- viewport: Viewport;
84
- manually: boolean;
85
- } | {
86
- type: 'xyflow.nodeClick';
87
- node: Types.Node;
88
- } | {
89
- type: 'xyflow.edgeClick';
90
- edge: Types.Edge;
91
- } | {
92
- type: 'xyflow.paneClick';
93
- } | {
94
- type: 'xyflow.paneDblClick';
95
- } | {
96
- type: 'xyflow.resized';
97
- } | {
98
- type: 'xyflow.nodeMouseEnter';
99
- node: Types.Node;
100
- } | {
101
- type: 'xyflow.nodeMouseLeave';
102
- node: Types.Node;
103
- } | {
104
- type: 'xyflow.edgeMouseEnter';
105
- edge: Types.Edge;
106
- event: MouseEvent;
107
- } | {
108
- type: 'xyflow.edgeMouseLeave';
109
- edge: Types.Edge;
110
- event: MouseEvent;
111
- } | {
112
- type: 'xyflow.edgeEditingStarted';
113
- edge: Types.EdgeData;
114
- } | {
115
- type: 'update.nodeData';
116
- nodeId: NodeId;
117
- data: PartialDeep<Types.NodeData>;
118
- } | {
119
- type: 'update.edgeData';
120
- edgeId: EdgeId;
121
- data: PartialDeep<Types.EdgeData>;
122
- } | {
123
- type: 'update.view';
124
- view: DiagramView;
125
- xynodes: Types.Node[];
126
- xyedges: Types.Edge[];
127
- } | {
128
- type: 'update.inputs';
129
- inputs: Partial<Omit<Input, 'view' | 'xystore' | 'dynamicViewVariant'>>;
130
- } | {
131
- type: 'update.features';
132
- features: EnabledFeatures;
133
- } | {
134
- type: 'fitDiagram';
135
- duration?: number;
136
- bounds?: BBox;
137
- } | ({
138
- type: 'open.source';
139
- } & OpenSourceParams) | {
140
- type: 'open.elementDetails';
141
- fqn: Fqn;
142
- fromNode?: NodeId | undefined;
143
- } | {
144
- type: 'open.relationshipDetails';
145
- params: {
146
- edgeId: EdgeId;
147
- } | {
148
- source: Fqn;
149
- target: Fqn;
150
- };
151
- } | {
152
- type: 'open.relationshipsBrowser';
153
- fqn: Fqn;
154
- } | {
155
- type: 'open.search';
156
- search?: string;
157
- } | {
158
- type: 'navigate.to';
159
- viewId: ViewId;
160
- fromNode?: NodeId | undefined;
161
- } | {
162
- type: 'navigate.back';
163
- } | {
164
- type: 'navigate.forward';
165
- } | {
166
- type: 'layout.align';
167
- mode: AlignmentMode;
168
- } | {
169
- type: 'layout.resetEdgeControlPoints';
170
- } | {
171
- type: 'saveManualLayout.schedule';
172
- } | {
173
- type: 'saveManualLayout.cancel';
174
- } | {
175
- type: 'focus.node';
176
- nodeId: NodeId;
177
- } | {
178
- type: 'switch.dynamicViewVariant';
179
- variant: DynamicViewDisplayVariant;
180
- } | {
181
- type: 'walkthrough.start';
182
- stepId?: StepEdgeId;
183
- } | {
184
- type: 'walkthrough.step';
185
- direction: 'next' | 'previous';
186
- } | {
187
- type: 'walkthrough.end';
188
- } | {
189
- type: 'notations.highlight';
190
- notation: ElementNotation;
191
- kind?: string;
192
- } | {
193
- type: 'notations.unhighlight';
194
- } | {
195
- type: 'tag.highlight';
196
- tag: string;
197
- } | {
198
- type: 'tag.unhighlight';
199
- } | {
200
- type: 'toggle.feature';
201
- feature: FeatureName;
202
- forceValue?: boolean;
203
- };
204
- export type EmittedEvents = {
205
- type: 'initialized';
206
- instance: XYFlowInstance;
207
- } | {
208
- type: 'navigateTo';
209
- viewId: ViewId;
210
- } | {
211
- type: 'openSource';
212
- params: OpenSourceParams;
213
- } | {
214
- type: 'paneClick';
215
- } | {
216
- type: 'nodeClick';
217
- node: DiagramNode;
218
- xynode: Types.Node;
219
- } | {
220
- type: 'edgeClick';
221
- edge: DiagramEdge;
222
- xyedge: Types.Edge;
223
- } | {
224
- type: 'edgeMouseEnter';
225
- edge: Types.Edge;
226
- event: MouseEvent;
227
- } | {
228
- type: 'edgeMouseLeave';
229
- edge: Types.Edge;
230
- event: MouseEvent;
231
- } | {
232
- type: 'edgeEditingStarted';
233
- edge: Types.Edge;
234
- } | {
235
- type: 'walkthroughStarted';
236
- edge: Types.Edge;
237
- } | {
238
- type: 'walkthroughStep';
239
- edge: Types.Edge;
240
- } | {
241
- type: 'walkthroughStopped';
242
- };
243
- export type ActionArg = {
244
- context: Context;
245
- event: Events;
246
- };
247
- declare const _diagramMachine: StateMachine<Context, Events, {
248
- syncLayout?: ActorRefFromLogic<SyncLayoutActorLogic>;
249
- hotkey?: ActorRefFromLogic<HotkeyActorLogic>;
250
- overlays?: ActorRefFromLogic<OverlaysActorLogic>;
251
- search?: ActorRefFromLogic<SearchActorLogic>;
252
- }, Values<{
253
- syncManualLayoutActorLogic: {
254
- src: "syncManualLayoutActorLogic";
255
- logic: SyncLayoutActorLogic;
256
- id: "syncLayout";
257
- };
258
- hotkeyActorLogic: {
259
- src: "hotkeyActorLogic";
260
- logic: HotkeyActorLogic;
261
- id: "hotkey";
262
- };
263
- overlaysActorLogic: {
264
- src: "overlaysActorLogic";
265
- logic: OverlaysActorLogic;
266
- id: "overlays";
267
- };
268
- searchActorLogic: {
269
- src: "searchActorLogic";
270
- logic: SearchActorLogic;
271
- id: "search";
272
- };
273
- }>, Values<{
274
- "layout.align": {
275
- type: "layout.align";
276
- params: {
277
- mode: AlignmentMode;
278
- };
279
- };
280
- "notations.highlight": {
281
- type: "notations.highlight";
282
- params: {
283
- notation: ElementNotation;
284
- kind?: string;
285
- };
286
- };
287
- "tag.highlight": {
288
- type: "tag.highlight";
289
- params: NonReducibleUnknown;
290
- };
291
- "xyflow:fitDiagram": {
292
- type: "xyflow:fitDiagram";
293
- params: {
294
- duration?: number;
295
- bounds?: BBox;
296
- } | undefined;
297
- };
298
- closeAllOverlays: {
299
- type: "closeAllOverlays";
300
- params: NonReducibleUnknown;
301
- };
302
- "trigger:NavigateTo": {
303
- type: "trigger:NavigateTo";
304
- params: NonReducibleUnknown;
305
- };
306
- "assign lastClickedNode": {
307
- type: "assign lastClickedNode";
308
- params: NonReducibleUnknown;
309
- };
310
- "assign: focusedNode": {
311
- type: "assign: focusedNode";
312
- params: NonReducibleUnknown;
313
- };
314
- "reset lastClickedNode": {
315
- type: "reset lastClickedNode";
316
- params: NonReducibleUnknown;
317
- };
318
- "open source of focused or last clicked node": {
319
- type: "open source of focused or last clicked node";
320
- params: NonReducibleUnknown;
321
- };
322
- "xyflow:fitFocusedBounds": {
323
- type: "xyflow:fitFocusedBounds";
324
- params: unknown;
325
- };
326
- "xyflow:setViewportCenter": {
327
- type: "xyflow:setViewportCenter";
328
- params: {
329
- x: number;
330
- y: number;
331
- };
332
- };
333
- "xyflow:setViewport": {
334
- type: "xyflow:setViewport";
335
- params: {
336
- viewport: Viewport;
337
- duration?: number;
338
- };
339
- };
340
- "xyflow:alignNodeFromToAfterNavigate": {
341
- type: "xyflow:alignNodeFromToAfterNavigate";
342
- params: {
343
- fromNode: NodeId;
344
- toPosition: XYPoint;
345
- };
346
- };
347
- "ensure overlays actor state": {
348
- type: "ensure overlays actor state";
349
- params: NonReducibleUnknown;
350
- };
351
- "ensure search actor state": {
352
- type: "ensure search actor state";
353
- params: NonReducibleUnknown;
354
- };
355
- updateFeatures: {
356
- type: "updateFeatures";
357
- params: NonReducibleUnknown;
358
- };
359
- updateInputs: {
360
- type: "updateInputs";
361
- params: NonReducibleUnknown;
362
- };
363
- closeSearch: {
364
- type: "closeSearch";
365
- params: NonReducibleUnknown;
366
- };
367
- startSyncLayout: {
368
- type: "startSyncLayout";
369
- params: NonReducibleUnknown;
370
- };
371
- stopSyncLayout: {
372
- type: "stopSyncLayout";
373
- params: NonReducibleUnknown;
374
- };
375
- onNodeMouseEnter: {
376
- type: "onNodeMouseEnter";
377
- params: {
378
- node: Types.Node;
379
- };
380
- };
381
- onNodeMouseLeave: {
382
- type: "onNodeMouseLeave";
383
- params: {
384
- node: Types.Node;
385
- };
386
- };
387
- onEdgeMouseEnter: {
388
- type: "onEdgeMouseEnter";
389
- params: NonReducibleUnknown;
390
- };
391
- onEdgeMouseLeave: {
392
- type: "onEdgeMouseLeave";
393
- params: NonReducibleUnknown;
394
- };
395
- "focus on nodes and edges": {
396
- type: "focus on nodes and edges";
397
- params: NonReducibleUnknown;
398
- };
399
- "undim everything": {
400
- type: "undim everything";
401
- params: NonReducibleUnknown;
402
- };
403
- "update active walkthrough": {
404
- type: "update active walkthrough";
405
- params: NonReducibleUnknown;
406
- };
407
- "open element details": {
408
- type: "open element details";
409
- params: {
410
- fqn: Fqn;
411
- fromNode?: NodeId | undefined;
412
- } | undefined;
413
- };
414
- "emit: walkthroughStarted": {
415
- type: "emit: walkthroughStarted";
416
- params: NonReducibleUnknown;
417
- };
418
- "emit: walkthroughStep": {
419
- type: "emit: walkthroughStep";
420
- params: NonReducibleUnknown;
421
- };
422
- "emit: walkthroughStopped": {
423
- type: "emit: walkthroughStopped";
424
- params: NonReducibleUnknown;
425
- };
426
- "emit: edgeEditingStarted": {
427
- type: "emit: edgeEditingStarted";
428
- params: NonReducibleUnknown;
429
- };
430
- "emit: paneClick": {
431
- type: "emit: paneClick";
432
- params: NonReducibleUnknown;
433
- };
434
- "emit: nodeClick": {
435
- type: "emit: nodeClick";
436
- params: NonReducibleUnknown;
437
- };
438
- "emit: edgeClick": {
439
- type: "emit: edgeClick";
440
- params: NonReducibleUnknown;
441
- };
442
- "emit: initialized": {
443
- type: "emit: initialized";
444
- params: NonReducibleUnknown;
445
- };
446
- "emit: openSource": {
447
- type: "emit: openSource";
448
- params: OpenSourceParams;
449
- };
450
- "assign: dynamicViewVariant": {
451
- type: "assign: dynamicViewVariant";
452
- params: NonReducibleUnknown;
453
- };
454
- }>, Values<{
455
- isReady: {
456
- type: "isReady";
457
- params: unknown;
458
- };
459
- "enabled: FitView": {
460
- type: "enabled: FitView";
461
- params: unknown;
462
- };
463
- "enabled: FocusMode": {
464
- type: "enabled: FocusMode";
465
- params: unknown;
466
- };
467
- "enabled: Readonly": {
468
- type: "enabled: Readonly";
469
- params: unknown;
470
- };
471
- "enabled: RelationshipDetails": {
472
- type: "enabled: RelationshipDetails";
473
- params: unknown;
474
- };
475
- "enabled: Search": {
476
- type: "enabled: Search";
477
- params: unknown;
478
- };
479
- "enabled: ElementDetails": {
480
- type: "enabled: ElementDetails";
481
- params: unknown;
482
- };
483
- "enabled: DynamicViewWalkthrough": {
484
- type: "enabled: DynamicViewWalkthrough";
485
- params: unknown;
486
- };
487
- "not readonly": {
488
- type: "not readonly";
489
- params: unknown;
490
- };
491
- "is dynamic view": {
492
- type: "is dynamic view";
493
- params: unknown;
494
- };
495
- "is another view": {
496
- type: "is another view";
497
- params: unknown;
498
- };
499
- "click: node has modelFqn": {
500
- type: "click: node has modelFqn";
501
- params: unknown;
502
- };
503
- "click: selected node": {
504
- type: "click: selected node";
505
- params: unknown;
506
- };
507
- "click: same node": {
508
- type: "click: same node";
509
- params: unknown;
510
- };
511
- "click: focused node": {
512
- type: "click: focused node";
513
- params: unknown;
514
- };
515
- "click: node has connections": {
516
- type: "click: node has connections";
517
- params: unknown;
518
- };
519
- "click: selected edge": {
520
- type: "click: selected edge";
521
- params: unknown;
522
- };
523
- }>, never, "isReady" | "initializing" | "navigating" | {
524
- ready: "idle" | "walkthrough" | "focused";
525
- }, string, Input, NonReducibleUnknown, EmittedEvents, MetaObject, {
526
- readonly initial: "initializing";
527
- readonly context: ({ input }: {
528
- spawn: {
529
- <TSrc extends "syncManualLayoutActorLogic" | "hotkeyActorLogic" | "overlaysActorLogic" | "searchActorLogic">(logic: TSrc, ...[options]: ({
530
- src: "syncManualLayoutActorLogic";
531
- logic: SyncLayoutActorLogic;
532
- id: "syncLayout";
533
- } extends infer T ? T extends {
534
- src: "syncManualLayoutActorLogic";
535
- logic: SyncLayoutActorLogic;
536
- id: "syncLayout";
537
- } ? T extends {
538
- src: TSrc;
539
- } ? ConditionalRequired<[options?: {
540
- id?: T["id"];
541
- systemId?: string;
542
- input?: InputFrom<T["logic"]>;
543
- syncSnapshot?: boolean;
544
- } & { [K in RequiredActorOptions<T>]: unknown; }], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
545
- src: "hotkeyActorLogic";
546
- logic: HotkeyActorLogic;
547
- id: "hotkey";
548
- } extends infer T_1 ? T_1 extends {
549
- src: "hotkeyActorLogic";
550
- logic: HotkeyActorLogic;
551
- id: "hotkey";
552
- } ? T_1 extends {
553
- src: TSrc;
554
- } ? ConditionalRequired<[options?: {
555
- id?: T_1["id"];
556
- systemId?: string;
557
- input?: InputFrom<T_1["logic"]>;
558
- syncSnapshot?: boolean;
559
- } & { [K_1 in RequiredActorOptions<T_1>]: unknown; }], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
560
- src: "overlaysActorLogic";
561
- logic: OverlaysActorLogic;
562
- id: "overlays";
563
- } extends infer T_2 ? T_2 extends {
564
- src: "overlaysActorLogic";
565
- logic: OverlaysActorLogic;
566
- id: "overlays";
567
- } ? T_2 extends {
568
- src: TSrc;
569
- } ? ConditionalRequired<[options?: {
570
- id?: T_2["id"];
571
- systemId?: string;
572
- input?: InputFrom<T_2["logic"]>;
573
- syncSnapshot?: boolean;
574
- } & { [K_2 in RequiredActorOptions<T_2>]: unknown; }], IsNotNever<RequiredActorOptions<T_2>>> : never : never : never) | ({
575
- src: "searchActorLogic";
576
- logic: SearchActorLogic;
577
- id: "search";
578
- } extends infer T_3 ? T_3 extends {
579
- src: "searchActorLogic";
580
- logic: SearchActorLogic;
581
- id: "search";
582
- } ? T_3 extends {
583
- src: TSrc;
584
- } ? ConditionalRequired<[options?: {
585
- id?: T_3["id"];
586
- systemId?: string;
587
- input?: InputFrom<T_3["logic"]>;
588
- syncSnapshot?: boolean;
589
- } & { [K_3 in RequiredActorOptions<T_3>]: unknown; }], IsNotNever<RequiredActorOptions<T_3>>> : never : never : never)): ActorRefFromLogic< GetConcreteByKey<Values<{
590
- syncManualLayoutActorLogic: {
591
- src: "syncManualLayoutActorLogic";
592
- logic: SyncLayoutActorLogic;
593
- id: "syncLayout";
594
- };
595
- hotkeyActorLogic: {
596
- src: "hotkeyActorLogic";
597
- logic: HotkeyActorLogic;
598
- id: "hotkey";
599
- };
600
- overlaysActorLogic: {
601
- src: "overlaysActorLogic";
602
- logic: OverlaysActorLogic;
603
- id: "overlays";
604
- };
605
- searchActorLogic: {
606
- src: "searchActorLogic";
607
- logic: SearchActorLogic;
608
- id: "search";
609
- };
610
- }>, "src", TSrc>["logic"]>;
611
- <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: {
612
- id?: never;
613
- systemId?: string;
614
- input?: InputFrom<TLogic>;
615
- syncSnapshot?: boolean;
616
- } & { [K in RequiredLogicInput<TLogic>]: unknown; }], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
617
- };
618
- input: Input;
619
- self: ActorRef< MachineSnapshot<Context, Events, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, Events, AnyEventObject>;
620
- }) => Context;
621
- readonly states: {
622
- readonly initializing: {
623
- readonly on: {
624
- readonly 'xyflow.init': {
625
- readonly actions: ActionFunction<Context, {
626
- type: "xyflow.init";
627
- instance: XYFlowInstance;
628
- }, Events, undefined, Values<{
629
- syncManualLayoutActorLogic: {
630
- src: "syncManualLayoutActorLogic";
631
- logic: SyncLayoutActorLogic;
632
- id: "syncLayout";
633
- };
634
- hotkeyActorLogic: {
635
- src: "hotkeyActorLogic";
636
- logic: HotkeyActorLogic;
637
- id: "hotkey";
638
- };
639
- overlaysActorLogic: {
640
- src: "overlaysActorLogic";
641
- logic: OverlaysActorLogic;
642
- id: "overlays";
643
- };
644
- searchActorLogic: {
645
- src: "searchActorLogic";
646
- logic: SearchActorLogic;
647
- id: "search";
648
- };
649
- }>, never, never, never, never>;
650
- readonly target: "isReady";
651
- };
652
- readonly 'update.view': {
653
- readonly actions: ActionFunction<Context, {
654
- type: "update.view";
655
- view: DiagramView;
656
- xynodes: Types.Node[];
657
- xyedges: Types.Edge[];
658
- }, Events, undefined, Values<{
659
- syncManualLayoutActorLogic: {
660
- src: "syncManualLayoutActorLogic";
661
- logic: SyncLayoutActorLogic;
662
- id: "syncLayout";
663
- };
664
- hotkeyActorLogic: {
665
- src: "hotkeyActorLogic";
666
- logic: HotkeyActorLogic;
667
- id: "hotkey";
668
- };
669
- overlaysActorLogic: {
670
- src: "overlaysActorLogic";
671
- logic: OverlaysActorLogic;
672
- id: "overlays";
673
- };
674
- searchActorLogic: {
675
- src: "searchActorLogic";
676
- logic: SearchActorLogic;
677
- id: "search";
678
- };
679
- }>, never, never, never, never>;
680
- readonly target: "isReady";
681
- };
682
- };
683
- };
684
- readonly isReady: {
685
- readonly always: readonly [{
686
- readonly guard: "isReady";
687
- readonly actions: readonly [{
688
- readonly type: "xyflow:fitDiagram";
689
- readonly params: {
690
- readonly duration: 0;
691
- };
692
- }, ActionFunction<Context, Events, Events, undefined, Values<{
693
- syncManualLayoutActorLogic: {
694
- src: "syncManualLayoutActorLogic";
695
- logic: SyncLayoutActorLogic;
696
- id: "syncLayout";
697
- };
698
- hotkeyActorLogic: {
699
- src: "hotkeyActorLogic";
700
- logic: HotkeyActorLogic;
701
- id: "hotkey";
702
- };
703
- overlaysActorLogic: {
704
- src: "overlaysActorLogic";
705
- logic: OverlaysActorLogic;
706
- id: "overlays";
707
- };
708
- searchActorLogic: {
709
- src: "searchActorLogic";
710
- logic: SearchActorLogic;
711
- id: "search";
712
- };
713
- }>, never, never, never, never>, "startSyncLayout", "emit: initialized"];
714
- readonly target: "ready";
715
- }, {
716
- readonly target: "initializing";
717
- }];
718
- };
719
- readonly ready: {
720
- readonly initial: "idle";
721
- readonly on: {
722
- readonly 'navigate.to': {
723
- readonly guard: "is another view";
724
- readonly actions: ActionFunction<Context, {
725
- type: "navigate.to";
726
- viewId: ViewId;
727
- fromNode?: NodeId | undefined;
728
- }, Events, undefined, Values<{
729
- syncManualLayoutActorLogic: {
730
- src: "syncManualLayoutActorLogic";
731
- logic: SyncLayoutActorLogic;
732
- id: "syncLayout";
733
- };
734
- hotkeyActorLogic: {
735
- src: "hotkeyActorLogic";
736
- logic: HotkeyActorLogic;
737
- id: "hotkey";
738
- };
739
- overlaysActorLogic: {
740
- src: "overlaysActorLogic";
741
- logic: OverlaysActorLogic;
742
- id: "overlays";
743
- };
744
- searchActorLogic: {
745
- src: "searchActorLogic";
746
- logic: SearchActorLogic;
747
- id: "search";
748
- };
749
- }>, never, never, never, never>;
750
- readonly target: "#navigating";
751
- };
752
- readonly 'navigate.back': {
753
- readonly guard: ({ context }: ActionArg) => boolean;
754
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
755
- syncManualLayoutActorLogic: {
756
- src: "syncManualLayoutActorLogic";
757
- logic: SyncLayoutActorLogic;
758
- id: "syncLayout";
759
- };
760
- hotkeyActorLogic: {
761
- src: "hotkeyActorLogic";
762
- logic: HotkeyActorLogic;
763
- id: "hotkey";
764
- };
765
- overlaysActorLogic: {
766
- src: "overlaysActorLogic";
767
- logic: OverlaysActorLogic;
768
- id: "overlays";
769
- };
770
- searchActorLogic: {
771
- src: "searchActorLogic";
772
- logic: SearchActorLogic;
773
- id: "search";
774
- };
775
- }>, never, never, never, never>;
776
- readonly target: "#navigating";
777
- };
778
- readonly 'navigate.forward': {
779
- readonly guard: ({ context }: ActionArg) => boolean;
780
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
781
- syncManualLayoutActorLogic: {
782
- src: "syncManualLayoutActorLogic";
783
- logic: SyncLayoutActorLogic;
784
- id: "syncLayout";
785
- };
786
- hotkeyActorLogic: {
787
- src: "hotkeyActorLogic";
788
- logic: HotkeyActorLogic;
789
- id: "hotkey";
790
- };
791
- overlaysActorLogic: {
792
- src: "overlaysActorLogic";
793
- logic: OverlaysActorLogic;
794
- id: "overlays";
795
- };
796
- searchActorLogic: {
797
- src: "searchActorLogic";
798
- logic: SearchActorLogic;
799
- id: "search";
800
- };
801
- }>, never, never, never, never>;
802
- readonly target: "#navigating";
803
- };
804
- readonly 'layout.align': {
805
- readonly guard: "not readonly";
806
- readonly actions: readonly [{
807
- readonly type: "layout.align";
808
- readonly params: ({ event }: {
809
- context: Context;
810
- event: {
811
- type: "layout.align";
812
- mode: AlignmentMode;
813
- };
814
- }) => {
815
- mode: AlignmentMode;
816
- };
817
- }, ActionFunction<Context, {
818
- type: "layout.align";
819
- mode: AlignmentMode;
820
- }, Events, undefined, never, never, never, never, never>];
821
- };
822
- readonly 'layout.resetEdgeControlPoints': {
823
- readonly guard: "not readonly";
824
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
825
- syncManualLayoutActorLogic: {
826
- src: "syncManualLayoutActorLogic";
827
- logic: SyncLayoutActorLogic;
828
- id: "syncLayout";
829
- };
830
- hotkeyActorLogic: {
831
- src: "hotkeyActorLogic";
832
- logic: HotkeyActorLogic;
833
- id: "hotkey";
834
- };
835
- overlaysActorLogic: {
836
- src: "overlaysActorLogic";
837
- logic: OverlaysActorLogic;
838
- id: "overlays";
839
- };
840
- searchActorLogic: {
841
- src: "searchActorLogic";
842
- logic: SearchActorLogic;
843
- id: "search";
844
- };
845
- }>, never, never, never, never>, ActionFunction<Context, {
846
- type: "layout.resetEdgeControlPoints";
847
- }, Events, undefined, never, never, never, never, never>];
848
- };
849
- readonly 'xyflow.resized': {
850
- readonly guard: ({ context }: {
851
- context: Context;
852
- }) => boolean;
853
- readonly actions: readonly [ CancelAction<Context, {
854
- type: "xyflow.resized";
855
- }, undefined, Events>, ActionFunction<Context, {
856
- type: "xyflow.resized";
857
- }, Events, undefined, never, never, never, never, never>];
858
- };
859
- readonly 'open.elementDetails': {
860
- readonly guard: "enabled: ElementDetails";
861
- readonly actions: "open element details";
862
- };
863
- readonly 'open.relationshipsBrowser': {
864
- readonly actions: ActionFunction<Context, {
865
- type: "open.relationshipsBrowser";
866
- fqn: Fqn;
867
- }, Events, undefined, never, never, never, never, never>;
868
- };
869
- readonly 'open.relationshipDetails': {
870
- readonly actions: ActionFunction<Context, {
871
- type: "open.relationshipDetails";
872
- params: {
873
- edgeId: EdgeId;
874
- } | {
875
- source: Fqn;
876
- target: Fqn;
877
- };
878
- }, Events, undefined, never, never, never, never, never>;
879
- };
880
- readonly 'open.source': {
881
- readonly actions: {
882
- readonly type: "emit: openSource";
883
- readonly params: (data: {
884
- context: Context;
885
- event: {
886
- type: "open.source";
887
- } & OpenSourceParams;
888
- }) => {
889
- type: "open.source";
890
- } & OpenSourceParams;
891
- };
892
- };
893
- readonly 'walkthrough.start': {
894
- readonly guard: "is dynamic view";
895
- readonly target: ".walkthrough";
896
- };
897
- readonly 'toggle.feature': {
898
- readonly actions: ActionFunction<Context, {
899
- type: "toggle.feature";
900
- feature: FeatureName;
901
- forceValue?: boolean;
902
- }, Events, undefined, Values<{
903
- syncManualLayoutActorLogic: {
904
- src: "syncManualLayoutActorLogic";
905
- logic: SyncLayoutActorLogic;
906
- id: "syncLayout";
907
- };
908
- hotkeyActorLogic: {
909
- src: "hotkeyActorLogic";
910
- logic: HotkeyActorLogic;
911
- id: "hotkey";
912
- };
913
- overlaysActorLogic: {
914
- src: "overlaysActorLogic";
915
- logic: OverlaysActorLogic;
916
- id: "overlays";
917
- };
918
- searchActorLogic: {
919
- src: "searchActorLogic";
920
- logic: SearchActorLogic;
921
- id: "search";
922
- };
923
- }>, never, never, never, never>;
924
- };
925
- readonly 'xyflow.nodeMouseEnter': {
926
- readonly actions: {
927
- readonly type: "onNodeMouseEnter";
928
- readonly params: (data: {
929
- context: Context;
930
- event: {
931
- type: "xyflow.nodeMouseEnter";
932
- node: Types.Node;
933
- };
934
- }) => {
935
- type: "xyflow.nodeMouseEnter";
936
- node: Types.Node;
937
- };
938
- };
939
- };
940
- readonly 'xyflow.nodeMouseLeave': {
941
- readonly actions: {
942
- readonly type: "onNodeMouseLeave";
943
- readonly params: (data: {
944
- context: Context;
945
- event: {
946
- type: "xyflow.nodeMouseLeave";
947
- node: Types.Node;
948
- };
949
- }) => {
950
- type: "xyflow.nodeMouseLeave";
951
- node: Types.Node;
952
- };
953
- };
954
- };
955
- readonly 'xyflow.edgeMouseEnter': {
956
- readonly actions: "onEdgeMouseEnter";
957
- };
958
- readonly 'xyflow.edgeMouseLeave': {
959
- readonly actions: "onEdgeMouseLeave";
960
- };
961
- readonly 'notations.highlight': {
962
- readonly actions: {
963
- readonly type: "notations.highlight";
964
- readonly params: (data: {
965
- context: Context;
966
- event: {
967
- type: "notations.highlight";
968
- notation: ElementNotation;
969
- kind?: string;
970
- };
971
- }) => {
972
- type: "notations.highlight";
973
- notation: ElementNotation;
974
- kind?: string;
975
- };
976
- };
977
- };
978
- readonly 'notations.unhighlight': {
979
- readonly actions: "undim everything";
980
- };
981
- readonly 'tag.highlight': {
982
- readonly actions: "tag.highlight";
983
- };
984
- readonly 'tag.unhighlight': {
985
- readonly actions: "undim everything";
986
- };
987
- readonly 'saveManualLayout.*': {
988
- readonly guard: "not readonly";
989
- readonly actions: ActionFunction<Context, {
990
- type: "saveManualLayout.schedule";
991
- } | {
992
- type: "saveManualLayout.cancel";
993
- }, Events, undefined, never, never, never, never, never>;
994
- };
995
- readonly 'open.search': {
996
- readonly guard: "enabled: Search";
997
- readonly actions: ActionFunction<Context, {
998
- type: "open.search";
999
- search?: string;
1000
- }, Events, undefined, never, never, never, never, never>;
1001
- };
1002
- };
1003
- readonly exit: readonly [ CancelAction<Context, Events, undefined, Events>];
1004
- readonly states: {
1005
- readonly idle: {
1006
- readonly id: "idle";
1007
- readonly on: {
1008
- readonly 'xyflow.nodeClick': readonly [{
1009
- readonly guard: any;
1010
- readonly actions: readonly ["assign lastClickedNode", "assign: focusedNode", "emit: nodeClick"];
1011
- readonly target: "focused";
1012
- }, {
1013
- readonly guard: any;
1014
- readonly actions: readonly ["assign lastClickedNode", "open source of focused or last clicked node", "open element details", "emit: nodeClick"];
1015
- }, {
1016
- readonly actions: readonly ["assign lastClickedNode", "open source of focused or last clicked node", "emit: nodeClick"];
1017
- }];
1018
- readonly 'xyflow.paneClick': {
1019
- readonly actions: readonly ["reset lastClickedNode", "emit: paneClick"];
1020
- };
1021
- readonly 'xyflow.paneDblClick': {
1022
- readonly actions: readonly ["reset lastClickedNode", "xyflow:fitDiagram", {
1023
- readonly type: "emit: openSource";
1024
- readonly params: ({ context }: {
1025
- context: Context;
1026
- event: {
1027
- type: "xyflow.paneDblClick";
1028
- };
1029
- }) => {
1030
- view: ViewId<string>;
1031
- };
1032
- }];
1033
- };
1034
- readonly 'focus.node': {
1035
- readonly guard: "enabled: FocusMode";
1036
- readonly actions: "assign: focusedNode";
1037
- readonly target: "focused";
1038
- };
1039
- readonly 'xyflow.edgeClick': {
1040
- readonly guard: any;
1041
- readonly actions: readonly [ ActionFunction<Context, {
1042
- type: "xyflow.edgeClick";
1043
- edge: Types.Edge;
1044
- }, Events, undefined, never, never, never, never, never>, "emit: edgeClick"];
1045
- };
1046
- };
1047
- };
1048
- readonly focused: {
1049
- readonly entry: readonly ["focus on nodes and edges", ActionFunction<Context, Events, Events, undefined, Values<{
1050
- syncManualLayoutActorLogic: {
1051
- src: "syncManualLayoutActorLogic";
1052
- logic: SyncLayoutActorLogic;
1053
- id: "syncLayout";
1054
- };
1055
- hotkeyActorLogic: {
1056
- src: "hotkeyActorLogic";
1057
- logic: HotkeyActorLogic;
1058
- id: "hotkey";
1059
- };
1060
- overlaysActorLogic: {
1061
- src: "overlaysActorLogic";
1062
- logic: OverlaysActorLogic;
1063
- id: "overlays";
1064
- };
1065
- searchActorLogic: {
1066
- src: "searchActorLogic";
1067
- logic: SearchActorLogic;
1068
- id: "search";
1069
- };
1070
- }>, never, never, never, never>, "open source of focused or last clicked node", ActionFunction<Context, Events, Events, undefined, Values<{
1071
- syncManualLayoutActorLogic: {
1072
- src: "syncManualLayoutActorLogic";
1073
- logic: SyncLayoutActorLogic;
1074
- id: "syncLayout";
1075
- };
1076
- hotkeyActorLogic: {
1077
- src: "hotkeyActorLogic";
1078
- logic: HotkeyActorLogic;
1079
- id: "hotkey";
1080
- };
1081
- overlaysActorLogic: {
1082
- src: "overlaysActorLogic";
1083
- logic: OverlaysActorLogic;
1084
- id: "overlays";
1085
- };
1086
- searchActorLogic: {
1087
- src: "searchActorLogic";
1088
- logic: SearchActorLogic;
1089
- id: "search";
1090
- };
1091
- }>, never, never, never, never>, "xyflow:fitFocusedBounds"];
1092
- readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
1093
- syncManualLayoutActorLogic: {
1094
- src: "syncManualLayoutActorLogic";
1095
- logic: SyncLayoutActorLogic;
1096
- id: "syncLayout";
1097
- };
1098
- hotkeyActorLogic: {
1099
- src: "hotkeyActorLogic";
1100
- logic: HotkeyActorLogic;
1101
- id: "hotkey";
1102
- };
1103
- overlaysActorLogic: {
1104
- src: "overlaysActorLogic";
1105
- logic: OverlaysActorLogic;
1106
- id: "overlays";
1107
- };
1108
- searchActorLogic: {
1109
- src: "searchActorLogic";
1110
- logic: SearchActorLogic;
1111
- id: "search";
1112
- };
1113
- }>, Values<{
1114
- "layout.align": {
1115
- type: "layout.align";
1116
- params: {
1117
- mode: AlignmentMode;
1118
- };
1119
- };
1120
- "notations.highlight": {
1121
- type: "notations.highlight";
1122
- params: {
1123
- notation: ElementNotation;
1124
- kind?: string;
1125
- };
1126
- };
1127
- "tag.highlight": {
1128
- type: "tag.highlight";
1129
- params: NonReducibleUnknown;
1130
- };
1131
- "xyflow:fitDiagram": {
1132
- type: "xyflow:fitDiagram";
1133
- params: {
1134
- duration?: number;
1135
- bounds?: BBox;
1136
- } | undefined;
1137
- };
1138
- closeAllOverlays: {
1139
- type: "closeAllOverlays";
1140
- params: NonReducibleUnknown;
1141
- };
1142
- "trigger:NavigateTo": {
1143
- type: "trigger:NavigateTo";
1144
- params: NonReducibleUnknown;
1145
- };
1146
- "assign lastClickedNode": {
1147
- type: "assign lastClickedNode";
1148
- params: NonReducibleUnknown;
1149
- };
1150
- "assign: focusedNode": {
1151
- type: "assign: focusedNode";
1152
- params: NonReducibleUnknown;
1153
- };
1154
- "reset lastClickedNode": {
1155
- type: "reset lastClickedNode";
1156
- params: NonReducibleUnknown;
1157
- };
1158
- "open source of focused or last clicked node": {
1159
- type: "open source of focused or last clicked node";
1160
- params: NonReducibleUnknown;
1161
- };
1162
- "xyflow:fitFocusedBounds": {
1163
- type: "xyflow:fitFocusedBounds";
1164
- params: unknown;
1165
- };
1166
- "xyflow:setViewportCenter": {
1167
- type: "xyflow:setViewportCenter";
1168
- params: {
1169
- x: number;
1170
- y: number;
1171
- };
1172
- };
1173
- "xyflow:setViewport": {
1174
- type: "xyflow:setViewport";
1175
- params: {
1176
- viewport: Viewport;
1177
- duration?: number;
1178
- };
1179
- };
1180
- "xyflow:alignNodeFromToAfterNavigate": {
1181
- type: "xyflow:alignNodeFromToAfterNavigate";
1182
- params: {
1183
- fromNode: NodeId;
1184
- toPosition: XYPoint;
1185
- };
1186
- };
1187
- "ensure overlays actor state": {
1188
- type: "ensure overlays actor state";
1189
- params: NonReducibleUnknown;
1190
- };
1191
- "ensure search actor state": {
1192
- type: "ensure search actor state";
1193
- params: NonReducibleUnknown;
1194
- };
1195
- updateFeatures: {
1196
- type: "updateFeatures";
1197
- params: NonReducibleUnknown;
1198
- };
1199
- updateInputs: {
1200
- type: "updateInputs";
1201
- params: NonReducibleUnknown;
1202
- };
1203
- closeSearch: {
1204
- type: "closeSearch";
1205
- params: NonReducibleUnknown;
1206
- };
1207
- startSyncLayout: {
1208
- type: "startSyncLayout";
1209
- params: NonReducibleUnknown;
1210
- };
1211
- stopSyncLayout: {
1212
- type: "stopSyncLayout";
1213
- params: NonReducibleUnknown;
1214
- };
1215
- onNodeMouseEnter: {
1216
- type: "onNodeMouseEnter";
1217
- params: {
1218
- node: Types.Node;
1219
- };
1220
- };
1221
- onNodeMouseLeave: {
1222
- type: "onNodeMouseLeave";
1223
- params: {
1224
- node: Types.Node;
1225
- };
1226
- };
1227
- onEdgeMouseEnter: {
1228
- type: "onEdgeMouseEnter";
1229
- params: NonReducibleUnknown;
1230
- };
1231
- onEdgeMouseLeave: {
1232
- type: "onEdgeMouseLeave";
1233
- params: NonReducibleUnknown;
1234
- };
1235
- "focus on nodes and edges": {
1236
- type: "focus on nodes and edges";
1237
- params: NonReducibleUnknown;
1238
- };
1239
- "undim everything": {
1240
- type: "undim everything";
1241
- params: NonReducibleUnknown;
1242
- };
1243
- "update active walkthrough": {
1244
- type: "update active walkthrough";
1245
- params: NonReducibleUnknown;
1246
- };
1247
- "open element details": {
1248
- type: "open element details";
1249
- params: {
1250
- fqn: Fqn;
1251
- fromNode?: NodeId | undefined;
1252
- } | undefined;
1253
- };
1254
- "emit: walkthroughStarted": {
1255
- type: "emit: walkthroughStarted";
1256
- params: NonReducibleUnknown;
1257
- };
1258
- "emit: walkthroughStep": {
1259
- type: "emit: walkthroughStep";
1260
- params: NonReducibleUnknown;
1261
- };
1262
- "emit: walkthroughStopped": {
1263
- type: "emit: walkthroughStopped";
1264
- params: NonReducibleUnknown;
1265
- };
1266
- "emit: edgeEditingStarted": {
1267
- type: "emit: edgeEditingStarted";
1268
- params: NonReducibleUnknown;
1269
- };
1270
- "emit: paneClick": {
1271
- type: "emit: paneClick";
1272
- params: NonReducibleUnknown;
1273
- };
1274
- "emit: nodeClick": {
1275
- type: "emit: nodeClick";
1276
- params: NonReducibleUnknown;
1277
- };
1278
- "emit: edgeClick": {
1279
- type: "emit: edgeClick";
1280
- params: NonReducibleUnknown;
1281
- };
1282
- "emit: initialized": {
1283
- type: "emit: initialized";
1284
- params: NonReducibleUnknown;
1285
- };
1286
- "emit: openSource": {
1287
- type: "emit: openSource";
1288
- params: OpenSourceParams;
1289
- };
1290
- "assign: dynamicViewVariant": {
1291
- type: "assign: dynamicViewVariant";
1292
- params: NonReducibleUnknown;
1293
- };
1294
- }>, Values<{
1295
- isReady: {
1296
- type: "isReady";
1297
- params: unknown;
1298
- };
1299
- "enabled: FitView": {
1300
- type: "enabled: FitView";
1301
- params: unknown;
1302
- };
1303
- "enabled: FocusMode": {
1304
- type: "enabled: FocusMode";
1305
- params: unknown;
1306
- };
1307
- "enabled: Readonly": {
1308
- type: "enabled: Readonly";
1309
- params: unknown;
1310
- };
1311
- "enabled: RelationshipDetails": {
1312
- type: "enabled: RelationshipDetails";
1313
- params: unknown;
1314
- };
1315
- "enabled: Search": {
1316
- type: "enabled: Search";
1317
- params: unknown;
1318
- };
1319
- "enabled: ElementDetails": {
1320
- type: "enabled: ElementDetails";
1321
- params: unknown;
1322
- };
1323
- "enabled: DynamicViewWalkthrough": {
1324
- type: "enabled: DynamicViewWalkthrough";
1325
- params: unknown;
1326
- };
1327
- "not readonly": {
1328
- type: "not readonly";
1329
- params: unknown;
1330
- };
1331
- "is dynamic view": {
1332
- type: "is dynamic view";
1333
- params: unknown;
1334
- };
1335
- "is another view": {
1336
- type: "is another view";
1337
- params: unknown;
1338
- };
1339
- "click: node has modelFqn": {
1340
- type: "click: node has modelFqn";
1341
- params: unknown;
1342
- };
1343
- "click: selected node": {
1344
- type: "click: selected node";
1345
- params: unknown;
1346
- };
1347
- "click: same node": {
1348
- type: "click: same node";
1349
- params: unknown;
1350
- };
1351
- "click: focused node": {
1352
- type: "click: focused node";
1353
- params: unknown;
1354
- };
1355
- "click: node has connections": {
1356
- type: "click: node has connections";
1357
- params: unknown;
1358
- };
1359
- "click: selected edge": {
1360
- type: "click: selected edge";
1361
- params: unknown;
1362
- };
1363
- }>, never, EmittedEvents>;
1364
- readonly on: {
1365
- readonly 'xyflow.nodeClick': readonly [{
1366
- readonly guard: any;
1367
- readonly actions: readonly ["open element details", "emit: nodeClick"];
1368
- }, {
1369
- readonly guard: "click: focused node";
1370
- readonly actions: "emit: nodeClick";
1371
- readonly target: "#idle";
1372
- }, {
1373
- readonly actions: readonly ["assign lastClickedNode", ActionFunction<Context, {
1374
- type: "xyflow.nodeClick";
1375
- node: Types.Node;
1376
- }, Events, undefined, never, never, never, never, never>, "emit: nodeClick"];
1377
- }];
1378
- readonly 'focus.node': {
1379
- readonly actions: readonly ["assign: focusedNode", "focus on nodes and edges", "open source of focused or last clicked node", "xyflow:fitFocusedBounds"];
1380
- };
1381
- readonly 'key.esc': {
1382
- readonly target: "idle";
1383
- };
1384
- readonly 'xyflow.paneClick': {
1385
- readonly actions: readonly ["reset lastClickedNode", "emit: paneClick"];
1386
- readonly target: "idle";
1387
- };
1388
- readonly 'notations.unhighlight': {
1389
- readonly actions: "focus on nodes and edges";
1390
- };
1391
- readonly 'tag.unhighlight': {
1392
- readonly actions: "focus on nodes and edges";
1393
- };
1394
- };
1395
- };
1396
- readonly walkthrough: {
1397
- readonly entry: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
1398
- syncManualLayoutActorLogic: {
1399
- src: "syncManualLayoutActorLogic";
1400
- logic: SyncLayoutActorLogic;
1401
- id: "syncLayout";
1402
- };
1403
- hotkeyActorLogic: {
1404
- src: "hotkeyActorLogic";
1405
- logic: HotkeyActorLogic;
1406
- id: "hotkey";
1407
- };
1408
- overlaysActorLogic: {
1409
- src: "overlaysActorLogic";
1410
- logic: OverlaysActorLogic;
1411
- id: "overlays";
1412
- };
1413
- searchActorLogic: {
1414
- src: "searchActorLogic";
1415
- logic: SearchActorLogic;
1416
- id: "search";
1417
- };
1418
- }>, never, never, never, never>, ActionFunction<Context, Events, Events, undefined, Values<{
1419
- syncManualLayoutActorLogic: {
1420
- src: "syncManualLayoutActorLogic";
1421
- logic: SyncLayoutActorLogic;
1422
- id: "syncLayout";
1423
- };
1424
- hotkeyActorLogic: {
1425
- src: "hotkeyActorLogic";
1426
- logic: HotkeyActorLogic;
1427
- id: "hotkey";
1428
- };
1429
- overlaysActorLogic: {
1430
- src: "overlaysActorLogic";
1431
- logic: OverlaysActorLogic;
1432
- id: "overlays";
1433
- };
1434
- searchActorLogic: {
1435
- src: "searchActorLogic";
1436
- logic: SearchActorLogic;
1437
- id: "search";
1438
- };
1439
- }>, never, never, never, never>, "update active walkthrough", "xyflow:fitFocusedBounds", "emit: walkthroughStarted"];
1440
- readonly exit: ActionFunction<Context, Events, Events, undefined, Values<{
1441
- syncManualLayoutActorLogic: {
1442
- src: "syncManualLayoutActorLogic";
1443
- logic: SyncLayoutActorLogic;
1444
- id: "syncLayout";
1445
- };
1446
- hotkeyActorLogic: {
1447
- src: "hotkeyActorLogic";
1448
- logic: HotkeyActorLogic;
1449
- id: "hotkey";
1450
- };
1451
- overlaysActorLogic: {
1452
- src: "overlaysActorLogic";
1453
- logic: OverlaysActorLogic;
1454
- id: "overlays";
1455
- };
1456
- searchActorLogic: {
1457
- src: "searchActorLogic";
1458
- logic: SearchActorLogic;
1459
- id: "search";
1460
- };
1461
- }>, Values<{
1462
- "layout.align": {
1463
- type: "layout.align";
1464
- params: {
1465
- mode: AlignmentMode;
1466
- };
1467
- };
1468
- "notations.highlight": {
1469
- type: "notations.highlight";
1470
- params: {
1471
- notation: ElementNotation;
1472
- kind?: string;
1473
- };
1474
- };
1475
- "tag.highlight": {
1476
- type: "tag.highlight";
1477
- params: NonReducibleUnknown;
1478
- };
1479
- "xyflow:fitDiagram": {
1480
- type: "xyflow:fitDiagram";
1481
- params: {
1482
- duration?: number;
1483
- bounds?: BBox;
1484
- } | undefined;
1485
- };
1486
- closeAllOverlays: {
1487
- type: "closeAllOverlays";
1488
- params: NonReducibleUnknown;
1489
- };
1490
- "trigger:NavigateTo": {
1491
- type: "trigger:NavigateTo";
1492
- params: NonReducibleUnknown;
1493
- };
1494
- "assign lastClickedNode": {
1495
- type: "assign lastClickedNode";
1496
- params: NonReducibleUnknown;
1497
- };
1498
- "assign: focusedNode": {
1499
- type: "assign: focusedNode";
1500
- params: NonReducibleUnknown;
1501
- };
1502
- "reset lastClickedNode": {
1503
- type: "reset lastClickedNode";
1504
- params: NonReducibleUnknown;
1505
- };
1506
- "open source of focused or last clicked node": {
1507
- type: "open source of focused or last clicked node";
1508
- params: NonReducibleUnknown;
1509
- };
1510
- "xyflow:fitFocusedBounds": {
1511
- type: "xyflow:fitFocusedBounds";
1512
- params: unknown;
1513
- };
1514
- "xyflow:setViewportCenter": {
1515
- type: "xyflow:setViewportCenter";
1516
- params: {
1517
- x: number;
1518
- y: number;
1519
- };
1520
- };
1521
- "xyflow:setViewport": {
1522
- type: "xyflow:setViewport";
1523
- params: {
1524
- viewport: Viewport;
1525
- duration?: number;
1526
- };
1527
- };
1528
- "xyflow:alignNodeFromToAfterNavigate": {
1529
- type: "xyflow:alignNodeFromToAfterNavigate";
1530
- params: {
1531
- fromNode: NodeId;
1532
- toPosition: XYPoint;
1533
- };
1534
- };
1535
- "ensure overlays actor state": {
1536
- type: "ensure overlays actor state";
1537
- params: NonReducibleUnknown;
1538
- };
1539
- "ensure search actor state": {
1540
- type: "ensure search actor state";
1541
- params: NonReducibleUnknown;
1542
- };
1543
- updateFeatures: {
1544
- type: "updateFeatures";
1545
- params: NonReducibleUnknown;
1546
- };
1547
- updateInputs: {
1548
- type: "updateInputs";
1549
- params: NonReducibleUnknown;
1550
- };
1551
- closeSearch: {
1552
- type: "closeSearch";
1553
- params: NonReducibleUnknown;
1554
- };
1555
- startSyncLayout: {
1556
- type: "startSyncLayout";
1557
- params: NonReducibleUnknown;
1558
- };
1559
- stopSyncLayout: {
1560
- type: "stopSyncLayout";
1561
- params: NonReducibleUnknown;
1562
- };
1563
- onNodeMouseEnter: {
1564
- type: "onNodeMouseEnter";
1565
- params: {
1566
- node: Types.Node;
1567
- };
1568
- };
1569
- onNodeMouseLeave: {
1570
- type: "onNodeMouseLeave";
1571
- params: {
1572
- node: Types.Node;
1573
- };
1574
- };
1575
- onEdgeMouseEnter: {
1576
- type: "onEdgeMouseEnter";
1577
- params: NonReducibleUnknown;
1578
- };
1579
- onEdgeMouseLeave: {
1580
- type: "onEdgeMouseLeave";
1581
- params: NonReducibleUnknown;
1582
- };
1583
- "focus on nodes and edges": {
1584
- type: "focus on nodes and edges";
1585
- params: NonReducibleUnknown;
1586
- };
1587
- "undim everything": {
1588
- type: "undim everything";
1589
- params: NonReducibleUnknown;
1590
- };
1591
- "update active walkthrough": {
1592
- type: "update active walkthrough";
1593
- params: NonReducibleUnknown;
1594
- };
1595
- "open element details": {
1596
- type: "open element details";
1597
- params: {
1598
- fqn: Fqn;
1599
- fromNode?: NodeId | undefined;
1600
- } | undefined;
1601
- };
1602
- "emit: walkthroughStarted": {
1603
- type: "emit: walkthroughStarted";
1604
- params: NonReducibleUnknown;
1605
- };
1606
- "emit: walkthroughStep": {
1607
- type: "emit: walkthroughStep";
1608
- params: NonReducibleUnknown;
1609
- };
1610
- "emit: walkthroughStopped": {
1611
- type: "emit: walkthroughStopped";
1612
- params: NonReducibleUnknown;
1613
- };
1614
- "emit: edgeEditingStarted": {
1615
- type: "emit: edgeEditingStarted";
1616
- params: NonReducibleUnknown;
1617
- };
1618
- "emit: paneClick": {
1619
- type: "emit: paneClick";
1620
- params: NonReducibleUnknown;
1621
- };
1622
- "emit: nodeClick": {
1623
- type: "emit: nodeClick";
1624
- params: NonReducibleUnknown;
1625
- };
1626
- "emit: edgeClick": {
1627
- type: "emit: edgeClick";
1628
- params: NonReducibleUnknown;
1629
- };
1630
- "emit: initialized": {
1631
- type: "emit: initialized";
1632
- params: NonReducibleUnknown;
1633
- };
1634
- "emit: openSource": {
1635
- type: "emit: openSource";
1636
- params: OpenSourceParams;
1637
- };
1638
- "assign: dynamicViewVariant": {
1639
- type: "assign: dynamicViewVariant";
1640
- params: NonReducibleUnknown;
1641
- };
1642
- }>, Values<{
1643
- isReady: {
1644
- type: "isReady";
1645
- params: unknown;
1646
- };
1647
- "enabled: FitView": {
1648
- type: "enabled: FitView";
1649
- params: unknown;
1650
- };
1651
- "enabled: FocusMode": {
1652
- type: "enabled: FocusMode";
1653
- params: unknown;
1654
- };
1655
- "enabled: Readonly": {
1656
- type: "enabled: Readonly";
1657
- params: unknown;
1658
- };
1659
- "enabled: RelationshipDetails": {
1660
- type: "enabled: RelationshipDetails";
1661
- params: unknown;
1662
- };
1663
- "enabled: Search": {
1664
- type: "enabled: Search";
1665
- params: unknown;
1666
- };
1667
- "enabled: ElementDetails": {
1668
- type: "enabled: ElementDetails";
1669
- params: unknown;
1670
- };
1671
- "enabled: DynamicViewWalkthrough": {
1672
- type: "enabled: DynamicViewWalkthrough";
1673
- params: unknown;
1674
- };
1675
- "not readonly": {
1676
- type: "not readonly";
1677
- params: unknown;
1678
- };
1679
- "is dynamic view": {
1680
- type: "is dynamic view";
1681
- params: unknown;
1682
- };
1683
- "is another view": {
1684
- type: "is another view";
1685
- params: unknown;
1686
- };
1687
- "click: node has modelFqn": {
1688
- type: "click: node has modelFqn";
1689
- params: unknown;
1690
- };
1691
- "click: selected node": {
1692
- type: "click: selected node";
1693
- params: unknown;
1694
- };
1695
- "click: same node": {
1696
- type: "click: same node";
1697
- params: unknown;
1698
- };
1699
- "click: focused node": {
1700
- type: "click: focused node";
1701
- params: unknown;
1702
- };
1703
- "click: node has connections": {
1704
- type: "click: node has connections";
1705
- params: unknown;
1706
- };
1707
- "click: selected edge": {
1708
- type: "click: selected edge";
1709
- params: unknown;
1710
- };
1711
- }>, never, EmittedEvents>;
1712
- readonly on: {
1713
- readonly 'key.esc': {
1714
- readonly target: "idle";
1715
- };
1716
- readonly 'key.arrow.left': {
1717
- readonly actions: ActionFunction<Context, HotKeyEvent, Events, undefined, never, never, never, never, never>;
1718
- };
1719
- readonly 'key.arrow.right': {
1720
- readonly actions: ActionFunction<Context, HotKeyEvent, Events, undefined, never, never, never, never, never>;
1721
- };
1722
- readonly 'walkthrough.step': {
1723
- readonly actions: readonly [ ActionFunction<Context, {
1724
- type: "walkthrough.step";
1725
- direction: "next" | "previous";
1726
- }, Events, undefined, Values<{
1727
- syncManualLayoutActorLogic: {
1728
- src: "syncManualLayoutActorLogic";
1729
- logic: SyncLayoutActorLogic;
1730
- id: "syncLayout";
1731
- };
1732
- hotkeyActorLogic: {
1733
- src: "hotkeyActorLogic";
1734
- logic: HotkeyActorLogic;
1735
- id: "hotkey";
1736
- };
1737
- overlaysActorLogic: {
1738
- src: "overlaysActorLogic";
1739
- logic: OverlaysActorLogic;
1740
- id: "overlays";
1741
- };
1742
- searchActorLogic: {
1743
- src: "searchActorLogic";
1744
- logic: SearchActorLogic;
1745
- id: "search";
1746
- };
1747
- }>, never, never, never, never>, "update active walkthrough", "xyflow:fitFocusedBounds", "emit: walkthroughStep"];
1748
- };
1749
- readonly 'xyflow.edgeClick': {
1750
- readonly actions: readonly [ ActionFunction<Context, {
1751
- type: "xyflow.edgeClick";
1752
- edge: Types.Edge;
1753
- }, Events, undefined, Values<{
1754
- syncManualLayoutActorLogic: {
1755
- src: "syncManualLayoutActorLogic";
1756
- logic: SyncLayoutActorLogic;
1757
- id: "syncLayout";
1758
- };
1759
- hotkeyActorLogic: {
1760
- src: "hotkeyActorLogic";
1761
- logic: HotkeyActorLogic;
1762
- id: "hotkey";
1763
- };
1764
- overlaysActorLogic: {
1765
- src: "overlaysActorLogic";
1766
- logic: OverlaysActorLogic;
1767
- id: "overlays";
1768
- };
1769
- searchActorLogic: {
1770
- src: "searchActorLogic";
1771
- logic: SearchActorLogic;
1772
- id: "search";
1773
- };
1774
- }>, never, never, never, never>, "update active walkthrough", "xyflow:fitFocusedBounds", "emit: edgeClick", "emit: walkthroughStep"];
1775
- };
1776
- readonly 'notations.unhighlight': {
1777
- readonly actions: "update active walkthrough";
1778
- };
1779
- readonly 'tag.unhighlight': {
1780
- readonly actions: "update active walkthrough";
1781
- };
1782
- readonly 'walkthrough.end': {
1783
- readonly target: "idle";
1784
- };
1785
- readonly 'xyflow.paneDblClick': {
1786
- readonly target: "idle";
1787
- };
1788
- readonly 'update.view': {
1789
- readonly guard: "is another view";
1790
- readonly actions: ActionFunction<Context, {
1791
- type: "update.view";
1792
- view: DiagramView;
1793
- xynodes: Types.Node[];
1794
- xyedges: Types.Edge[];
1795
- }, Events, undefined, never, never, never, never, never>;
1796
- readonly target: "idle";
1797
- };
1798
- };
1799
- };
1800
- };
1801
- };
1802
- readonly navigating: {
1803
- readonly id: "navigating";
1804
- readonly entry: readonly ["closeAllOverlays", "closeSearch", "stopSyncLayout", "trigger:NavigateTo"];
1805
- readonly on: {
1806
- readonly 'update.view': {
1807
- readonly actions: ActionFunction<Context, {
1808
- type: "update.view";
1809
- view: DiagramView;
1810
- xynodes: Types.Node[];
1811
- xyedges: Types.Edge[];
1812
- }, Events, undefined, Values<{
1813
- syncManualLayoutActorLogic: {
1814
- src: "syncManualLayoutActorLogic";
1815
- logic: SyncLayoutActorLogic;
1816
- id: "syncLayout";
1817
- };
1818
- hotkeyActorLogic: {
1819
- src: "hotkeyActorLogic";
1820
- logic: HotkeyActorLogic;
1821
- id: "hotkey";
1822
- };
1823
- overlaysActorLogic: {
1824
- src: "overlaysActorLogic";
1825
- logic: OverlaysActorLogic;
1826
- id: "overlays";
1827
- };
1828
- searchActorLogic: {
1829
- src: "searchActorLogic";
1830
- logic: SearchActorLogic;
1831
- id: "search";
1832
- };
1833
- }>, Values<{
1834
- "layout.align": {
1835
- type: "layout.align";
1836
- params: {
1837
- mode: AlignmentMode;
1838
- };
1839
- };
1840
- "notations.highlight": {
1841
- type: "notations.highlight";
1842
- params: {
1843
- notation: ElementNotation;
1844
- kind?: string;
1845
- };
1846
- };
1847
- "tag.highlight": {
1848
- type: "tag.highlight";
1849
- params: NonReducibleUnknown;
1850
- };
1851
- "xyflow:fitDiagram": {
1852
- type: "xyflow:fitDiagram";
1853
- params: {
1854
- duration?: number;
1855
- bounds?: BBox;
1856
- } | undefined;
1857
- };
1858
- closeAllOverlays: {
1859
- type: "closeAllOverlays";
1860
- params: NonReducibleUnknown;
1861
- };
1862
- "trigger:NavigateTo": {
1863
- type: "trigger:NavigateTo";
1864
- params: NonReducibleUnknown;
1865
- };
1866
- "assign lastClickedNode": {
1867
- type: "assign lastClickedNode";
1868
- params: NonReducibleUnknown;
1869
- };
1870
- "assign: focusedNode": {
1871
- type: "assign: focusedNode";
1872
- params: NonReducibleUnknown;
1873
- };
1874
- "reset lastClickedNode": {
1875
- type: "reset lastClickedNode";
1876
- params: NonReducibleUnknown;
1877
- };
1878
- "open source of focused or last clicked node": {
1879
- type: "open source of focused or last clicked node";
1880
- params: NonReducibleUnknown;
1881
- };
1882
- "xyflow:fitFocusedBounds": {
1883
- type: "xyflow:fitFocusedBounds";
1884
- params: unknown;
1885
- };
1886
- "xyflow:setViewportCenter": {
1887
- type: "xyflow:setViewportCenter";
1888
- params: {
1889
- x: number;
1890
- y: number;
1891
- };
1892
- };
1893
- "xyflow:setViewport": {
1894
- type: "xyflow:setViewport";
1895
- params: {
1896
- viewport: Viewport;
1897
- duration?: number;
1898
- };
1899
- };
1900
- "xyflow:alignNodeFromToAfterNavigate": {
1901
- type: "xyflow:alignNodeFromToAfterNavigate";
1902
- params: {
1903
- fromNode: NodeId;
1904
- toPosition: XYPoint;
1905
- };
1906
- };
1907
- "ensure overlays actor state": {
1908
- type: "ensure overlays actor state";
1909
- params: NonReducibleUnknown;
1910
- };
1911
- "ensure search actor state": {
1912
- type: "ensure search actor state";
1913
- params: NonReducibleUnknown;
1914
- };
1915
- updateFeatures: {
1916
- type: "updateFeatures";
1917
- params: NonReducibleUnknown;
1918
- };
1919
- updateInputs: {
1920
- type: "updateInputs";
1921
- params: NonReducibleUnknown;
1922
- };
1923
- closeSearch: {
1924
- type: "closeSearch";
1925
- params: NonReducibleUnknown;
1926
- };
1927
- startSyncLayout: {
1928
- type: "startSyncLayout";
1929
- params: NonReducibleUnknown;
1930
- };
1931
- stopSyncLayout: {
1932
- type: "stopSyncLayout";
1933
- params: NonReducibleUnknown;
1934
- };
1935
- onNodeMouseEnter: {
1936
- type: "onNodeMouseEnter";
1937
- params: {
1938
- node: Types.Node;
1939
- };
1940
- };
1941
- onNodeMouseLeave: {
1942
- type: "onNodeMouseLeave";
1943
- params: {
1944
- node: Types.Node;
1945
- };
1946
- };
1947
- onEdgeMouseEnter: {
1948
- type: "onEdgeMouseEnter";
1949
- params: NonReducibleUnknown;
1950
- };
1951
- onEdgeMouseLeave: {
1952
- type: "onEdgeMouseLeave";
1953
- params: NonReducibleUnknown;
1954
- };
1955
- "focus on nodes and edges": {
1956
- type: "focus on nodes and edges";
1957
- params: NonReducibleUnknown;
1958
- };
1959
- "undim everything": {
1960
- type: "undim everything";
1961
- params: NonReducibleUnknown;
1962
- };
1963
- "update active walkthrough": {
1964
- type: "update active walkthrough";
1965
- params: NonReducibleUnknown;
1966
- };
1967
- "open element details": {
1968
- type: "open element details";
1969
- params: {
1970
- fqn: Fqn;
1971
- fromNode?: NodeId | undefined;
1972
- } | undefined;
1973
- };
1974
- "emit: walkthroughStarted": {
1975
- type: "emit: walkthroughStarted";
1976
- params: NonReducibleUnknown;
1977
- };
1978
- "emit: walkthroughStep": {
1979
- type: "emit: walkthroughStep";
1980
- params: NonReducibleUnknown;
1981
- };
1982
- "emit: walkthroughStopped": {
1983
- type: "emit: walkthroughStopped";
1984
- params: NonReducibleUnknown;
1985
- };
1986
- "emit: edgeEditingStarted": {
1987
- type: "emit: edgeEditingStarted";
1988
- params: NonReducibleUnknown;
1989
- };
1990
- "emit: paneClick": {
1991
- type: "emit: paneClick";
1992
- params: NonReducibleUnknown;
1993
- };
1994
- "emit: nodeClick": {
1995
- type: "emit: nodeClick";
1996
- params: NonReducibleUnknown;
1997
- };
1998
- "emit: edgeClick": {
1999
- type: "emit: edgeClick";
2000
- params: NonReducibleUnknown;
2001
- };
2002
- "emit: initialized": {
2003
- type: "emit: initialized";
2004
- params: NonReducibleUnknown;
2005
- };
2006
- "emit: openSource": {
2007
- type: "emit: openSource";
2008
- params: OpenSourceParams;
2009
- };
2010
- "assign: dynamicViewVariant": {
2011
- type: "assign: dynamicViewVariant";
2012
- params: NonReducibleUnknown;
2013
- };
2014
- }>, Values<{
2015
- isReady: {
2016
- type: "isReady";
2017
- params: unknown;
2018
- };
2019
- "enabled: FitView": {
2020
- type: "enabled: FitView";
2021
- params: unknown;
2022
- };
2023
- "enabled: FocusMode": {
2024
- type: "enabled: FocusMode";
2025
- params: unknown;
2026
- };
2027
- "enabled: Readonly": {
2028
- type: "enabled: Readonly";
2029
- params: unknown;
2030
- };
2031
- "enabled: RelationshipDetails": {
2032
- type: "enabled: RelationshipDetails";
2033
- params: unknown;
2034
- };
2035
- "enabled: Search": {
2036
- type: "enabled: Search";
2037
- params: unknown;
2038
- };
2039
- "enabled: ElementDetails": {
2040
- type: "enabled: ElementDetails";
2041
- params: unknown;
2042
- };
2043
- "enabled: DynamicViewWalkthrough": {
2044
- type: "enabled: DynamicViewWalkthrough";
2045
- params: unknown;
2046
- };
2047
- "not readonly": {
2048
- type: "not readonly";
2049
- params: unknown;
2050
- };
2051
- "is dynamic view": {
2052
- type: "is dynamic view";
2053
- params: unknown;
2054
- };
2055
- "is another view": {
2056
- type: "is another view";
2057
- params: unknown;
2058
- };
2059
- "click: node has modelFqn": {
2060
- type: "click: node has modelFqn";
2061
- params: unknown;
2062
- };
2063
- "click: selected node": {
2064
- type: "click: selected node";
2065
- params: unknown;
2066
- };
2067
- "click: same node": {
2068
- type: "click: same node";
2069
- params: unknown;
2070
- };
2071
- "click: focused node": {
2072
- type: "click: focused node";
2073
- params: unknown;
2074
- };
2075
- "click: node has connections": {
2076
- type: "click: node has connections";
2077
- params: unknown;
2078
- };
2079
- "click: selected edge": {
2080
- type: "click: selected edge";
2081
- params: unknown;
2082
- };
2083
- }>, never, EmittedEvents>;
2084
- readonly target: "#idle";
2085
- };
2086
- };
2087
- };
2088
- };
2089
- readonly on: {
2090
- readonly 'xyflow.paneClick': {
2091
- readonly actions: "emit: paneClick";
2092
- };
2093
- readonly 'xyflow.nodeClick': {
2094
- readonly actions: "emit: nodeClick";
2095
- };
2096
- readonly 'xyflow.edgeClick': {
2097
- readonly actions: "emit: edgeClick";
2098
- };
2099
- readonly 'xyflow.applyNodeChanges': {
2100
- readonly actions: ActionFunction<Context, {
2101
- type: "xyflow.applyNodeChanges";
2102
- changes: NodeChange<Types.Node>[];
2103
- }, Events, undefined, Values<{
2104
- syncManualLayoutActorLogic: {
2105
- src: "syncManualLayoutActorLogic";
2106
- logic: SyncLayoutActorLogic;
2107
- id: "syncLayout";
2108
- };
2109
- hotkeyActorLogic: {
2110
- src: "hotkeyActorLogic";
2111
- logic: HotkeyActorLogic;
2112
- id: "hotkey";
2113
- };
2114
- overlaysActorLogic: {
2115
- src: "overlaysActorLogic";
2116
- logic: OverlaysActorLogic;
2117
- id: "overlays";
2118
- };
2119
- searchActorLogic: {
2120
- src: "searchActorLogic";
2121
- logic: SearchActorLogic;
2122
- id: "search";
2123
- };
2124
- }>, never, never, never, never>;
2125
- };
2126
- readonly 'xyflow.applyEdgeChanges': {
2127
- readonly actions: ActionFunction<Context, {
2128
- type: "xyflow.applyEdgeChanges";
2129
- changes: EdgeChange<Types.Edge>[];
2130
- }, Events, undefined, Values<{
2131
- syncManualLayoutActorLogic: {
2132
- src: "syncManualLayoutActorLogic";
2133
- logic: SyncLayoutActorLogic;
2134
- id: "syncLayout";
2135
- };
2136
- hotkeyActorLogic: {
2137
- src: "hotkeyActorLogic";
2138
- logic: HotkeyActorLogic;
2139
- id: "hotkey";
2140
- };
2141
- overlaysActorLogic: {
2142
- src: "overlaysActorLogic";
2143
- logic: OverlaysActorLogic;
2144
- id: "overlays";
2145
- };
2146
- searchActorLogic: {
2147
- src: "searchActorLogic";
2148
- logic: SearchActorLogic;
2149
- id: "search";
2150
- };
2151
- }>, never, never, never, never>;
2152
- };
2153
- readonly 'xyflow.viewportMoved': {
2154
- readonly actions: ActionFunction<Context, {
2155
- type: "xyflow.viewportMoved";
2156
- viewport: Viewport;
2157
- manually: boolean;
2158
- }, Events, undefined, Values<{
2159
- syncManualLayoutActorLogic: {
2160
- src: "syncManualLayoutActorLogic";
2161
- logic: SyncLayoutActorLogic;
2162
- id: "syncLayout";
2163
- };
2164
- hotkeyActorLogic: {
2165
- src: "hotkeyActorLogic";
2166
- logic: HotkeyActorLogic;
2167
- id: "hotkey";
2168
- };
2169
- overlaysActorLogic: {
2170
- src: "overlaysActorLogic";
2171
- logic: OverlaysActorLogic;
2172
- id: "overlays";
2173
- };
2174
- searchActorLogic: {
2175
- src: "searchActorLogic";
2176
- logic: SearchActorLogic;
2177
- id: "search";
2178
- };
2179
- }>, never, never, never, never>;
2180
- };
2181
- readonly 'xyflow.edgeEditingStarted': {
2182
- readonly actions: "emit: edgeEditingStarted";
2183
- };
2184
- readonly fitDiagram: {
2185
- readonly guard: "enabled: FitView";
2186
- readonly actions: {
2187
- readonly type: "xyflow:fitDiagram";
2188
- readonly params: (data: {
2189
- context: Context;
2190
- event: {
2191
- type: "fitDiagram";
2192
- duration?: number;
2193
- bounds?: BBox;
2194
- };
2195
- }) => {
2196
- type: "fitDiagram";
2197
- duration?: number;
2198
- bounds?: BBox;
2199
- };
2200
- };
2201
- };
2202
- readonly 'update.nodeData': {
2203
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
2204
- syncManualLayoutActorLogic: {
2205
- src: "syncManualLayoutActorLogic";
2206
- logic: SyncLayoutActorLogic;
2207
- id: "syncLayout";
2208
- };
2209
- hotkeyActorLogic: {
2210
- src: "hotkeyActorLogic";
2211
- logic: HotkeyActorLogic;
2212
- id: "hotkey";
2213
- };
2214
- overlaysActorLogic: {
2215
- src: "overlaysActorLogic";
2216
- logic: OverlaysActorLogic;
2217
- id: "overlays";
2218
- };
2219
- searchActorLogic: {
2220
- src: "searchActorLogic";
2221
- logic: SearchActorLogic;
2222
- id: "search";
2223
- };
2224
- }>, never, never, never, never>;
2225
- };
2226
- readonly 'update.edgeData': {
2227
- readonly actions: ActionFunction<Context, Events, Events, undefined, Values<{
2228
- syncManualLayoutActorLogic: {
2229
- src: "syncManualLayoutActorLogic";
2230
- logic: SyncLayoutActorLogic;
2231
- id: "syncLayout";
2232
- };
2233
- hotkeyActorLogic: {
2234
- src: "hotkeyActorLogic";
2235
- logic: HotkeyActorLogic;
2236
- id: "hotkey";
2237
- };
2238
- overlaysActorLogic: {
2239
- src: "overlaysActorLogic";
2240
- logic: OverlaysActorLogic;
2241
- id: "overlays";
2242
- };
2243
- searchActorLogic: {
2244
- src: "searchActorLogic";
2245
- logic: SearchActorLogic;
2246
- id: "search";
2247
- };
2248
- }>, never, never, never, never>;
2249
- };
2250
- readonly 'update.view': {
2251
- readonly actions: readonly [ ActionFunction<Context, Events, Events, undefined, Values<{
2252
- syncManualLayoutActorLogic: {
2253
- src: "syncManualLayoutActorLogic";
2254
- logic: SyncLayoutActorLogic;
2255
- id: "syncLayout";
2256
- };
2257
- hotkeyActorLogic: {
2258
- src: "hotkeyActorLogic";
2259
- logic: HotkeyActorLogic;
2260
- id: "hotkey";
2261
- };
2262
- overlaysActorLogic: {
2263
- src: "overlaysActorLogic";
2264
- logic: OverlaysActorLogic;
2265
- id: "overlays";
2266
- };
2267
- searchActorLogic: {
2268
- src: "searchActorLogic";
2269
- logic: SearchActorLogic;
2270
- id: "search";
2271
- };
2272
- }>, never, never, never, never>, ActionFunction<Context, {
2273
- type: "update.view";
2274
- view: DiagramView;
2275
- xynodes: Types.Node[];
2276
- xyedges: Types.Edge[];
2277
- }, Events, undefined, Values<{
2278
- syncManualLayoutActorLogic: {
2279
- src: "syncManualLayoutActorLogic";
2280
- logic: SyncLayoutActorLogic;
2281
- id: "syncLayout";
2282
- };
2283
- hotkeyActorLogic: {
2284
- src: "hotkeyActorLogic";
2285
- logic: HotkeyActorLogic;
2286
- id: "hotkey";
2287
- };
2288
- overlaysActorLogic: {
2289
- src: "overlaysActorLogic";
2290
- logic: OverlaysActorLogic;
2291
- id: "overlays";
2292
- };
2293
- searchActorLogic: {
2294
- src: "searchActorLogic";
2295
- logic: SearchActorLogic;
2296
- id: "search";
2297
- };
2298
- }>, Values<{
2299
- "layout.align": {
2300
- type: "layout.align";
2301
- params: {
2302
- mode: AlignmentMode;
2303
- };
2304
- };
2305
- "notations.highlight": {
2306
- type: "notations.highlight";
2307
- params: {
2308
- notation: ElementNotation;
2309
- kind?: string;
2310
- };
2311
- };
2312
- "tag.highlight": {
2313
- type: "tag.highlight";
2314
- params: NonReducibleUnknown;
2315
- };
2316
- "xyflow:fitDiagram": {
2317
- type: "xyflow:fitDiagram";
2318
- params: {
2319
- duration?: number;
2320
- bounds?: BBox;
2321
- } | undefined;
2322
- };
2323
- closeAllOverlays: {
2324
- type: "closeAllOverlays";
2325
- params: NonReducibleUnknown;
2326
- };
2327
- "trigger:NavigateTo": {
2328
- type: "trigger:NavigateTo";
2329
- params: NonReducibleUnknown;
2330
- };
2331
- "assign lastClickedNode": {
2332
- type: "assign lastClickedNode";
2333
- params: NonReducibleUnknown;
2334
- };
2335
- "assign: focusedNode": {
2336
- type: "assign: focusedNode";
2337
- params: NonReducibleUnknown;
2338
- };
2339
- "reset lastClickedNode": {
2340
- type: "reset lastClickedNode";
2341
- params: NonReducibleUnknown;
2342
- };
2343
- "open source of focused or last clicked node": {
2344
- type: "open source of focused or last clicked node";
2345
- params: NonReducibleUnknown;
2346
- };
2347
- "xyflow:fitFocusedBounds": {
2348
- type: "xyflow:fitFocusedBounds";
2349
- params: unknown;
2350
- };
2351
- "xyflow:setViewportCenter": {
2352
- type: "xyflow:setViewportCenter";
2353
- params: {
2354
- x: number;
2355
- y: number;
2356
- };
2357
- };
2358
- "xyflow:setViewport": {
2359
- type: "xyflow:setViewport";
2360
- params: {
2361
- viewport: Viewport;
2362
- duration?: number;
2363
- };
2364
- };
2365
- "xyflow:alignNodeFromToAfterNavigate": {
2366
- type: "xyflow:alignNodeFromToAfterNavigate";
2367
- params: {
2368
- fromNode: NodeId;
2369
- toPosition: XYPoint;
2370
- };
2371
- };
2372
- "ensure overlays actor state": {
2373
- type: "ensure overlays actor state";
2374
- params: NonReducibleUnknown;
2375
- };
2376
- "ensure search actor state": {
2377
- type: "ensure search actor state";
2378
- params: NonReducibleUnknown;
2379
- };
2380
- updateFeatures: {
2381
- type: "updateFeatures";
2382
- params: NonReducibleUnknown;
2383
- };
2384
- updateInputs: {
2385
- type: "updateInputs";
2386
- params: NonReducibleUnknown;
2387
- };
2388
- closeSearch: {
2389
- type: "closeSearch";
2390
- params: NonReducibleUnknown;
2391
- };
2392
- startSyncLayout: {
2393
- type: "startSyncLayout";
2394
- params: NonReducibleUnknown;
2395
- };
2396
- stopSyncLayout: {
2397
- type: "stopSyncLayout";
2398
- params: NonReducibleUnknown;
2399
- };
2400
- onNodeMouseEnter: {
2401
- type: "onNodeMouseEnter";
2402
- params: {
2403
- node: Types.Node;
2404
- };
2405
- };
2406
- onNodeMouseLeave: {
2407
- type: "onNodeMouseLeave";
2408
- params: {
2409
- node: Types.Node;
2410
- };
2411
- };
2412
- onEdgeMouseEnter: {
2413
- type: "onEdgeMouseEnter";
2414
- params: NonReducibleUnknown;
2415
- };
2416
- onEdgeMouseLeave: {
2417
- type: "onEdgeMouseLeave";
2418
- params: NonReducibleUnknown;
2419
- };
2420
- "focus on nodes and edges": {
2421
- type: "focus on nodes and edges";
2422
- params: NonReducibleUnknown;
2423
- };
2424
- "undim everything": {
2425
- type: "undim everything";
2426
- params: NonReducibleUnknown;
2427
- };
2428
- "update active walkthrough": {
2429
- type: "update active walkthrough";
2430
- params: NonReducibleUnknown;
2431
- };
2432
- "open element details": {
2433
- type: "open element details";
2434
- params: {
2435
- fqn: Fqn;
2436
- fromNode?: NodeId | undefined;
2437
- } | undefined;
2438
- };
2439
- "emit: walkthroughStarted": {
2440
- type: "emit: walkthroughStarted";
2441
- params: NonReducibleUnknown;
2442
- };
2443
- "emit: walkthroughStep": {
2444
- type: "emit: walkthroughStep";
2445
- params: NonReducibleUnknown;
2446
- };
2447
- "emit: walkthroughStopped": {
2448
- type: "emit: walkthroughStopped";
2449
- params: NonReducibleUnknown;
2450
- };
2451
- "emit: edgeEditingStarted": {
2452
- type: "emit: edgeEditingStarted";
2453
- params: NonReducibleUnknown;
2454
- };
2455
- "emit: paneClick": {
2456
- type: "emit: paneClick";
2457
- params: NonReducibleUnknown;
2458
- };
2459
- "emit: nodeClick": {
2460
- type: "emit: nodeClick";
2461
- params: NonReducibleUnknown;
2462
- };
2463
- "emit: edgeClick": {
2464
- type: "emit: edgeClick";
2465
- params: NonReducibleUnknown;
2466
- };
2467
- "emit: initialized": {
2468
- type: "emit: initialized";
2469
- params: NonReducibleUnknown;
2470
- };
2471
- "emit: openSource": {
2472
- type: "emit: openSource";
2473
- params: OpenSourceParams;
2474
- };
2475
- "assign: dynamicViewVariant": {
2476
- type: "assign: dynamicViewVariant";
2477
- params: NonReducibleUnknown;
2478
- };
2479
- }>, Values<{
2480
- isReady: {
2481
- type: "isReady";
2482
- params: unknown;
2483
- };
2484
- "enabled: FitView": {
2485
- type: "enabled: FitView";
2486
- params: unknown;
2487
- };
2488
- "enabled: FocusMode": {
2489
- type: "enabled: FocusMode";
2490
- params: unknown;
2491
- };
2492
- "enabled: Readonly": {
2493
- type: "enabled: Readonly";
2494
- params: unknown;
2495
- };
2496
- "enabled: RelationshipDetails": {
2497
- type: "enabled: RelationshipDetails";
2498
- params: unknown;
2499
- };
2500
- "enabled: Search": {
2501
- type: "enabled: Search";
2502
- params: unknown;
2503
- };
2504
- "enabled: ElementDetails": {
2505
- type: "enabled: ElementDetails";
2506
- params: unknown;
2507
- };
2508
- "enabled: DynamicViewWalkthrough": {
2509
- type: "enabled: DynamicViewWalkthrough";
2510
- params: unknown;
2511
- };
2512
- "not readonly": {
2513
- type: "not readonly";
2514
- params: unknown;
2515
- };
2516
- "is dynamic view": {
2517
- type: "is dynamic view";
2518
- params: unknown;
2519
- };
2520
- "is another view": {
2521
- type: "is another view";
2522
- params: unknown;
2523
- };
2524
- "click: node has modelFqn": {
2525
- type: "click: node has modelFqn";
2526
- params: unknown;
2527
- };
2528
- "click: selected node": {
2529
- type: "click: selected node";
2530
- params: unknown;
2531
- };
2532
- "click: same node": {
2533
- type: "click: same node";
2534
- params: unknown;
2535
- };
2536
- "click: focused node": {
2537
- type: "click: focused node";
2538
- params: unknown;
2539
- };
2540
- "click: node has connections": {
2541
- type: "click: node has connections";
2542
- params: unknown;
2543
- };
2544
- "click: selected edge": {
2545
- type: "click: selected edge";
2546
- params: unknown;
2547
- };
2548
- }>, never, EmittedEvents>];
2549
- };
2550
- readonly 'update.inputs': {
2551
- readonly actions: "updateInputs";
2552
- };
2553
- readonly 'update.features': {
2554
- readonly actions: readonly ["updateFeatures", "ensure overlays actor state", "ensure search actor state"];
2555
- };
2556
- readonly 'switch.dynamicViewVariant': {
2557
- readonly actions: "assign: dynamicViewVariant";
2558
- };
2559
- };
2560
- 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<{
2561
- syncManualLayoutActorLogic: {
2562
- src: "syncManualLayoutActorLogic";
2563
- logic: SyncLayoutActorLogic;
2564
- id: "syncLayout";
2565
- };
2566
- hotkeyActorLogic: {
2567
- src: "hotkeyActorLogic";
2568
- logic: HotkeyActorLogic;
2569
- id: "hotkey";
2570
- };
2571
- overlaysActorLogic: {
2572
- src: "overlaysActorLogic";
2573
- logic: OverlaysActorLogic;
2574
- id: "overlays";
2575
- };
2576
- searchActorLogic: {
2577
- src: "searchActorLogic";
2578
- logic: SearchActorLogic;
2579
- id: "search";
2580
- };
2581
- }>, never, never, never, never>];
2582
- }>;
2583
- /**
2584
- * Here is a trick to reduce inference types
2585
- */
2586
- type InferredDiagramMachine = ActorLogicFrom<typeof _diagramMachine>;
2587
- export interface DiagramMachineLogic extends InferredDiagramMachine {
2588
- }
2589
- export declare const diagramMachine: DiagramMachineLogic;
2590
- export {};