@tumaet/apollon 4.3.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +206 -34
- package/dist/assets/style.css +1 -1
- package/dist/index.d.ts +897 -7
- package/dist/index.js +7988 -73543
- package/dist/internals.d.ts +868 -0
- package/dist/internals.js +40 -0
- package/dist/react/App.d.ts +9 -0
- package/dist/react/apollon-editor.d.ts +112 -0
- package/dist/react/components/AlignmentGuides.d.ts +1 -0
- package/dist/react/components/AssessmentSelectionDebug.d.ts +1 -0
- package/dist/react/components/CustomBackground.d.ts +1 -0
- package/dist/react/components/CustomControls.d.ts +1 -0
- package/dist/react/components/CustomMiniMap.d.ts +1 -0
- package/dist/{components → react/components}/Icon/ArrowBackIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/ArrowForwardIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/CheckIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/CrossIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/DeleteIcon.d.ts +1 -1
- package/dist/react/components/Icon/DragHandleIcon.d.ts +4 -0
- package/dist/{components → react/components}/Icon/EditIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/ExclamationIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/InfiniteIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/MapIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/PaintRollerIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/RedoIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/SouthEastArrowIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/SwapHorizIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/UndoIcon.d.ts +1 -1
- package/dist/{components → react/components}/Icon/index.d.ts +1 -0
- package/dist/react/components/ReconnectConnectionLine.d.ts +2 -0
- package/dist/react/components/Sidebar.d.ts +1 -0
- package/dist/react/components/collaboration/CollaborationLayer.d.ts +25 -0
- package/dist/{components → react/components}/index.d.ts +2 -0
- package/dist/{components → react/components}/popovers/DefaultNodeGiveFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/DefaultNodeSeeFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/GiveFeedbackAssessmentBox.d.ts +1 -1
- package/dist/{components → react/components}/popovers/PopoverManager.d.ts +1 -1
- package/dist/{components → react/components}/popovers/SeeFeedbackAssessmentBox.d.ts +1 -1
- package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +1 -1
- package/dist/{components → react/components}/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +1 -1
- package/dist/react/components/react/Apollon.d.ts +45 -0
- package/dist/react/components/react/context.d.ts +16 -0
- package/dist/react/components/react/useApollonSubscription.d.ts +17 -0
- package/dist/{components → react/components}/svgs/edges/InlineMarker.d.ts +2 -2
- package/dist/react/components/svgs/nodes/CustomText.d.ts +10 -0
- package/dist/{components → react/components}/svgs/nodes/classDiagram/ClassSVG.d.ts +1 -1
- package/dist/{components → react/components}/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +1 -1
- package/dist/{components → react/components}/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +1 -1
- package/dist/{components → react/components}/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +1 -1
- package/dist/{components → react/components}/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +2 -0
- package/dist/{components → react/components}/ui/StyleEditor/ColorButtons.d.ts +1 -1
- package/dist/{constants.d.ts → react/constants.d.ts} +43 -6
- package/dist/react/edges/GenericEdge.d.ts +79 -0
- package/dist/{edges → react/edges}/edgeTypes/ActivityDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/BPMNDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/ClassDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/CommunicationDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/ComponentDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/DeploymentDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/FlowChartEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/ObjectDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/PetriNetEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/ReachabilityGraphArc.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/SfcDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/SyntaxTreeEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/edgeTypes/UseCaseDiagramEdge.d.ts +1 -1
- package/dist/{edges → react/edges}/labelTypes/EdgeEndLabels.d.ts +1 -1
- package/dist/{edges → react/edges}/labelTypes/EdgeIncludeExtendLabel.d.ts +1 -1
- package/dist/{edges → react/edges}/labelTypes/EdgeMiddleLabels.d.ts +2 -1
- package/dist/{edges → react/edges}/labelTypes/EdgeMultipleLabels.d.ts +2 -2
- package/dist/{edges → react/edges}/types.d.ts +34 -34
- package/dist/react/enums/index.d.ts +1 -0
- package/dist/react/hooks/useEdgeLineJumps.d.ts +25 -0
- package/dist/{hooks → react/hooks}/useHandleFinder.d.ts +1 -0
- package/dist/{hooks → react/hooks}/useReconnect.d.ts +1 -1
- package/dist/{hooks → react/hooks}/useStepPathEdge.d.ts +10 -6
- package/dist/react/hooks/useStraightPathEdge.d.ts +23 -0
- package/dist/react/index.d.ts +7 -0
- package/dist/react/internals.d.ts +5 -0
- package/dist/{nodes → react/nodes}/TitleAndDescriptionNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/Activity.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityActionNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityFinalNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityForkNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityForkNodeHorizontal.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityInitialNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityMergeNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/activityDiagram/ActivityObjectNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNAnnotation.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNCallActivity.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNDataObject.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNDataStore.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNEndEvent.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNGateway.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNGroup.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNIntermediateEvent.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNPool.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNStartEvent.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNSubprocess.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNTask.d.ts +1 -1
- package/dist/{nodes → react/nodes}/bpmn/BPMNTransaction.d.ts +1 -1
- package/dist/{nodes → react/nodes}/classDiagram/Class.d.ts +1 -1
- package/dist/{nodes → react/nodes}/classDiagram/ColorDescription.d.ts +1 -1
- package/dist/{nodes → react/nodes}/classDiagram/Package.d.ts +1 -1
- package/dist/{nodes → react/nodes}/communicationDiagram/CommunicationObjectName.d.ts +1 -1
- package/dist/{nodes → react/nodes}/componentDiagram/Component.d.ts +1 -1
- package/dist/{nodes → react/nodes}/componentDiagram/ComponentInterface.d.ts +1 -1
- package/dist/{nodes → react/nodes}/componentDiagram/ComponentSubsystem.d.ts +1 -1
- package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentArtifact.d.ts +1 -1
- package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentComponent.d.ts +1 -1
- package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentInterface.d.ts +1 -1
- package/dist/{nodes → react/nodes}/deploymentDiagram/DeploymentNode.d.ts +1 -1
- package/dist/{nodes → react/nodes}/flowchart/FlowchartDecision.d.ts +1 -1
- package/dist/{nodes → react/nodes}/flowchart/FlowchartFunctionCall.d.ts +1 -1
- package/dist/{nodes → react/nodes}/flowchart/FlowchartInputOutput.d.ts +1 -1
- package/dist/{nodes → react/nodes}/flowchart/FlowchartProcess.d.ts +1 -1
- package/dist/{nodes → react/nodes}/flowchart/FlowchartTerminal.d.ts +1 -1
- package/dist/{nodes → react/nodes}/objectDiagram/ObjectName.d.ts +1 -1
- package/dist/{nodes → react/nodes}/petriNetDiagram/PetriNetPlace.d.ts +1 -1
- package/dist/{nodes → react/nodes}/petriNetDiagram/PetriNetTransition.d.ts +1 -1
- package/dist/{nodes → react/nodes}/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +1 -1
- package/dist/{nodes → react/nodes}/sfcDiagram/SfcActionTable.d.ts +1 -1
- package/dist/{nodes → react/nodes}/sfcDiagram/SfcJump.d.ts +1 -1
- package/dist/{nodes → react/nodes}/sfcDiagram/SfcStart.d.ts +1 -1
- package/dist/{nodes → react/nodes}/sfcDiagram/SfcStep.d.ts +1 -1
- package/dist/{nodes → react/nodes}/sfcDiagram/SfcTransitionBranch.d.ts +1 -1
- package/dist/{nodes → react/nodes}/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +1 -1
- package/dist/{nodes → react/nodes}/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +1 -1
- package/dist/{nodes → react/nodes}/useCaseDiagram/UseCase.d.ts +1 -1
- package/dist/{nodes → react/nodes}/useCaseDiagram/UseCaseActor.d.ts +1 -1
- package/dist/{nodes → react/nodes}/useCaseDiagram/UseCaseSystem.d.ts +1 -1
- package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +49 -0
- package/dist/react/react.d.ts +4 -0
- package/dist/react/react.js +34580 -0
- package/dist/react/services/migration/EdgeTransformer.d.ts +11 -0
- package/dist/{store → react/store}/context.d.ts +3 -0
- package/dist/{store → react/store}/diagramStore.d.ts +8 -0
- package/dist/react/store/edgeGeometryStore.d.ts +18 -0
- package/dist/{store → react/store}/index.d.ts +2 -1
- package/dist/{store → react/store}/metadataStore.d.ts +12 -1
- package/dist/react/sync/headless.d.ts +16 -0
- package/dist/react/sync/yjsSync.d.ts +62 -0
- package/dist/{typings.d.ts → react/typings.d.ts} +44 -9
- package/dist/{utils → react/utils}/alignmentUtils.d.ts +2 -2
- package/dist/react/utils/collaboration.d.ts +10 -0
- package/dist/react/utils/edgeUtils.d.ts +167 -0
- package/dist/{utils → react/utils}/exportUtils.d.ts +0 -1
- package/dist/react/utils/geometry/bendHandles.d.ts +42 -0
- package/dist/{utils → react/utils}/index.d.ts +2 -2
- package/dist/{utils → react/utils}/interactiveUtils.d.ts +0 -1
- package/dist/{utils → react/utils}/nodeUtils.d.ts +1 -1
- package/dist/react/utils/storeUtils.d.ts +1 -0
- package/dist/react/utils/textUtils.d.ts +1 -0
- package/dist/yjsSync-hZSPGLEP.js +70938 -0
- package/package.json +95 -35
- package/dist/App.d.ts +0 -6
- package/dist/apollon-editor.d.ts +0 -56
- package/dist/components/AlignmentGuides.d.ts +0 -1
- package/dist/components/AssessmentSelectionDebug.d.ts +0 -1
- package/dist/components/CustomBackground.d.ts +0 -1
- package/dist/components/CustomControls.d.ts +0 -1
- package/dist/components/CustomMiniMap.d.ts +0 -1
- package/dist/components/Sidebar.d.ts +0 -1
- package/dist/components/debug/AssessmentSelectionDebug.d.ts +0 -6
- package/dist/components/svgs/nodes/CustomText.d.ts +0 -16
- package/dist/components/theme/styles.d.ts +0 -22
- package/dist/edges/GenericEdge.d.ts +0 -43
- package/dist/enums/ExportFileFormat.d.ts +0 -6
- package/dist/enums/index.d.ts +0 -2
- package/dist/hooks/useClipboard.d.ts +0 -11
- package/dist/hooks/useDragContext.d.ts +0 -0
- package/dist/hooks/useStraightPathEdge.d.ts +0 -31
- package/dist/initialElements.d.ts +0 -3
- package/dist/nodes/syntaxTreeDiagram/index.d.ts +0 -0
- package/dist/nodes/wrappers/DefaultNodeWrapper.d.ts +0 -33
- package/dist/sync/index.d.ts +0 -1
- package/dist/sync/yjsSyncClass.d.ts +0 -31
- package/dist/utils/edgeUtils.d.ts +0 -90
- package/dist/utils/labelUtils.d.ts +0 -16
- package/dist/utils/storeUtils.d.ts +0 -1
- package/dist/utils/textUtils.d.ts +0 -7
- package/dist/utils/v2Typings.d.ts +0 -127
- /package/dist/{components → react/components}/AssessmentSelectableElement.d.ts +0 -0
- /package/dist/{components → react/components}/DraggableGhost.d.ts +0 -0
- /package/dist/{components → react/components}/ScrollOverlay.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/DefaultNodeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/GenericPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNEndEventEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNGatewayEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNIntermediateEventEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNStartEventEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/BPMNTaskEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/bpmnDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/classDiagram/ClassEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/classDiagram/EditableAttributesList.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/classDiagram/EditableMethodsList.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/classDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/communicationDiagram/CommunicationObjectNameEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/communicationDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/componentDiagram/ComponentEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/componentDiagram/ComponentSubsystemEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/componentDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/deploymentDiagram/DeploymentComponentEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/deploymentDiagram/DeploymentNodeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/deploymentDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/ActivityDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/BPMNDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/ClassDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/CommunicationDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/ComponentDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/DeploymentDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/FlowChartEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/ObjectDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/PetriNetEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/ReachabilityGraphEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/SyntaxTreeEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/UseCaseDiagramEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/edgePopovers/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/objectDiagram/ObjectEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/objectDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/petriNetDiagram/PetriNetPlaceEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/petriNetDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/reachabilityGraphDiagram/ReachabilityGraphMarkingEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/reachabilityGraphDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/sfcDiagram/SfcActionTableEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/sfcDiagram/SfcEdgeEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/sfcDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/SyntaxTreeNonterminalEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/SyntaxTreeTerminalEditPopover.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/syntaxTreeDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/popovers/types.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/AssessmentIcon.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/StyledElements.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/edges/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/HeaderSection.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/MultilineText.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/RowBlockSection.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/SeparationLine.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/StereotypeAndName.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityActionNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityFinalNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityForkNodeHorizontalSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityForkNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityInitialNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityMergeNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivityObjectNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/ActivitySVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/activityDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNAnnotationNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNDataObjectNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNDataStoreNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNEventNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNGatewayNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNGroupNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNPoolNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNSubprocessNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/BPMNTaskNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/bpmnDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/classDiagram/PackageSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/classDiagram/TitleAndDescriptionSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/classDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/communicationDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentInterfaceNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/componentDiagram/ComponentSubsystemNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/componentDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentArtifactSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentComponentSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentInterfaceSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/DeploymentNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/deploymentDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartDecisionNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartFunctionCallNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartInputOutputNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartProcessNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/FlowchartTerminalNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/flowchartDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/objectDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/PetriNetPlaceSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/PetriNetTransitionSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/petriNetDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/reachabilityGraphDiagram/ReachabilityGraphMarkingSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/reachabilityGraphDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcActionTableNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcJumpNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcStartNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcStepNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/SfcTransitionBranchNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/sfcDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/SyntaxTreeNonterminalNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/SyntaxTreeTerminalNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/syntaxTreeDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseActorNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/UseCaseSystemNodeSVG.d.ts +0 -0
- /package/dist/{components → react/components}/svgs/nodes/useCaseDiagram/index.d.ts +0 -0
- /package/dist/{components → react/components}/toolbars/NodeToolbar.d.ts +0 -0
- /package/dist/{components → react/components}/toolbars/edgeToolBar/index.d.ts +0 -0
- /package/dist/{components → react/components}/toolbars/index.d.ts +0 -0
- /package/dist/{components → react/components}/ui/DividerLine.d.ts +0 -0
- /package/dist/{components → react/components}/ui/HeaderSwitchElement.d.ts +0 -0
- /package/dist/{components → react/components}/ui/PrimaryButton.d.ts +0 -0
- /package/dist/{components → react/components}/ui/StereotypeButtonGroup.d.ts +0 -0
- /package/dist/{components → react/components}/ui/StyleEditor/EdgeStyleEditor.d.ts +0 -0
- /package/dist/{components → react/components}/ui/StyleEditor/NodeStyleEditor.d.ts +0 -0
- /package/dist/{components → react/components}/ui/StyleEditor/index.d.ts +0 -0
- /package/dist/{components → react/components}/ui/TextField.d.ts +0 -0
- /package/dist/{components → react/components}/ui/Typography.d.ts +0 -0
- /package/dist/{components → react/components}/ui/index.d.ts +0 -0
- /package/dist/{components → react/components}/wrapper/AssessmentSelectableWrapper.d.ts +0 -0
- /package/dist/{components → react/components}/wrapper/FeedbackDropzone.d.ts +0 -0
- /package/dist/{components → react/components}/wrapper/index.d.ts +0 -0
- /package/dist/{edges → react/edges}/Connection.d.ts +0 -0
- /package/dist/{edges → react/edges}/EdgeProps.d.ts +0 -0
- /package/dist/{edges → react/edges}/edgeTypes/index.d.ts +0 -0
- /package/dist/{edges → react/edges}/index.d.ts +0 -0
- /package/dist/{enums → react/enums}/Quadrant.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/index.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useAssessmentSelection.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useConnect.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useDiagramModifiable.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useDragOver.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useDropFeedback.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useEdgeConfig.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useEdgeToolbar.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useEdges.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useElementInteractions.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useGoToNextAssessment.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useHandleDelete.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useHandleOnResize.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useIsOnlyThisElementSelected.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useKeyboardShortcuts.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useMessagePositioning.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useNodeDrag.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useNodeDragStop.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/usePaneClicked.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useSelectionForCopyPaste.d.ts +0 -0
- /package/dist/{hooks → react/hooks}/useViewPointCenter.d.ts +0 -0
- /package/dist/{logger.d.ts → react/logger.d.ts} +0 -0
- /package/dist/{nodes → react/nodes}/activityDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/bpmn/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/classDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/communicationDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/componentDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/deploymentDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/flowchart/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/objectDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/petriNetDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/reachabilityGraphDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/sfcDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/types.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/useCaseDiagram/index.d.ts +0 -0
- /package/dist/{nodes → react/nodes}/wrappers/index.d.ts +0 -0
- /package/dist/{store → react/store}/alignmentGuidesStore.d.ts +0 -0
- /package/dist/{store → react/store}/assessmentSelectionStore.d.ts +0 -0
- /package/dist/{store → react/store}/popoverStore.d.ts +0 -0
- /package/dist/{styles → react/styles}/theme.d.ts +0 -0
- /package/dist/{sync → react/sync}/ydoc.d.ts +0 -0
- /package/dist/{types → react/types}/DiagramType.d.ts +0 -0
- /package/dist/{types → react/types}/SVG.d.ts +0 -0
- /package/dist/{types → react/types}/index.d.ts +0 -0
- /package/dist/{types → react/types}/locationPopover.d.ts +0 -0
- /package/dist/{types → react/types}/nodes/DropNodeDate.d.ts +0 -0
- /package/dist/{types → react/types}/nodes/NodeProps.d.ts +0 -0
- /package/dist/{types → react/types}/nodes/enums/ClassType.d.ts +0 -0
- /package/dist/{types → react/types}/nodes/enums/index.d.ts +0 -0
- /package/dist/{types → react/types}/nodes/index.d.ts +0 -0
- /package/dist/{utils → react/utils}/bpmnConstraints.d.ts +0 -0
- /package/dist/{utils → react/utils}/copyPasteUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/deepPartial.d.ts +0 -0
- /package/dist/{utils → react/utils}/diagramTypeUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/helpers.d.ts +0 -0
- /package/dist/{utils → react/utils}/layoutUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/pathParsing.d.ts +0 -0
- /package/dist/{utils → react/utils}/popoverUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/quadrantUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/requiredInterfaceUtils.d.ts +0 -0
- /package/dist/{utils → react/utils}/svgTextLayout.d.ts +0 -0
- /package/dist/{utils → react/utils}/v3Typings.d.ts +0 -0
- /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:
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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,
|
|
3
|
-
ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
4
|
-
ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
5
|
-
ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
6
|
-
ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
7
|
-
ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
8
|
-
ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
9
|
-
ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
10
|
-
ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
11
|
-
FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
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,
|
|
14
|
-
PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
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,
|
|
20
|
-
ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
21
|
-
ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
22
|
-
ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
23
|
-
ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
24
|
-
DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
25
|
-
DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
26
|
-
DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
27
|
-
DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
28
|
-
DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
29
|
-
DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
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,
|
|
32
|
-
BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
33
|
-
BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
34
|
-
BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
35
|
-
BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data,
|
|
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;
|
|
@@ -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,
|
|
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
|
-
|
|
36
|
+
bendHandles: BendHandle[];
|
|
37
|
+
isBendDragging: boolean;
|
|
38
|
+
draggingHandleSegmentIndex: number | null;
|
|
36
39
|
hasInitialCalculation: boolean;
|
|
37
|
-
|
|
40
|
+
isReconnecting: boolean;
|
|
38
41
|
markerEnd: string | undefined;
|
|
39
42
|
markerStart: string | undefined;
|
|
40
43
|
strokeDashArray: string | undefined;
|
|
41
|
-
handlePointerDown: (event: React.PointerEvent,
|
|
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;
|