@tumaet/apollon 4.4.0 → 4.6.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 (392) hide show
  1. package/README.md +206 -34
  2. package/dist/assets/style.css +1 -1
  3. package/dist/index.d.ts +897 -10
  4. package/dist/index.js +7726 -77129
  5. package/dist/internals.d.ts +868 -0
  6. package/dist/internals.js +40 -0
  7. package/dist/react/App.d.ts +9 -0
  8. package/dist/{apollon-editor.d.ts → react/apollon-editor.d.ts} +11 -12
  9. package/dist/react/components/AlignmentGuides.d.ts +1 -0
  10. package/dist/react/components/AssessmentSelectionDebug.d.ts +1 -0
  11. package/dist/react/components/CustomBackground.d.ts +1 -0
  12. package/dist/react/components/CustomControls.d.ts +1 -0
  13. package/dist/react/components/CustomMiniMap.d.ts +1 -0
  14. package/dist/{components → react/components}/Icon/ArrowBackIcon.d.ts +1 -1
  15. package/dist/{components → react/components}/Icon/ArrowForwardIcon.d.ts +1 -1
  16. package/dist/{components → react/components}/Icon/CheckIcon.d.ts +1 -1
  17. package/dist/{components → react/components}/Icon/CrossIcon.d.ts +1 -1
  18. package/dist/{components → react/components}/Icon/DeleteIcon.d.ts +1 -1
  19. package/dist/{components → react/components}/Icon/DragHandleIcon.d.ts +1 -1
  20. package/dist/{components → react/components}/Icon/EditIcon.d.ts +1 -1
  21. package/dist/{components → react/components}/Icon/ExclamationIcon.d.ts +1 -1
  22. package/dist/{components → react/components}/Icon/InfiniteIcon.d.ts +1 -1
  23. package/dist/{components → react/components}/Icon/MapIcon.d.ts +1 -1
  24. package/dist/{components → react/components}/Icon/PaintRollerIcon.d.ts +1 -1
  25. package/dist/{components → react/components}/Icon/RedoIcon.d.ts +1 -1
  26. package/dist/{components → react/components}/Icon/SouthEastArrowIcon.d.ts +1 -1
  27. package/dist/{components → react/components}/Icon/SwapHorizIcon.d.ts +1 -1
  28. package/dist/{components → react/components}/Icon/UndoIcon.d.ts +1 -1
  29. package/dist/react/components/ReconnectConnectionLine.d.ts +2 -0
  30. package/dist/react/components/Sidebar.d.ts +1 -0
  31. package/dist/react/components/collaboration/CollaborationLayer.d.ts +25 -0
  32. package/dist/react/components/collaboration/coordinates.d.ts +7 -0
  33. package/dist/{components → react/components}/index.d.ts +2 -0
  34. package/dist/{components → react/components}/popovers/DefaultNodeGiveFeedbackPopover.d.ts +1 -1
  35. package/dist/{components → react/components}/popovers/DefaultNodeSeeFeedbackPopover.d.ts +1 -1
  36. package/dist/{components → react/components}/popovers/GiveFeedbackAssessmentBox.d.ts +1 -1
  37. package/dist/{components → react/components}/popovers/PopoverManager.d.ts +1 -1
  38. package/dist/{components → react/components}/popovers/SeeFeedbackAssessmentBox.d.ts +1 -1
  39. package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +1 -1
  40. package/dist/{components → react/components}/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +1 -1
  41. package/dist/{components → react/components}/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +1 -1
  42. package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +1 -1
  43. package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +1 -1
  44. package/dist/{components → react/components}/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +1 -1
  45. package/dist/{components → react/components}/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +1 -1
  46. package/dist/react/components/popovers/edgePopovers/EdgeTypePreviewIcon.d.ts +3 -0
  47. package/dist/react/components/popovers/edgePopovers/EdgeTypeSelect.d.ts +9 -0
  48. package/dist/{components → react/components}/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +1 -1
  49. package/dist/{components → react/components}/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +1 -1
  50. package/dist/react/components/react/Apollon.d.ts +45 -0
  51. package/dist/react/components/react/context.d.ts +16 -0
  52. package/dist/react/components/react/useApollonSubscription.d.ts +17 -0
  53. package/dist/{components → react/components}/svgs/edges/InlineMarker.d.ts +10 -2
  54. package/dist/react/components/svgs/nodes/CustomText.d.ts +10 -0
  55. package/dist/{components → react/components}/svgs/nodes/classDiagram/ClassSVG.d.ts +1 -1
  56. package/dist/{components → react/components}/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +1 -1
  57. package/dist/{components → react/components}/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +1 -1
  58. package/dist/{components → react/components}/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +1 -1
  59. package/dist/{components → react/components}/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +2 -0
  60. package/dist/{components → react/components}/ui/StyleEditor/ColorButtons.d.ts +1 -1
  61. package/dist/{constants.d.ts → react/constants.d.ts} +43 -6
  62. package/dist/react/edges/GenericEdge.d.ts +79 -0
  63. package/dist/{edges → react/edges}/edgeTypes/ActivityDiagramEdge.d.ts +1 -1
  64. package/dist/{edges → react/edges}/edgeTypes/BPMNDiagramEdge.d.ts +1 -1
  65. package/dist/{edges → react/edges}/edgeTypes/ClassDiagramEdge.d.ts +1 -1
  66. package/dist/{edges → react/edges}/edgeTypes/CommunicationDiagramEdge.d.ts +1 -1
  67. package/dist/{edges → react/edges}/edgeTypes/ComponentDiagramEdge.d.ts +1 -1
  68. package/dist/{edges → react/edges}/edgeTypes/DeploymentDiagramEdge.d.ts +1 -1
  69. package/dist/{edges → react/edges}/edgeTypes/FlowChartEdge.d.ts +1 -1
  70. package/dist/{edges → react/edges}/edgeTypes/ObjectDiagramEdge.d.ts +1 -1
  71. package/dist/{edges → react/edges}/edgeTypes/PetriNetEdge.d.ts +1 -1
  72. package/dist/{edges → react/edges}/edgeTypes/ReachabilityGraphArc.d.ts +1 -1
  73. package/dist/{edges → react/edges}/edgeTypes/SfcDiagramEdge.d.ts +1 -1
  74. package/dist/{edges → react/edges}/edgeTypes/SyntaxTreeEdge.d.ts +1 -1
  75. package/dist/{edges → react/edges}/edgeTypes/UseCaseDiagramEdge.d.ts +1 -1
  76. package/dist/{edges → react/edges}/labelTypes/EdgeEndLabels.d.ts +1 -1
  77. package/dist/{edges → react/edges}/labelTypes/EdgeIncludeExtendLabel.d.ts +1 -1
  78. package/dist/{edges → react/edges}/labelTypes/EdgeMiddleLabels.d.ts +2 -1
  79. package/dist/{edges → react/edges}/labelTypes/EdgeMultipleLabels.d.ts +2 -2
  80. package/dist/{edges → react/edges}/types.d.ts +34 -34
  81. package/dist/react/enums/index.d.ts +1 -0
  82. package/dist/react/hooks/useEdgeLineJumps.d.ts +25 -0
  83. package/dist/{hooks → react/hooks}/useHandleFinder.d.ts +1 -0
  84. package/dist/{hooks → react/hooks}/useReconnect.d.ts +1 -1
  85. package/dist/{hooks → react/hooks}/useStepPathEdge.d.ts +10 -6
  86. package/dist/react/hooks/useStraightPathEdge.d.ts +23 -0
  87. package/dist/react/index.d.ts +7 -0
  88. package/dist/react/internals.d.ts +5 -0
  89. package/dist/{nodes → react/nodes}/TitleAndDescriptionNode.d.ts +1 -1
  90. package/dist/{nodes → react/nodes}/activityDiagram/Activity.d.ts +1 -1
  91. package/dist/{nodes → react/nodes}/activityDiagram/ActivityActionNode.d.ts +1 -1
  92. package/dist/{nodes → react/nodes}/activityDiagram/ActivityFinalNode.d.ts +1 -1
  93. package/dist/{nodes → react/nodes}/activityDiagram/ActivityForkNode.d.ts +1 -1
  94. package/dist/{nodes → react/nodes}/activityDiagram/ActivityForkNodeHorizontal.d.ts +1 -1
  95. package/dist/{nodes → react/nodes}/activityDiagram/ActivityInitialNode.d.ts +1 -1
  96. package/dist/{nodes → react/nodes}/activityDiagram/ActivityMergeNode.d.ts +1 -1
  97. package/dist/{nodes → react/nodes}/activityDiagram/ActivityObjectNode.d.ts +1 -1
  98. package/dist/{nodes → react/nodes}/bpmn/BPMNAnnotation.d.ts +1 -1
  99. package/dist/{nodes → react/nodes}/bpmn/BPMNCallActivity.d.ts +1 -1
  100. package/dist/{nodes → react/nodes}/bpmn/BPMNDataObject.d.ts +1 -1
  101. package/dist/{nodes → react/nodes}/bpmn/BPMNDataStore.d.ts +1 -1
  102. package/dist/{nodes → react/nodes}/bpmn/BPMNEndEvent.d.ts +1 -1
  103. package/dist/{nodes → react/nodes}/bpmn/BPMNGateway.d.ts +1 -1
  104. package/dist/{nodes → react/nodes}/bpmn/BPMNGroup.d.ts +1 -1
  105. package/dist/{nodes → react/nodes}/bpmn/BPMNIntermediateEvent.d.ts +1 -1
  106. package/dist/{nodes → react/nodes}/bpmn/BPMNPool.d.ts +1 -1
  107. package/dist/{nodes → react/nodes}/bpmn/BPMNStartEvent.d.ts +1 -1
  108. package/dist/{nodes → react/nodes}/bpmn/BPMNSubprocess.d.ts +1 -1
  109. package/dist/{nodes → react/nodes}/bpmn/BPMNTask.d.ts +1 -1
  110. package/dist/{nodes → react/nodes}/bpmn/BPMNTransaction.d.ts +1 -1
  111. package/dist/{nodes → react/nodes}/classDiagram/Class.d.ts +1 -1
  112. package/dist/{nodes → react/nodes}/classDiagram/ColorDescription.d.ts +1 -1
  113. package/dist/{nodes → react/nodes}/classDiagram/Package.d.ts +1 -1
  114. package/dist/{nodes → react/nodes}/communicationDiagram/CommunicationObjectName.d.ts +1 -1
  115. package/dist/{nodes → react/nodes}/componentDiagram/Component.d.ts +1 -1
  116. package/dist/{nodes → react/nodes}/componentDiagram/ComponentInterface.d.ts +1 -1
  117. package/dist/{nodes → react/nodes}/componentDiagram/ComponentSubsystem.d.ts +1 -1
  118. package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentArtifact.d.ts +1 -1
  119. package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentComponent.d.ts +1 -1
  120. package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentInterface.d.ts +1 -1
  121. package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentNode.d.ts +1 -1
  122. package/dist/{nodes → react/nodes}/flowchart/FlowchartDecision.d.ts +1 -1
  123. package/dist/{nodes → react/nodes}/flowchart/FlowchartFunctionCall.d.ts +1 -1
  124. package/dist/{nodes → react/nodes}/flowchart/FlowchartInputOutput.d.ts +1 -1
  125. package/dist/{nodes → react/nodes}/flowchart/FlowchartProcess.d.ts +1 -1
  126. package/dist/{nodes → react/nodes}/flowchart/FlowchartTerminal.d.ts +1 -1
  127. package/dist/{nodes → react/nodes}/objectDiagram/ObjectName.d.ts +1 -1
  128. package/dist/{nodes → react/nodes}/petriNetDiagram/PetriNetPlace.d.ts +1 -1
  129. package/dist/{nodes → react/nodes}/petriNetDiagram/PetriNetTransition.d.ts +1 -1
  130. package/dist/{nodes → react/nodes}/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +1 -1
  131. package/dist/{nodes → react/nodes}/sfcDiagram/SfcActionTable.d.ts +1 -1
  132. package/dist/{nodes → react/nodes}/sfcDiagram/SfcJump.d.ts +1 -1
  133. package/dist/{nodes → react/nodes}/sfcDiagram/SfcStart.d.ts +1 -1
  134. package/dist/{nodes → react/nodes}/sfcDiagram/SfcStep.d.ts +1 -1
  135. package/dist/{nodes → react/nodes}/sfcDiagram/SfcTransitionBranch.d.ts +1 -1
  136. package/dist/{nodes → react/nodes}/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +1 -1
  137. package/dist/{nodes → react/nodes}/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +1 -1
  138. package/dist/{nodes → react/nodes}/useCaseDiagram/UseCase.d.ts +1 -1
  139. package/dist/{nodes → react/nodes}/useCaseDiagram/UseCaseActor.d.ts +1 -1
  140. package/dist/{nodes → react/nodes}/useCaseDiagram/UseCaseSystem.d.ts +1 -1
  141. package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +49 -0
  142. package/dist/react/react.d.ts +4 -0
  143. package/dist/react/react.js +34679 -0
  144. package/dist/react/services/migration/EdgeTransformer.d.ts +11 -0
  145. package/dist/{store → react/store}/context.d.ts +3 -0
  146. package/dist/react/store/edgeGeometryStore.d.ts +18 -0
  147. package/dist/{store → react/store}/index.d.ts +2 -1
  148. package/dist/{store → react/store}/metadataStore.d.ts +11 -0
  149. package/dist/{sync → react/sync}/headless.d.ts +3 -3
  150. package/dist/{sync/yjsSyncClass.d.ts → react/sync/yjsSync.d.ts} +5 -2
  151. package/dist/{typings.d.ts → react/typings.d.ts} +21 -9
  152. package/dist/{utils → react/utils}/alignmentUtils.d.ts +2 -2
  153. package/dist/react/utils/collaboration.d.ts +10 -0
  154. package/dist/react/utils/edgeUtils.d.ts +167 -0
  155. package/dist/{utils → react/utils}/exportUtils.d.ts +0 -1
  156. package/dist/react/utils/geometry/bendHandles.d.ts +42 -0
  157. package/dist/{utils → react/utils}/index.d.ts +2 -2
  158. package/dist/{utils → react/utils}/interactiveUtils.d.ts +0 -1
  159. package/dist/{utils → react/utils}/nodeUtils.d.ts +1 -1
  160. package/dist/react/utils/storeUtils.d.ts +1 -0
  161. package/dist/react/utils/textUtils.d.ts +1 -0
  162. package/dist/yjsSync-CK5cmd5z.js +71308 -0
  163. package/package.json +91 -35
  164. package/dist/App.d.ts +0 -6
  165. package/dist/components/AlignmentGuides.d.ts +0 -1
  166. package/dist/components/AssessmentSelectionDebug.d.ts +0 -1
  167. package/dist/components/CustomBackground.d.ts +0 -1
  168. package/dist/components/CustomControls.d.ts +0 -1
  169. package/dist/components/CustomMiniMap.d.ts +0 -1
  170. package/dist/components/Sidebar.d.ts +0 -1
  171. package/dist/components/debug/AssessmentSelectionDebug.d.ts +0 -6
  172. package/dist/components/svgs/nodes/CustomText.d.ts +0 -16
  173. package/dist/components/theme/styles.d.ts +0 -22
  174. package/dist/edges/GenericEdge.d.ts +0 -43
  175. package/dist/enums/ExportFileFormat.d.ts +0 -6
  176. package/dist/enums/index.d.ts +0 -2
  177. package/dist/hooks/useClipboard.d.ts +0 -11
  178. package/dist/hooks/useDragContext.d.ts +0 -0
  179. package/dist/hooks/useStraightPathEdge.d.ts +0 -31
  180. package/dist/initialElements.d.ts +0 -3
  181. package/dist/nodes/syntaxTreeDiagram/index.d.ts +0 -0
  182. package/dist/nodes/wrappers/DefaultNodeWrapper.d.ts +0 -33
  183. package/dist/sync/index.d.ts +0 -1
  184. package/dist/utils/edgeUtils.d.ts +0 -90
  185. package/dist/utils/labelUtils.d.ts +0 -16
  186. package/dist/utils/storeUtils.d.ts +0 -1
  187. package/dist/utils/textUtils.d.ts +0 -7
  188. package/dist/utils/v2Typings.d.ts +0 -127
  189. /package/dist/{components → react/components}/AssessmentSelectableElement.d.ts +0 -0
  190. /package/dist/{components → react/components}/DraggableGhost.d.ts +0 -0
  191. /package/dist/{components → react/components}/Icon/index.d.ts +0 -0
  192. /package/dist/{components → react/components}/ScrollOverlay.d.ts +0 -0
  193. /package/dist/{components → react/components}/popovers/DefaultNodeEditPopover.d.ts +0 -0
  194. /package/dist/{components → react/components}/popovers/GenericPopover.d.ts +0 -0
  195. /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNEndEventEditPopover.d.ts +0 -0
  196. /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNGatewayEditPopover.d.ts +0 -0
  197. /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNIntermediateEventEditPopover.d.ts +0 -0
  198. /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNStartEventEditPopover.d.ts +0 -0
  199. /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNTaskEditPopover.d.ts +0 -0
  200. /package/dist/{components → react/components}/popovers/bpmnDiagram/index.d.ts +0 -0
  201. /package/dist/{components → react/components}/popovers/classDiagram/ClassEditPopover.d.ts +0 -0
  202. /package/dist/{components → react/components}/popovers/classDiagram/EditableAttributesList.d.ts +0 -0
  203. /package/dist/{components → react/components}/popovers/classDiagram/EditableMethodsList.d.ts +0 -0
  204. /package/dist/{components → react/components}/popovers/classDiagram/index.d.ts +0 -0
  205. /package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameEditPopover.d.ts +0 -0
  206. /package/dist/{components → react/components}/popovers/communicationDiagram/index.d.ts +0 -0
  207. /package/dist/{components → react/components}/popovers/componentDiagram/ComponentEditPopover.d.ts +0 -0
  208. /package/dist/{components → react/components}/popovers/componentDiagram/ComponentSubsystemEditPopover.d.ts +0 -0
  209. /package/dist/{components → react/components}/popovers/componentDiagram/index.d.ts +0 -0
  210. /package/dist/{components → react/components}/popovers/deploymentDiagram/DeploymentComponentEditPopover.d.ts +0 -0
  211. /package/dist/{components → react/components}/popovers/deploymentDiagram/DeploymentNodeEditPopover.d.ts +0 -0
  212. /package/dist/{components → react/components}/popovers/deploymentDiagram/index.d.ts +0 -0
  213. /package/dist/{components → react/components}/popovers/edgePopovers/ActivityDiagramEdgeEditPopover.d.ts +0 -0
  214. /package/dist/{components → react/components}/popovers/edgePopovers/BPMNDiagramEdgeEditPopover.d.ts +0 -0
  215. /package/dist/{components → react/components}/popovers/edgePopovers/ClassDiagramEdgeEditPopover.d.ts +0 -0
  216. /package/dist/{components → react/components}/popovers/edgePopovers/CommunicationDiagramEdgeEditPopover.d.ts +0 -0
  217. /package/dist/{components → react/components}/popovers/edgePopovers/ComponentDiagramEdgeEditPopover.d.ts +0 -0
  218. /package/dist/{components → react/components}/popovers/edgePopovers/DeploymentDiagramEdgeEditPopover.d.ts +0 -0
  219. /package/dist/{components → react/components}/popovers/edgePopovers/FlowChartEdgeEditPopover.d.ts +0 -0
  220. /package/dist/{components → react/components}/popovers/edgePopovers/ObjectDiagramEdgeEditPopover.d.ts +0 -0
  221. /package/dist/{components → react/components}/popovers/edgePopovers/PetriNetEdgeEditPopover.d.ts +0 -0
  222. /package/dist/{components → react/components}/popovers/edgePopovers/ReachabilityGraphEdgeEditPopover.d.ts +0 -0
  223. /package/dist/{components → react/components}/popovers/edgePopovers/SyntaxTreeEdgeEditPopover.d.ts +0 -0
  224. /package/dist/{components → react/components}/popovers/edgePopovers/UseCaseDiagramEdgeEditPopover.d.ts +0 -0
  225. /package/dist/{components → react/components}/popovers/edgePopovers/index.d.ts +0 -0
  226. /package/dist/{components → react/components}/popovers/index.d.ts +0 -0
  227. /package/dist/{components → react/components}/popovers/objectDiagram/ObjectEditPopover.d.ts +0 -0
  228. /package/dist/{components → react/components}/popovers/objectDiagram/index.d.ts +0 -0
  229. /package/dist/{components → react/components}/popovers/petriNetDiagram/PetriNetPlaceEditPopover.d.ts +0 -0
  230. /package/dist/{components → react/components}/popovers/petriNetDiagram/index.d.ts +0 -0
  231. /package/dist/{components → react/components}/popovers/reachabilityGraphDiagram/ReachabilityGraphMarkingEditPopover.d.ts +0 -0
  232. /package/dist/{components → react/components}/popovers/reachabilityGraphDiagram/index.d.ts +0 -0
  233. /package/dist/{components → react/components}/popovers/sfcDiagram/SfcActionTableEditPopover.d.ts +0 -0
  234. /package/dist/{components → react/components}/popovers/sfcDiagram/SfcEdgeEditPopover.d.ts +0 -0
  235. /package/dist/{components → react/components}/popovers/sfcDiagram/index.d.ts +0 -0
  236. /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/SyntaxTreeNonterminalEditPopover.d.ts +0 -0
  237. /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/SyntaxTreeTerminalEditPopover.d.ts +0 -0
  238. /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/index.d.ts +0 -0
  239. /package/dist/{components → react/components}/popovers/types.d.ts +0 -0
  240. /package/dist/{components → react/components}/svgs/AssessmentIcon.d.ts +0 -0
  241. /package/dist/{components → react/components}/svgs/StyledElements.d.ts +0 -0
  242. /package/dist/{components → react/components}/svgs/edges/index.d.ts +0 -0
  243. /package/dist/{components → react/components}/svgs/index.d.ts +0 -0
  244. /package/dist/{components → react/components}/svgs/nodes/HeaderSection.d.ts +0 -0
  245. /package/dist/{components → react/components}/svgs/nodes/MultilineText.d.ts +0 -0
  246. /package/dist/{components → react/components}/svgs/nodes/RowBlockSection.d.ts +0 -0
  247. /package/dist/{components → react/components}/svgs/nodes/SeparationLine.d.ts +0 -0
  248. /package/dist/{components → react/components}/svgs/nodes/StereotypeAndName.d.ts +0 -0
  249. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityActionNodeSVG.d.ts +0 -0
  250. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityFinalNodeSVG.d.ts +0 -0
  251. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityForkNodeHorizontalSVG.d.ts +0 -0
  252. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityForkNodeSVG.d.ts +0 -0
  253. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityInitialNodeSVG.d.ts +0 -0
  254. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityMergeNodeSVG.d.ts +0 -0
  255. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityObjectNodeSVG.d.ts +0 -0
  256. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivitySVG.d.ts +0 -0
  257. /package/dist/{components → react/components}/svgs/nodes/activityDiagram/index.d.ts +0 -0
  258. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNAnnotationNodeSVG.d.ts +0 -0
  259. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNDataObjectNodeSVG.d.ts +0 -0
  260. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNDataStoreNodeSVG.d.ts +0 -0
  261. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNEventNodeSVG.d.ts +0 -0
  262. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNGatewayNodeSVG.d.ts +0 -0
  263. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNGroupNodeSVG.d.ts +0 -0
  264. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNPoolNodeSVG.d.ts +0 -0
  265. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNSubprocessNodeSVG.d.ts +0 -0
  266. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNTaskNodeSVG.d.ts +0 -0
  267. /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/index.d.ts +0 -0
  268. /package/dist/{components → react/components}/svgs/nodes/classDiagram/PackageSVG.d.ts +0 -0
  269. /package/dist/{components → react/components}/svgs/nodes/classDiagram/TitleAndDescriptionSVG.d.ts +0 -0
  270. /package/dist/{components → react/components}/svgs/nodes/classDiagram/index.d.ts +0 -0
  271. /package/dist/{components → react/components}/svgs/nodes/communicationDiagram/index.d.ts +0 -0
  272. /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentInterfaceNodeSVG.d.ts +0 -0
  273. /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentNodeSVG.d.ts +0 -0
  274. /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentSubsystemNodeSVG.d.ts +0 -0
  275. /package/dist/{components → react/components}/svgs/nodes/componentDiagram/index.d.ts +0 -0
  276. /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentArtifactSVG.d.ts +0 -0
  277. /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentComponentSVG.d.ts +0 -0
  278. /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentInterfaceSVG.d.ts +0 -0
  279. /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentNodeSVG.d.ts +0 -0
  280. /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/index.d.ts +0 -0
  281. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartDecisionNodeSVG.d.ts +0 -0
  282. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartFunctionCallNodeSVG.d.ts +0 -0
  283. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartInputOutputNodeSVG.d.ts +0 -0
  284. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartProcessNodeSVG.d.ts +0 -0
  285. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartTerminalNodeSVG.d.ts +0 -0
  286. /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/index.d.ts +0 -0
  287. /package/dist/{components → react/components}/svgs/nodes/index.d.ts +0 -0
  288. /package/dist/{components → react/components}/svgs/nodes/objectDiagram/index.d.ts +0 -0
  289. /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/PetriNetPlaceSVG.d.ts +0 -0
  290. /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/PetriNetTransitionSVG.d.ts +0 -0
  291. /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/index.d.ts +0 -0
  292. /package/dist/{components → react/components}/svgs/nodes/reachabilityGraphDiagram/ReachabilityGraphMarkingSVG.d.ts +0 -0
  293. /package/dist/{components → react/components}/svgs/nodes/reachabilityGraphDiagram/index.d.ts +0 -0
  294. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcActionTableNodeSVG.d.ts +0 -0
  295. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcJumpNodeSVG.d.ts +0 -0
  296. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcStartNodeSVG.d.ts +0 -0
  297. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcStepNodeSVG.d.ts +0 -0
  298. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcTransitionBranchNodeSVG.d.ts +0 -0
  299. /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/index.d.ts +0 -0
  300. /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/SyntaxTreeNonterminalNodeSVG.d.ts +0 -0
  301. /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/SyntaxTreeTerminalNodeSVG.d.ts +0 -0
  302. /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/index.d.ts +0 -0
  303. /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseActorNodeSVG.d.ts +0 -0
  304. /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseNodeSVG.d.ts +0 -0
  305. /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseSystemNodeSVG.d.ts +0 -0
  306. /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/index.d.ts +0 -0
  307. /package/dist/{components → react/components}/toolbars/NodeToolbar.d.ts +0 -0
  308. /package/dist/{components → react/components}/toolbars/edgeToolBar/index.d.ts +0 -0
  309. /package/dist/{components → react/components}/toolbars/index.d.ts +0 -0
  310. /package/dist/{components → react/components}/ui/DividerLine.d.ts +0 -0
  311. /package/dist/{components → react/components}/ui/HeaderSwitchElement.d.ts +0 -0
  312. /package/dist/{components → react/components}/ui/PrimaryButton.d.ts +0 -0
  313. /package/dist/{components → react/components}/ui/StereotypeButtonGroup.d.ts +0 -0
  314. /package/dist/{components → react/components}/ui/StyleEditor/EdgeStyleEditor.d.ts +0 -0
  315. /package/dist/{components → react/components}/ui/StyleEditor/NodeStyleEditor.d.ts +0 -0
  316. /package/dist/{components → react/components}/ui/StyleEditor/index.d.ts +0 -0
  317. /package/dist/{components → react/components}/ui/TextField.d.ts +0 -0
  318. /package/dist/{components → react/components}/ui/Typography.d.ts +0 -0
  319. /package/dist/{components → react/components}/ui/index.d.ts +0 -0
  320. /package/dist/{components → react/components}/wrapper/AssessmentSelectableWrapper.d.ts +0 -0
  321. /package/dist/{components → react/components}/wrapper/FeedbackDropzone.d.ts +0 -0
  322. /package/dist/{components → react/components}/wrapper/index.d.ts +0 -0
  323. /package/dist/{edges → react/edges}/Connection.d.ts +0 -0
  324. /package/dist/{edges → react/edges}/EdgeProps.d.ts +0 -0
  325. /package/dist/{edges → react/edges}/edgeTypes/index.d.ts +0 -0
  326. /package/dist/{edges → react/edges}/index.d.ts +0 -0
  327. /package/dist/{enums → react/enums}/Quadrant.d.ts +0 -0
  328. /package/dist/{hooks → react/hooks}/index.d.ts +0 -0
  329. /package/dist/{hooks → react/hooks}/useAssessmentSelection.d.ts +0 -0
  330. /package/dist/{hooks → react/hooks}/useConnect.d.ts +0 -0
  331. /package/dist/{hooks → react/hooks}/useDiagramModifiable.d.ts +0 -0
  332. /package/dist/{hooks → react/hooks}/useDragOver.d.ts +0 -0
  333. /package/dist/{hooks → react/hooks}/useDropFeedback.d.ts +0 -0
  334. /package/dist/{hooks → react/hooks}/useEdgeConfig.d.ts +0 -0
  335. /package/dist/{hooks → react/hooks}/useEdgeToolbar.d.ts +0 -0
  336. /package/dist/{hooks → react/hooks}/useEdges.d.ts +0 -0
  337. /package/dist/{hooks → react/hooks}/useElementInteractions.d.ts +0 -0
  338. /package/dist/{hooks → react/hooks}/useGoToNextAssessment.d.ts +0 -0
  339. /package/dist/{hooks → react/hooks}/useHandleDelete.d.ts +0 -0
  340. /package/dist/{hooks → react/hooks}/useHandleOnResize.d.ts +0 -0
  341. /package/dist/{hooks → react/hooks}/useIsOnlyThisElementSelected.d.ts +0 -0
  342. /package/dist/{hooks → react/hooks}/useKeyboardShortcuts.d.ts +0 -0
  343. /package/dist/{hooks → react/hooks}/useMessagePositioning.d.ts +0 -0
  344. /package/dist/{hooks → react/hooks}/useNodeDrag.d.ts +0 -0
  345. /package/dist/{hooks → react/hooks}/useNodeDragStop.d.ts +0 -0
  346. /package/dist/{hooks → react/hooks}/usePaneClicked.d.ts +0 -0
  347. /package/dist/{hooks → react/hooks}/useSelectionForCopyPaste.d.ts +0 -0
  348. /package/dist/{hooks → react/hooks}/useViewPointCenter.d.ts +0 -0
  349. /package/dist/{logger.d.ts → react/logger.d.ts} +0 -0
  350. /package/dist/{nodes → react/nodes}/activityDiagram/index.d.ts +0 -0
  351. /package/dist/{nodes → react/nodes}/bpmn/index.d.ts +0 -0
  352. /package/dist/{nodes → react/nodes}/classDiagram/index.d.ts +0 -0
  353. /package/dist/{nodes → react/nodes}/communicationDiagram/index.d.ts +0 -0
  354. /package/dist/{nodes → react/nodes}/componentDiagram/index.d.ts +0 -0
  355. /package/dist/{nodes → react/nodes}/deploymentDiagram/index.d.ts +0 -0
  356. /package/dist/{nodes → react/nodes}/flowchart/index.d.ts +0 -0
  357. /package/dist/{nodes → react/nodes}/index.d.ts +0 -0
  358. /package/dist/{nodes → react/nodes}/objectDiagram/index.d.ts +0 -0
  359. /package/dist/{nodes → react/nodes}/petriNetDiagram/index.d.ts +0 -0
  360. /package/dist/{nodes → react/nodes}/reachabilityGraphDiagram/index.d.ts +0 -0
  361. /package/dist/{nodes → react/nodes}/sfcDiagram/index.d.ts +0 -0
  362. /package/dist/{nodes → react/nodes}/types.d.ts +0 -0
  363. /package/dist/{nodes → react/nodes}/useCaseDiagram/index.d.ts +0 -0
  364. /package/dist/{nodes → react/nodes}/wrappers/index.d.ts +0 -0
  365. /package/dist/{store → react/store}/alignmentGuidesStore.d.ts +0 -0
  366. /package/dist/{store → react/store}/assessmentSelectionStore.d.ts +0 -0
  367. /package/dist/{store → react/store}/diagramStore.d.ts +0 -0
  368. /package/dist/{store → react/store}/popoverStore.d.ts +0 -0
  369. /package/dist/{styles → react/styles}/theme.d.ts +0 -0
  370. /package/dist/{sync → react/sync}/ydoc.d.ts +0 -0
  371. /package/dist/{types → react/types}/DiagramType.d.ts +0 -0
  372. /package/dist/{types → react/types}/SVG.d.ts +0 -0
  373. /package/dist/{types → react/types}/index.d.ts +0 -0
  374. /package/dist/{types → react/types}/locationPopover.d.ts +0 -0
  375. /package/dist/{types → react/types}/nodes/DropNodeDate.d.ts +0 -0
  376. /package/dist/{types → react/types}/nodes/NodeProps.d.ts +0 -0
  377. /package/dist/{types → react/types}/nodes/enums/ClassType.d.ts +0 -0
  378. /package/dist/{types → react/types}/nodes/enums/index.d.ts +0 -0
  379. /package/dist/{types → react/types}/nodes/index.d.ts +0 -0
  380. /package/dist/{utils → react/utils}/bpmnConstraints.d.ts +0 -0
  381. /package/dist/{utils → react/utils}/copyPasteUtils.d.ts +0 -0
  382. /package/dist/{utils → react/utils}/deepPartial.d.ts +0 -0
  383. /package/dist/{utils → react/utils}/diagramTypeUtils.d.ts +0 -0
  384. /package/dist/{utils → react/utils}/helpers.d.ts +0 -0
  385. /package/dist/{utils → react/utils}/layoutUtils.d.ts +0 -0
  386. /package/dist/{utils → react/utils}/pathParsing.d.ts +0 -0
  387. /package/dist/{utils → react/utils}/popoverUtils.d.ts +0 -0
  388. /package/dist/{utils → react/utils}/quadrantUtils.d.ts +0 -0
  389. /package/dist/{utils → react/utils}/requiredInterfaceUtils.d.ts +0 -0
  390. /package/dist/{utils → react/utils}/svgTextLayout.d.ts +0 -0
  391. /package/dist/{utils → react/utils}/v3Typings.d.ts +0 -0
  392. /package/dist/{utils → react/utils}/versionConverter.d.ts +0 -0
@@ -5,7 +5,7 @@ export declare const CANVAS: Readonly<{
5
5
  readonly MIN_SCALE_TO_ZOOM_OUT: 0.4;
6
6
  readonly MAX_SCALE_TO_ZOOM_IN: 2.5;
7
7
  readonly MOUSE_UP_OFFSET_PX: 5;
8
- readonly SNAP_TO_GRID_PX: 10;
8
+ readonly SNAP_TO_GRID_PX: 5;
9
9
  readonly EXTRA_SPACE_FOR_EXTENSION: 10;
10
10
  readonly PASTE_OFFSET_PX: 20;
11
11
  }>;
@@ -38,10 +38,6 @@ export declare const LAYOUT: Readonly<{
38
38
  readonly STEREOTYPE_LINE_HEIGHT: 15;
39
39
  readonly STEREOTYPE_NAME_GAP: 4;
40
40
  }>;
41
- export declare const INTERFACE_SIZE = 30;
42
- export declare const INTERFACE_RADIUS: number;
43
- export declare const INTERFACE_STROKE_WIDTH = 2;
44
- export declare const INTERFACE_SOCKET_GAP = 4;
45
41
  export declare const INTERFACE: Readonly<{
46
42
  readonly SIZE: 30;
47
43
  readonly RADIUS: number;
@@ -49,7 +45,6 @@ export declare const INTERFACE: Readonly<{
49
45
  readonly SOCKET_GAP: 4;
50
46
  }>;
51
47
  export declare const MARKER_BASE_SIZE = 18;
52
- export declare const BPMN_MARKER_SIZE = 11;
53
48
  export declare const EDGES: Readonly<{
54
49
  /** Negative padding extends target point to node boundary (React Flow handles are offset 3px) */
55
50
  readonly MARKER_PADDING: -3;
@@ -59,6 +54,48 @@ export declare const EDGES: Readonly<{
59
54
  readonly STEP_BORDER_RADIUS: 0;
60
55
  /** Width of the invisible stroke used for edge selection/highlighting */
61
56
  readonly EDGE_HIGHLIGHT_STROKE_WIDTH: 15;
57
+ /** Height of the line-jump bridge used when edges cross */
58
+ readonly EDGE_LINE_JUMP_HEIGHT: 10;
59
+ /** Length of the line-jump bridge along the crossed segment */
60
+ readonly EDGE_LINE_JUMP_WIDTH: 16;
61
+ /** Stub length locked to node, matches getSmoothStepPath offset */
62
+ readonly STUB_LENGTH: 30;
63
+ /** Minimum total edge length (screen px) for the endpoint reconnect handles
64
+ * to be active. Short edges fall back to always-editable (see
65
+ * useStepPathEdge), so this only gates medium/long edges. */
66
+ readonly BEND_MIN_LENGTH: 100;
67
+ /** Bend handle long-axis size, in screen px (the minimum kept across zoom). */
68
+ readonly BEND_HANDLE_SCREEN_LENGTH_PX: 34;
69
+ /** Minimum clearance, in screen px, between a bend handle and the segment's
70
+ * corners — how close a handle is allowed to sit to a corner. */
71
+ readonly BEND_HANDLE_CORNER_CLEARANCE_PX: 10;
72
+ /** A segment shows a bend handle once its ON-SCREEN length can host the
73
+ * handle with corner clearance on both sides: 34 + 2*10 = 54px. Screen-based
74
+ * so zooming in reveals handles on shorter segments (and never hides them). */
75
+ readonly BEND_HANDLE_MIN_SEGMENT_SCREEN_PX: number;
76
+ /** "Safe area" next to a node, in flow px: a bend handle is never placed
77
+ * within this distance of a node connection point, and that part of a
78
+ * terminal segment is excluded when deciding whether a handle fits. Keeps
79
+ * handles out of the locked stub so dragging never produces a detached
80
+ * slim sliver near the node. */
81
+ readonly BEND_HANDLE_SAFE_AREA_PX: 25;
82
+ /** Size of the invisible endpoint hit target used for edge reconnection */
83
+ readonly ENDPOINT_HIT_TARGET_SIZE: 24;
84
+ /** Grid step a dragged bend snaps to; matches the canvas grid so bends line
85
+ * up with grid-snapped node handles. */
86
+ readonly BEND_SNAP_GRID_PX: 5;
87
+ /** Connector length at/below which a *monotonic* orthogonal stair-step (a
88
+ * same-direction dogleg) is treated as a rounding artifact and flattened.
89
+ * Must stay strictly below BEND_SNAP_GRID_PX, otherwise the smallest
90
+ * deliberate single-step bend would be flattened and the edge would snap
91
+ * back to a straight line on release. */
92
+ readonly ORTHOGONAL_DOGLEG_TOLERANCE_PX: 2;
93
+ /** Gap at/below which two parallel arms that double back over each other
94
+ * (an opposite-direction U-turn) are treated as a degenerate self-overlap
95
+ * and the route is reset. Independent of the snap grid: a doubled-back
96
+ * U-turn is never a deliberate edit, so this stays at the visual-merge
97
+ * threshold rather than the per-step threshold. */
98
+ readonly ORTHOGONAL_ARM_OVERLAP_PX: 10;
62
99
  }>;
63
100
  export declare const ZINDEX: Readonly<{
64
101
  readonly BASE: 0;
@@ -0,0 +1,79 @@
1
+ import { ReactNode, PointerEvent as ReactPointerEvent } from 'react';
2
+ import { Position } from '@xyflow/react';
3
+ import { ExtendedEdgeProps } from './EdgeProps';
4
+ import { IPoint } from './Connection';
5
+ import { Assessment } from '../typings';
6
+ import { BendHandle } from '../utils/geometry/bendHandles';
7
+ export declare const getHandleScreenScale: (zoom: number) => number;
8
+ export type BaseEdgeProps = ExtendedEdgeProps;
9
+ export declare const useEdgeState: (initialPoints?: IPoint[]) => {
10
+ customPoints: IPoint[];
11
+ setCustomPoints: import('react').Dispatch<import('react').SetStateAction<IPoint[]>>;
12
+ };
13
+ type EndpointSide = Position;
14
+ export declare const getEndpointHitTargetRect: (point: IPoint, side?: EndpointSide, screenScale?: number) => {
15
+ x: number;
16
+ y: number;
17
+ width: number;
18
+ height: number;
19
+ radius: number;
20
+ };
21
+ export declare const EdgeEndpointMarkers: ({ sourcePoint, targetPoint, sourcePosition, targetPosition, isDiagramModifiable, canEditEndpoint, }: {
22
+ sourcePoint: IPoint;
23
+ targetPoint: IPoint;
24
+ sourcePosition?: EndpointSide;
25
+ targetPosition?: EndpointSide;
26
+ isDiagramModifiable: boolean;
27
+ canEditEndpoint?: boolean;
28
+ }) => import("react/jsx-runtime").JSX.Element | null;
29
+ export declare const EdgeBendHandle: ({ id, segmentIndex, position, orientation, onPointerDown, }: {
30
+ id: string;
31
+ segmentIndex: number;
32
+ position: IPoint;
33
+ orientation: "H" | "V";
34
+ onPointerDown: (e: ReactPointerEvent<SVGRectElement>) => void;
35
+ }) => import("react/jsx-runtime").JSX.Element;
36
+ /**
37
+ * The shared SVG body for every orthogonal (step-path) edge: the base path,
38
+ * inline export markers, the interaction overlay, endpoint reconnect targets,
39
+ * and the bend handles. Diagram-specific decorations (e.g. the SFC transition
40
+ * bar) are passed as `children` and render inside the same group. Per-type
41
+ * files keep only their own config, labels, and `CommonEdgeElements`.
42
+ */
43
+ export declare const StepEdgeBody: ({ id, markerKey, currentPath, overlayPath, pathRef, strokeColor, strokeDashArray, hasInitialCalculation, isReconnecting, isBendDragging, draggingHandleSegmentIndex, markerStart, markerEnd, sourcePoint, targetPoint, sourcePosition, targetPosition, isDiagramModifiable, canEditEndpoint, allowMidpointDragging, bendHandles, handlePointerDown, children, }: {
44
+ id: string;
45
+ markerKey: string;
46
+ currentPath: string;
47
+ overlayPath: string;
48
+ pathRef: React.Ref<SVGPathElement>;
49
+ strokeColor: string;
50
+ strokeDashArray?: string;
51
+ hasInitialCalculation: boolean;
52
+ isReconnecting: boolean;
53
+ isBendDragging: boolean;
54
+ draggingHandleSegmentIndex: number | null;
55
+ markerStart?: string;
56
+ markerEnd?: string;
57
+ sourcePoint: IPoint;
58
+ targetPoint: IPoint;
59
+ sourcePosition?: Position;
60
+ targetPosition?: Position;
61
+ isDiagramModifiable: boolean;
62
+ canEditEndpoint: boolean;
63
+ allowMidpointDragging: boolean;
64
+ bendHandles: BendHandle[];
65
+ handlePointerDown: (event: ReactPointerEvent<SVGRectElement>, handle: BendHandle) => void;
66
+ children?: ReactNode;
67
+ }) => import("react/jsx-runtime").JSX.Element;
68
+ export declare const CommonEdgeElements: ({ id, pathMiddlePosition, toolbarPosition, isDiagramModifiable, assessments, anchorRef, handleDelete, setPopOverElementId, type, }: {
69
+ id: string;
70
+ pathMiddlePosition: IPoint;
71
+ toolbarPosition?: IPoint;
72
+ isDiagramModifiable: boolean;
73
+ assessments: Record<string, Assessment>;
74
+ anchorRef: React.RefObject<SVGSVGElement>;
75
+ handleDelete: () => void;
76
+ setPopOverElementId: (id: string) => void;
77
+ type: string;
78
+ }) => import("react/jsx-runtime").JSX.Element;
79
+ export {};
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ActivityDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const ActivityDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const BPMNDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const BPMNDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ClassDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const ClassDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const CommunicationDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const CommunicationDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ComponentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const ComponentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const DeploymentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const DeploymentDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const FlowChartEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const FlowChartEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ObjectDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const ObjectDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const PetriNetEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const PetriNetEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const ReachabilityGraphEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const ReachabilityGraphEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const SyntaxTreeEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const SyntaxTreeEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { BaseEdgeProps } from '../GenericEdge';
2
- export declare const UseCaseEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => JSX.Element;
2
+ export declare const UseCaseEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -15,5 +15,5 @@ interface EdgeEndLabelsProps {
15
15
  targetPosition: string;
16
16
  textColor?: string;
17
17
  }
18
- export declare const EdgeEndLabels: ({ data, activePoints, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, textColor, }: EdgeEndLabelsProps) => JSX.Element;
18
+ export declare const EdgeEndLabels: ({ data, activePoints, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, textColor, }: EdgeEndLabelsProps) => import("react/jsx-runtime").JSX.Element;
19
19
  export {};
@@ -9,5 +9,5 @@ interface EdgeIncludeExtendLabelsProps {
9
9
  relationshipType?: "include" | "extend";
10
10
  textColor?: string;
11
11
  }
12
- export declare const EdgeIncludeExtendLabel: ({ sourcePoint, targetPoint, showRelationshipLabels, relationshipType, textColor, }: EdgeIncludeExtendLabelsProps) => JSX.Element;
12
+ export declare const EdgeIncludeExtendLabel: ({ sourcePoint, targetPoint, showRelationshipLabels, relationshipType, textColor, }: EdgeIncludeExtendLabelsProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export {};
@@ -8,7 +8,8 @@ interface EdgeMiddleLabelsProps {
8
8
  showRelationshipLabels?: boolean;
9
9
  isUseCasePath?: boolean;
10
10
  isPetriNet?: boolean;
11
+ avoidToolbarOverlap?: boolean;
11
12
  textColor: string;
12
13
  }
13
- export declare const EdgeMiddleLabels: ({ label, pathMiddlePosition, isMiddlePathHorizontal, sourcePoint, targetPoint, showRelationshipLabels, isUseCasePath, isPetriNet, textColor, }: EdgeMiddleLabelsProps) => JSX.Element | null;
14
+ export declare const EdgeMiddleLabels: ({ label, pathMiddlePosition, isMiddlePathHorizontal, sourcePoint, targetPoint, showRelationshipLabels, isUseCasePath, isPetriNet, avoidToolbarOverlap, textColor, }: EdgeMiddleLabelsProps) => import("react/jsx-runtime").JSX.Element | null;
14
15
  export {};
@@ -4,12 +4,12 @@ interface EdgeMultipleLabelsProps {
4
4
  messages?: MessageData[];
5
5
  pathMiddlePosition: IPoint;
6
6
  showRelationshipLabels: boolean;
7
- isReconnectingRef?: React.MutableRefObject<boolean>;
7
+ isReconnecting?: boolean;
8
8
  sourcePosition: IPoint;
9
9
  targetPosition: IPoint;
10
10
  edgePoints?: IPoint[];
11
11
  isHorizontalEdge?: boolean;
12
12
  textColor: string;
13
13
  }
14
- export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnectingRef, sourcePosition, targetPosition, edgePoints, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => JSX.Element | null;
14
+ export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnecting, sourcePosition, targetPosition, edgePoints, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => import("react/jsx-runtime").JSX.Element | null;
15
15
  export {};
@@ -1,38 +1,38 @@
1
1
  export declare const diagramEdgeTypes: {
2
- ClassAggregation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
3
- ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
4
- ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
5
- ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
6
- ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
7
- ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
8
- ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
9
- ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
10
- ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
11
- FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
12
- SyntaxTreeLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
13
- CommunicationLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
14
- PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
15
- UseCaseAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
16
- UseCaseInclude: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
17
- UseCaseExtend: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
18
- UseCaseGeneralization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
19
- ComponentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
20
- ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
21
- ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
22
- ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
23
- ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
24
- DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
25
- DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
26
- DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
27
- DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
28
- DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
29
- DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
30
- SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
31
- ReachabilityGraphArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
32
- BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
33
- BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
34
- BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
35
- BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, selected, }: import('./GenericEdge').BaseEdgeProps) => JSX.Element;
2
+ ClassAggregation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
3
+ ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
4
+ ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
5
+ ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
6
+ ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
7
+ ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
8
+ ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
9
+ ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
10
+ ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
11
+ FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
12
+ SyntaxTreeLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
13
+ CommunicationLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
14
+ PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
15
+ UseCaseAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
16
+ UseCaseInclude: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
17
+ UseCaseExtend: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
18
+ UseCaseGeneralization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
19
+ ComponentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
20
+ ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
21
+ ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
22
+ ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
23
+ ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
24
+ DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
25
+ DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
26
+ DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
27
+ DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
28
+ DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
29
+ DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
30
+ SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
31
+ ReachabilityGraphArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
32
+ BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
33
+ BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
34
+ BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
35
+ BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
36
36
  };
37
37
  export declare const edgeConfig: {
38
38
  readonly ClassAggregation: {
@@ -0,0 +1 @@
1
+ export * from './Quadrant';
@@ -0,0 +1,25 @@
1
+ import { IPoint } from '../edges/Connection';
2
+ import { LineJumpHit } from '../utils/edgeUtils';
3
+ /**
4
+ * Publishes this edge's actual rendered (jump-free) polyline to the shared
5
+ * geometry registry so other edges can bridge over it at its real position,
6
+ * and removes it on unmount. `points` should be the edge's live render
7
+ * geometry (`renderPoints` for step edges, source/target for straight ones).
8
+ */
9
+ export declare function usePublishEdgeGeometry(id: string | undefined, points: IPoint[]): void;
10
+ /**
11
+ * Returns where this edge should bridge over the edges it crosses, using the
12
+ * stable horizontal-hops-vertical convention (see `computeLineJumpsForEdge`).
13
+ * Other edges' geometry is read from the shared registry (their actual rendered
14
+ * points), so a bridge always centers on the crossing the user sees. Pass
15
+ * `enabled: false` to skip the scan (e.g. while reconnecting).
16
+ *
17
+ * Shared by both `useStepPathEdge` and `useStraightPathEdge`; the only
18
+ * difference between them is the `basePoints` they feed in.
19
+ */
20
+ export declare function useEdgeLineJumps(id: string | undefined, basePoints: IPoint[], enabled: boolean): LineJumpHit[];
21
+ /**
22
+ * Builds the SVG path for an edge, drawing bridge arcs at the given crossings.
23
+ * Falls back to a plain polyline when there are no jumps.
24
+ */
25
+ export declare function buildEdgePath(points: IPoint[], lineJumps: LineJumpHit[]): string;
@@ -6,5 +6,6 @@ interface HandleFinderResult {
6
6
  }
7
7
  export declare const useHandleFinder: () => {
8
8
  findBestHandle: (upEvent: PointerEvent) => HandleFinderResult;
9
+ findBestHandleAtClientPosition: (clientX: number, clientY: number) => HandleFinderResult;
9
10
  };
10
11
  export {};
@@ -1,2 +1,2 @@
1
1
  import { Edge, Connection } from '@xyflow/react';
2
- export declare const useReconnect: () => (oldEdge: Edge, newConnection: Connection) => void;
2
+ export declare const useReconnect: () => (oldEdge: Edge, newConnection: Connection, data?: Edge["data"]) => void;
@@ -1,5 +1,6 @@
1
1
  import { Position } from '@xyflow/react';
2
2
  import { IPoint } from '../edges/Connection';
3
+ import { BendHandle } from '../utils/geometry/bendHandles';
3
4
  interface UseStepPathEdgeProps {
4
5
  id: string;
5
6
  type: string;
@@ -17,31 +18,34 @@ interface UseStepPathEdgeProps {
17
18
  points?: IPoint[];
18
19
  };
19
20
  allowMidpointDragging?: boolean;
20
- enableReconnection?: boolean;
21
21
  enableStraightPath?: boolean;
22
22
  }
23
23
  export interface StepPathEdgeData {
24
24
  activePoints: IPoint[];
25
25
  pathMiddlePosition: IPoint;
26
+ toolbarPosition: IPoint;
26
27
  isMiddlePathHorizontal: boolean;
27
28
  sourcePoint: IPoint;
28
29
  targetPoint: IPoint;
29
30
  }
30
- export declare const useStepPathEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, allowMidpointDragging, enableReconnection, enableStraightPath, }: UseStepPathEdgeProps) => {
31
+ export declare const useStepPathEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, allowMidpointDragging, enableStraightPath, }: UseStepPathEdgeProps) => {
31
32
  pathRef: import('react').MutableRefObject<SVGPathElement | null>;
32
33
  edgeData: StepPathEdgeData;
33
34
  currentPath: string;
34
35
  overlayPath: string;
35
- midpoints: IPoint[];
36
+ bendHandles: BendHandle[];
37
+ isBendDragging: boolean;
38
+ draggingHandleSegmentIndex: number | null;
36
39
  hasInitialCalculation: boolean;
37
- isReconnectingRef: import('react').MutableRefObject<boolean>;
40
+ isReconnecting: boolean;
38
41
  markerEnd: string | undefined;
39
42
  markerStart: string | undefined;
40
43
  strokeDashArray: string | undefined;
41
- handlePointerDown: (event: React.PointerEvent, index: number) => void;
42
- handleEndpointPointerDown: (e: React.PointerEvent, endType: "source" | "target") => void;
44
+ handlePointerDown: (event: React.PointerEvent, handle: BendHandle) => void;
43
45
  sourcePoint: IPoint;
44
46
  targetPoint: IPoint;
47
+ toolbarPosition: IPoint;
45
48
  isDiagramModifiable: boolean;
49
+ canEditEndpoint: boolean;
46
50
  };
47
51
  export {};
@@ -0,0 +1,23 @@
1
+ import { IPoint } from '../edges/Connection';
2
+ import { BaseEdgeProps } from '../edges/GenericEdge';
3
+ export interface StraightPathEdgeData {
4
+ pathMiddlePosition: IPoint;
5
+ toolbarPosition: IPoint;
6
+ isMiddlePathHorizontal: boolean;
7
+ sourcePoint: IPoint;
8
+ targetPoint: IPoint;
9
+ }
10
+ export declare const useStraightPathEdge: ({ id, type, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: Omit<BaseEdgeProps, "data">) => {
11
+ pathRef: import('react').MutableRefObject<SVGPathElement | null>;
12
+ edgeData: StraightPathEdgeData;
13
+ currentPath: string;
14
+ overlayPath: string;
15
+ markerEnd: string | undefined;
16
+ markerStart: string | undefined;
17
+ strokeDashArray: string | undefined;
18
+ sourcePoint: IPoint;
19
+ targetPoint: IPoint;
20
+ isDiagramModifiable: boolean;
21
+ isReconnecting: boolean;
22
+ canEditEndpoint: boolean;
23
+ };
@@ -0,0 +1,7 @@
1
+ export * from './typings';
2
+ export { ApollonEditor } from './apollon-editor';
3
+ export { getAssessmentNameForArtemis, getEdgeAssessmentDataById, getNodeAssessmentDataByNodeElementId, type AssessmentViewData, } from './utils/helpers';
4
+ export { importDiagram } from './utils/versionConverter';
5
+ export { collabColorFromName, randomCollabName } from './utils/collaboration';
6
+ export { log, setLogLevel, setLogger } from './logger';
7
+ export type { LogLevel } from './logger';
@@ -0,0 +1,5 @@
1
+ export { YjsSync, MessageType } from './sync/yjsSync';
2
+ export type { SendBroadcastMessage } from './sync/yjsSync';
3
+ export { createHeadlessSync } from './sync/headless';
4
+ export { convertV2ToV4, convertV3ToV4, convertV3HandleToV4, convertV3NodeTypeToV4, convertV3EdgeTypeToV4, convertV3MessagesToV4, isV2Format, isV3Format, isV4Format, } from './utils/versionConverter';
5
+ export type * from './utils/v3Typings';
@@ -3,5 +3,5 @@ type Props = Node<{
3
3
  description?: string;
4
4
  title: string;
5
5
  }>;
6
- export declare function TitleAndDesctiption({ width, height, id, data: { description, title }, }: NodeProps<Props>): JSX.Element | null;
6
+ export declare function TitleAndDesctiption({ width, height, id, data: { description, title }, }: NodeProps<Props>): import("react/jsx-runtime").JSX.Element | null;
7
7
  export {};
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function Activity({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function Activity({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityActionNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityActionNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityFinalNode({ id, width, height, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityFinalNode({ id, width, height, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityForkNode({ id, width, height, parentId, data, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityForkNode({ id, width, height, parentId, data, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityForkNodeHorizontal({ id, width, height, parentId, data, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityForkNodeHorizontal({ id, width, height, parentId, data, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityInitialNode({ id, width, height, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityInitialNode({ id, width, height, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityMergeNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityMergeNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { DefaultNodeProps } from '../../types';
3
- export declare function ActivityObjectNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): JSX.Element | null;
3
+ export declare function ActivityObjectNode({ id, width, height, data, parentId, }: NodeProps<Node<DefaultNodeProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNAnnotationProps } from '../../types';
3
- export declare function BPMNAnnotation({ id, width, height, data, parentId, }: NodeProps<Node<BPMNAnnotationProps>>): JSX.Element | null;
3
+ export declare function BPMNAnnotation({ id, width, height, data, parentId, }: NodeProps<Node<BPMNAnnotationProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNCallActivityProps } from '../../types';
3
- export declare function BPMNCallActivity({ id, width, height, data, parentId, }: NodeProps<Node<BPMNCallActivityProps>>): JSX.Element | null;
3
+ export declare function BPMNCallActivity({ id, width, height, data, parentId, }: NodeProps<Node<BPMNCallActivityProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNDataObjectProps } from '../../types';
3
- export declare function BPMNDataObject({ id, width, height, data, parentId, }: NodeProps<Node<BPMNDataObjectProps>>): JSX.Element | null;
3
+ export declare function BPMNDataObject({ id, width, height, data, parentId, }: NodeProps<Node<BPMNDataObjectProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNDataStoreProps } from '../../types';
3
- export declare function BPMNDataStore({ id, width, height, data, parentId, }: NodeProps<Node<BPMNDataStoreProps>>): JSX.Element | null;
3
+ export declare function BPMNDataStore({ id, width, height, data, parentId, }: NodeProps<Node<BPMNDataStoreProps>>): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNEventProps } from '../../types';
3
- export declare function BPMNEndEvent({ id, width, height, data, }: NodeProps<Node<BPMNEventProps>>): JSX.Element;
3
+ export declare function BPMNEndEvent({ id, width, height, data, }: NodeProps<Node<BPMNEventProps>>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { BPMNGatewayProps } from '../../types';
3
- export declare function BPMNGateway({ id, width, height, data, }: NodeProps<Node<BPMNGatewayProps>>): JSX.Element;
3
+ export declare function BPMNGateway({ id, width, height, data, }: NodeProps<Node<BPMNGatewayProps>>): import("react/jsx-runtime").JSX.Element;