@tumaet/apollon 4.9.0 → 5.0.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 +27 -63
- package/dist/assets/style.css +2 -1
- package/dist/export.js +189 -205
- package/dist/exportFonts-B_CLIgms.js +5 -0
- package/dist/exportStyles-ob7cmOn_.js +5 -0
- package/dist/fontStack-BKkvgDI3.js +4 -0
- package/dist/index.d.ts +237 -58
- package/dist/index.js +16850 -36346
- package/dist/internals.d.ts +2 -10
- package/dist/internals.js +28 -46
- package/dist/versionConverter-C-s36Ory.js +4769 -0
- package/package.json +33 -79
- package/dist/exportFonts-DxO9jrR1.js +0 -19
- package/dist/exportStyles-Co-WBqTa.js +0 -5
- package/dist/external/LICENSE-InterFont +0 -92
- package/dist/external/exportFonts-DxO9jrR1.js +0 -19
- package/dist/external/exportStyles-Co-WBqTa.js +0 -5
- package/dist/external/index.js +0 -22191
- package/dist/fontStack-DOtVH2j8.js +0 -5
- package/dist/react/App.d.ts +0 -9
- package/dist/react/LICENSE-InterFont +0 -92
- package/dist/react/apollon-editor.d.ts +0 -184
- package/dist/react/components/AlignmentGuides.d.ts +0 -1
- package/dist/react/components/AssessmentSelectableElement.d.ts +0 -10
- package/dist/react/components/AssessmentSelectionDebug.d.ts +0 -1
- package/dist/react/components/CustomBackground.d.ts +0 -1
- package/dist/react/components/CustomControls.d.ts +0 -8
- package/dist/react/components/CustomMiniMap.d.ts +0 -1
- package/dist/react/components/DraggableGhost.d.ts +0 -13
- package/dist/react/components/Icon/ArrowBackIcon.d.ts +0 -4
- package/dist/react/components/Icon/ArrowForwardIcon.d.ts +0 -4
- package/dist/react/components/Icon/CheckIcon.d.ts +0 -4
- package/dist/react/components/Icon/CrossIcon.d.ts +0 -4
- package/dist/react/components/Icon/DeleteIcon.d.ts +0 -4
- package/dist/react/components/Icon/DragHandleIcon.d.ts +0 -4
- package/dist/react/components/Icon/EditIcon.d.ts +0 -4
- package/dist/react/components/Icon/ExclamationIcon.d.ts +0 -4
- package/dist/react/components/Icon/InfiniteIcon.d.ts +0 -4
- package/dist/react/components/Icon/MapIcon.d.ts +0 -4
- package/dist/react/components/Icon/PaintRollerIcon.d.ts +0 -2
- package/dist/react/components/Icon/RedoIcon.d.ts +0 -2
- package/dist/react/components/Icon/SouthEastArrowIcon.d.ts +0 -4
- package/dist/react/components/Icon/SwapHorizIcon.d.ts +0 -4
- package/dist/react/components/Icon/UndoIcon.d.ts +0 -2
- package/dist/react/components/Icon/index.d.ts +0 -14
- package/dist/react/components/ReconnectConnectionLine.d.ts +0 -2
- package/dist/react/components/ScrollOverlay.d.ts +0 -7
- package/dist/react/components/Sidebar.d.ts +0 -2
- package/dist/react/components/collaboration/CollaborationLayer.d.ts +0 -25
- package/dist/react/components/collaboration/coordinates.d.ts +0 -7
- package/dist/react/components/index.d.ts +0 -18
- package/dist/react/components/popovers/DefaultNodeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/DefaultNodeGiveFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/DefaultNodeSeeFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/GenericPopover.d.ts +0 -17
- package/dist/react/components/popovers/GiveFeedbackAssessmentBox.d.ts +0 -7
- package/dist/react/components/popovers/PopoverManager.d.ts +0 -10
- package/dist/react/components/popovers/SeeFeedbackAssessmentBox.d.ts +0 -5
- package/dist/react/components/popovers/activityDiagram/ActivitySwimlaneEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/activityDiagram/index.d.ts +0 -1
- package/dist/react/components/popovers/bpmnDiagram/BPMNEndEventEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/BPMNGatewayEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/BPMNIntermediateEventEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/BPMNPoolEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/BPMNStartEventEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/BPMNTaskEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/bpmnDiagram/index.d.ts +0 -6
- package/dist/react/components/popovers/classDiagram/ClassEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/classDiagram/ClassGiveFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/classDiagram/ClassSeeFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/classDiagram/EditableAttributesList.d.ts +0 -6
- package/dist/react/components/popovers/classDiagram/EditableMethodsList.d.ts +0 -6
- package/dist/react/components/popovers/classDiagram/index.d.ts +0 -6
- package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameGiveFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/communicationDiagram/CommunicationObjectNameSeeFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/communicationDiagram/index.d.ts +0 -3
- package/dist/react/components/popovers/componentDiagram/ComponentEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/componentDiagram/ComponentSubsystemEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/componentDiagram/index.d.ts +0 -2
- package/dist/react/components/popovers/deploymentDiagram/DeploymentComponentEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/deploymentDiagram/DeploymentNodeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/deploymentDiagram/index.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/ActivityDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/BPMNDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/ClassDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/CommunicationDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/ComponentDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/DeploymentDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/EdgeGiveFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/EdgeSeeFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/EdgeTypePreviewIcon.d.ts +0 -3
- package/dist/react/components/popovers/edgePopovers/EdgeTypeSelect.d.ts +0 -9
- package/dist/react/components/popovers/edgePopovers/FlowChartEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/ObjectDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/PetriNetEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/ReachabilityGraphEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/SwapEndsButton.d.ts +0 -9
- package/dist/react/components/popovers/edgePopovers/SyntaxTreeEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/UseCaseDiagramEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/edgePopovers/index.d.ts +0 -8
- package/dist/react/components/popovers/index.d.ts +0 -3
- package/dist/react/components/popovers/objectDiagram/ObjectEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/objectDiagram/ObjectGiveFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/objectDiagram/ObjectSeeFeedbackPopover.d.ts +0 -2
- package/dist/react/components/popovers/objectDiagram/index.d.ts +0 -3
- package/dist/react/components/popovers/petriNetDiagram/PetriNetPlaceEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/petriNetDiagram/index.d.ts +0 -1
- package/dist/react/components/popovers/reachabilityGraphDiagram/ReachabilityGraphMarkingEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/reachabilityGraphDiagram/index.d.ts +0 -1
- package/dist/react/components/popovers/sfcDiagram/SfcActionTableEditPopover.d.ts +0 -3
- package/dist/react/components/popovers/sfcDiagram/SfcEdgeEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/sfcDiagram/index.d.ts +0 -2
- package/dist/react/components/popovers/syntaxTreeDiagram/SyntaxTreeNonterminalEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/syntaxTreeDiagram/SyntaxTreeTerminalEditPopover.d.ts +0 -2
- package/dist/react/components/popovers/syntaxTreeDiagram/index.d.ts +0 -2
- package/dist/react/components/popovers/types.d.ts +0 -6
- package/dist/react/components/react/Apollon.d.ts +0 -50
- package/dist/react/components/react/ApollonControl.d.ts +0 -18
- package/dist/react/components/react/context.d.ts +0 -16
- package/dist/react/components/react/useApollonSubscription.d.ts +0 -17
- package/dist/react/components/svgs/AssessmentIcon.d.ts +0 -8
- package/dist/react/components/svgs/StyledElements.d.ts +0 -2
- package/dist/react/components/svgs/edges/InlineMarker.d.ts +0 -70
- package/dist/react/components/svgs/edges/index.d.ts +0 -1
- package/dist/react/components/svgs/index.d.ts +0 -3
- package/dist/react/components/svgs/nodes/CustomText.d.ts +0 -10
- package/dist/react/components/svgs/nodes/HeaderSection.d.ts +0 -14
- package/dist/react/components/svgs/nodes/InterfaceLabel.d.ts +0 -26
- package/dist/react/components/svgs/nodes/MultilineText.d.ts +0 -51
- package/dist/react/components/svgs/nodes/RowBlockSection.d.ts +0 -15
- package/dist/react/components/svgs/nodes/SeparationLine.d.ts +0 -8
- package/dist/react/components/svgs/nodes/StereotypeAndName.d.ts +0 -54
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityActionNodeSVG.d.ts +0 -6
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityFinalNodeSVG.d.ts +0 -2
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityForkNodeHorizontalSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityForkNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityInitialNodeSVG.d.ts +0 -2
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityMergeNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/activityDiagram/ActivityObjectNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/activityDiagram/ActivitySVG.d.ts +0 -6
- package/dist/react/components/svgs/nodes/activityDiagram/ActivitySwimlaneSVG.d.ts +0 -9
- package/dist/react/components/svgs/nodes/activityDiagram/index.d.ts +0 -9
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNAnnotationNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNDataObjectNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNDataStoreNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNEventNodeSVG.d.ts +0 -8
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNGatewayNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNGroupNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNPoolNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNSubprocessNodeSVG.d.ts +0 -8
- package/dist/react/components/svgs/nodes/bpmnDiagram/BPMNTaskNodeSVG.d.ts +0 -6
- package/dist/react/components/svgs/nodes/bpmnDiagram/index.d.ts +0 -9
- package/dist/react/components/svgs/nodes/classDiagram/ClassSVG.d.ts +0 -10
- package/dist/react/components/svgs/nodes/classDiagram/ColorDescriptionSVG.d.ts +0 -10
- package/dist/react/components/svgs/nodes/classDiagram/PackageSVG.d.ts +0 -6
- package/dist/react/components/svgs/nodes/classDiagram/TitleAndDescriptionSVG.d.ts +0 -11
- package/dist/react/components/svgs/nodes/classDiagram/index.d.ts +0 -4
- package/dist/react/components/svgs/nodes/communicationDiagram/CommunicationObjectNameSVG.d.ts +0 -6
- package/dist/react/components/svgs/nodes/communicationDiagram/index.d.ts +0 -1
- package/dist/react/components/svgs/nodes/componentDiagram/ComponentInterfaceNodeSVG.d.ts +0 -9
- package/dist/react/components/svgs/nodes/componentDiagram/ComponentNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/componentDiagram/ComponentSubsystemNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/componentDiagram/index.d.ts +0 -3
- package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentArtifactSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentComponentSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentInterfaceSVG.d.ts +0 -9
- package/dist/react/components/svgs/nodes/deploymentDiagram/DeploymentNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/deploymentDiagram/index.d.ts +0 -4
- package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartDecisionNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartFunctionCallNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartInputOutputNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartProcessNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/flowchartDiagram/FlowchartTerminalNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/flowchartDiagram/index.d.ts +0 -5
- package/dist/react/components/svgs/nodes/index.d.ts +0 -13
- package/dist/react/components/svgs/nodes/objectDiagram/ObjectNameSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/objectDiagram/index.d.ts +0 -1
- package/dist/react/components/svgs/nodes/petriNetDiagram/PetriNetPlaceSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/petriNetDiagram/PetriNetTransitionSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/petriNetDiagram/index.d.ts +0 -2
- package/dist/react/components/svgs/nodes/reachabilityGraphDiagram/ReachabilityGraphMarkingSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/reachabilityGraphDiagram/index.d.ts +0 -1
- package/dist/react/components/svgs/nodes/sfcDiagram/SfcActionTableNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/sfcDiagram/SfcJumpNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/sfcDiagram/SfcStartNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/sfcDiagram/SfcStepNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/sfcDiagram/SfcTransitionBranchNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/sfcDiagram/index.d.ts +0 -5
- package/dist/react/components/svgs/nodes/syntaxTreeDiagram/SyntaxTreeNonterminalNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/syntaxTreeDiagram/SyntaxTreeTerminalNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/syntaxTreeDiagram/index.d.ts +0 -2
- package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseActorNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/useCaseDiagram/UseCaseSystemNodeSVG.d.ts +0 -7
- package/dist/react/components/svgs/nodes/useCaseDiagram/index.d.ts +0 -3
- package/dist/react/components/toolbars/NodeToolbar.d.ts +0 -7
- package/dist/react/components/toolbars/edgeToolBar/CustomEdgeToolBar.d.ts +0 -12
- package/dist/react/components/toolbars/edgeToolBar/index.d.ts +0 -1
- package/dist/react/components/toolbars/index.d.ts +0 -1
- package/dist/react/components/ui/DividerLine.d.ts +0 -9
- package/dist/react/components/ui/HeaderSwitchElement.d.ts +0 -7
- package/dist/react/components/ui/PrimaryButton.d.ts +0 -8
- package/dist/react/components/ui/StereotypeButtonGroup.d.ts +0 -8
- package/dist/react/components/ui/StyleEditor/ColorButtons.d.ts +0 -11
- package/dist/react/components/ui/StyleEditor/EdgeStyleEditor.d.ts +0 -11
- package/dist/react/components/ui/StyleEditor/NodeStyleEditor.d.ts +0 -22
- package/dist/react/components/ui/StyleEditor/index.d.ts +0 -2
- package/dist/react/components/ui/TextField.d.ts +0 -3
- package/dist/react/components/ui/Typography.d.ts +0 -3
- package/dist/react/components/ui/index.d.ts +0 -7
- package/dist/react/components/wrapper/AssessmentSelectableWrapper.d.ts +0 -11
- package/dist/react/components/wrapper/FeedbackDropzone.d.ts +0 -10
- package/dist/react/components/wrapper/index.d.ts +0 -2
- package/dist/react/constants.d.ts +0 -261
- package/dist/react/edges/Connection.d.ts +0 -36
- package/dist/react/edges/EdgeProps.d.ts +0 -24
- package/dist/react/edges/GenericEdge.d.ts +0 -78
- package/dist/react/edges/edgeTypes/ActivityDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/BPMNDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/ClassDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/CommunicationDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/ComponentDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/DeploymentDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/FlowChartEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/ObjectDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/PetriNetEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/ReachabilityGraphArc.d.ts +0 -2
- package/dist/react/edges/edgeTypes/SfcDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/SyntaxTreeEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/UseCaseDiagramEdge.d.ts +0 -2
- package/dist/react/edges/edgeTypes/index.d.ts +0 -6
- package/dist/react/edges/index.d.ts +0 -3
- package/dist/react/edges/labelTypes/EdgeEndLabels.d.ts +0 -19
- package/dist/react/edges/labelTypes/EdgeIncludeExtendLabel.d.ts +0 -10
- package/dist/react/edges/labelTypes/EdgeMiddleLabels.d.ts +0 -18
- package/dist/react/edges/labelTypes/EdgeMultipleLabels.d.ts +0 -14
- package/dist/react/edges/labelTypes/messageLayout.d.ts +0 -51
- package/dist/react/edges/types.d.ts +0 -153
- package/dist/react/enums/Quadrant.d.ts +0 -6
- package/dist/react/enums/index.d.ts +0 -1
- package/dist/react/export/exportErrors.d.ts +0 -10
- package/dist/react/export/index.d.ts +0 -13
- package/dist/react/export/normalizeExportSvg.d.ts +0 -16
- package/dist/react/export/preProcessSvgForPdf.d.ts +0 -20
- package/dist/react/export/svgToPdf.d.ts +0 -17
- package/dist/react/export/svgToPng.d.ts +0 -38
- package/dist/react/exportFonts-DSRUaduf.js +0 -20
- package/dist/react/exportStyles-yVX7Dykt.js +0 -6
- package/dist/react/fontStack.d.ts +0 -14
- package/dist/react/hooks/index.d.ts +0 -18
- package/dist/react/hooks/useAssessmentSelection.d.ts +0 -13
- package/dist/react/hooks/useConnect.d.ts +0 -7
- package/dist/react/hooks/useDiagramModifiable.d.ts +0 -1
- package/dist/react/hooks/useDragOver.d.ts +0 -2
- package/dist/react/hooks/useDropFeedback.d.ts +0 -7
- package/dist/react/hooks/useEdgeConfig.d.ts +0 -83
- package/dist/react/hooks/useEdgeLineJumps.d.ts +0 -27
- package/dist/react/hooks/useEdgeToolbar.d.ts +0 -6
- package/dist/react/hooks/useEdges.d.ts +0 -9
- package/dist/react/hooks/useElementInteractions.d.ts +0 -6
- package/dist/react/hooks/useGoToNextAssessment.d.ts +0 -1
- package/dist/react/hooks/useHandleDelete.d.ts +0 -1
- package/dist/react/hooks/useHandleFinder.d.ts +0 -11
- package/dist/react/hooks/useHandleOnResize.d.ts +0 -4
- package/dist/react/hooks/useIsOnlyThisElementSelected.d.ts +0 -1
- package/dist/react/hooks/useKeyboardShortcuts.d.ts +0 -1
- package/dist/react/hooks/useNodeDrag.d.ts +0 -2
- package/dist/react/hooks/useNodeDragStop.d.ts +0 -2
- package/dist/react/hooks/usePaneClicked.d.ts +0 -3
- package/dist/react/hooks/usePopoverAnchor.d.ts +0 -26
- package/dist/react/hooks/useReactiveElement.d.ts +0 -10
- package/dist/react/hooks/useReconnect.d.ts +0 -2
- package/dist/react/hooks/useRemoteDraggingNodes.d.ts +0 -20
- package/dist/react/hooks/useSelectionForCopyPaste.d.ts +0 -10
- package/dist/react/hooks/useStepPathEdge.d.ts +0 -62
- package/dist/react/hooks/useStraightPathEdge.d.ts +0 -23
- package/dist/react/hooks/useViewPointCenter.d.ts +0 -2
- package/dist/react/index.d.ts +0 -9
- package/dist/react/internals.d.ts +0 -5
- package/dist/react/logger.d.ts +0 -10
- package/dist/react/nodes/TitleAndDescriptionNode.d.ts +0 -7
- package/dist/react/nodes/activityDiagram/Activity.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityActionNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityFinalNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityForkNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityForkNodeHorizontal.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityInitialNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityMergeNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivityObjectNode.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/ActivitySwimlane.d.ts +0 -3
- package/dist/react/nodes/activityDiagram/index.d.ts +0 -9
- package/dist/react/nodes/bpmn/BPMNAnnotation.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNCallActivity.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNDataObject.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNDataStore.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNEndEvent.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNGateway.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNGroup.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNIntermediateEvent.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNPool.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNStartEvent.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNSubprocess.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNTask.d.ts +0 -3
- package/dist/react/nodes/bpmn/BPMNTransaction.d.ts +0 -3
- package/dist/react/nodes/bpmn/index.d.ts +0 -13
- package/dist/react/nodes/classDiagram/Class.d.ts +0 -3
- package/dist/react/nodes/classDiagram/ColorDescription.d.ts +0 -3
- package/dist/react/nodes/classDiagram/Package.d.ts +0 -3
- package/dist/react/nodes/classDiagram/index.d.ts +0 -3
- package/dist/react/nodes/communicationDiagram/CommunicationObjectName.d.ts +0 -3
- package/dist/react/nodes/communicationDiagram/index.d.ts +0 -1
- package/dist/react/nodes/componentDiagram/Component.d.ts +0 -3
- package/dist/react/nodes/componentDiagram/ComponentInterface.d.ts +0 -3
- package/dist/react/nodes/componentDiagram/ComponentSubsystem.d.ts +0 -3
- package/dist/react/nodes/componentDiagram/index.d.ts +0 -3
- package/dist/react/nodes/deploymentDiagram/DeploymentArtifact.d.ts +0 -3
- package/dist/react/nodes/deploymentDiagram/DeploymentComponent.d.ts +0 -3
- package/dist/react/nodes/deploymentDiagram/DeploymentInterface.d.ts +0 -3
- package/dist/react/nodes/deploymentDiagram/DeploymentNode.d.ts +0 -3
- package/dist/react/nodes/deploymentDiagram/index.d.ts +0 -4
- package/dist/react/nodes/flowchart/FlowchartDecision.d.ts +0 -3
- package/dist/react/nodes/flowchart/FlowchartFunctionCall.d.ts +0 -3
- package/dist/react/nodes/flowchart/FlowchartInputOutput.d.ts +0 -3
- package/dist/react/nodes/flowchart/FlowchartProcess.d.ts +0 -3
- package/dist/react/nodes/flowchart/FlowchartTerminal.d.ts +0 -3
- package/dist/react/nodes/flowchart/index.d.ts +0 -5
- package/dist/react/nodes/index.d.ts +0 -8
- package/dist/react/nodes/objectDiagram/ObjectName.d.ts +0 -3
- package/dist/react/nodes/objectDiagram/index.d.ts +0 -1
- package/dist/react/nodes/petriNetDiagram/PetriNetPlace.d.ts +0 -3
- package/dist/react/nodes/petriNetDiagram/PetriNetTransition.d.ts +0 -3
- package/dist/react/nodes/petriNetDiagram/index.d.ts +0 -2
- package/dist/react/nodes/reachabilityGraphDiagram/ReachabilityGraphMarking.d.ts +0 -3
- package/dist/react/nodes/reachabilityGraphDiagram/index.d.ts +0 -1
- package/dist/react/nodes/sfcDiagram/SfcActionTable.d.ts +0 -3
- package/dist/react/nodes/sfcDiagram/SfcJump.d.ts +0 -3
- package/dist/react/nodes/sfcDiagram/SfcStart.d.ts +0 -3
- package/dist/react/nodes/sfcDiagram/SfcStep.d.ts +0 -3
- package/dist/react/nodes/sfcDiagram/SfcTransitionBranch.d.ts +0 -3
- package/dist/react/nodes/sfcDiagram/index.d.ts +0 -5
- package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeNonterminal.d.ts +0 -3
- package/dist/react/nodes/syntaxTreeDiagram/SyntaxTreeTerminal.d.ts +0 -3
- package/dist/react/nodes/types.d.ts +0 -73
- package/dist/react/nodes/useCaseDiagram/UseCase.d.ts +0 -3
- package/dist/react/nodes/useCaseDiagram/UseCaseActor.d.ts +0 -3
- package/dist/react/nodes/useCaseDiagram/UseCaseSystem.d.ts +0 -3
- package/dist/react/nodes/useCaseDiagram/index.d.ts +0 -3
- package/dist/react/nodes/wrappers/DefaultNodeWrapper.d.ts +0 -49
- package/dist/react/nodes/wrappers/index.d.ts +0 -1
- package/dist/react/overlay/OverlayLayer.d.ts +0 -8
- package/dist/react/overlay/RegionMount.d.ts +0 -10
- package/dist/react/overlay/overlayStore.d.ts +0 -20
- package/dist/react/overlay/types.d.ts +0 -48
- package/dist/react/react.d.ts +0 -5
- package/dist/react/react.js +0 -28177
- package/dist/react/services/migration/EdgeTransformer.d.ts +0 -11
- package/dist/react/store/alignmentGuidesStore.d.ts +0 -13
- package/dist/react/store/assessmentSelectionStore.d.ts +0 -17
- package/dist/react/store/context.d.ts +0 -22
- package/dist/react/store/diagramStore.d.ts +0 -70
- package/dist/react/store/edgeGeometryStore.d.ts +0 -18
- package/dist/react/store/index.d.ts +0 -7
- package/dist/react/store/metadataStore.d.ts +0 -39
- package/dist/react/store/popoverStore.d.ts +0 -9
- package/dist/react/styles/theme.d.ts +0 -51
- package/dist/react/sync/headless.d.ts +0 -16
- package/dist/react/sync/perfCounters.d.ts +0 -6
- package/dist/react/sync/ydoc.d.ts +0 -9
- package/dist/react/sync/yjsSync.d.ts +0 -63
- package/dist/react/types/DiagramType.d.ts +0 -16
- package/dist/react/types/SVG.d.ts +0 -8
- package/dist/react/types/index.d.ts +0 -3
- package/dist/react/types/locationPopover.d.ts +0 -5
- package/dist/react/types/nodes/DropNodeDate.d.ts +0 -7
- package/dist/react/types/nodes/NodeProps.d.ts +0 -101
- package/dist/react/types/nodes/enums/ClassType.d.ts +0 -5
- package/dist/react/types/nodes/enums/index.d.ts +0 -1
- package/dist/react/types/nodes/index.d.ts +0 -3
- package/dist/react/typings.d.ts +0 -186
- package/dist/react/utils/alignmentUtils.d.ts +0 -32
- package/dist/react/utils/bpmnConstraints.d.ts +0 -5
- package/dist/react/utils/collaboration.d.ts +0 -19
- package/dist/react/utils/copyPasteUtils.d.ts +0 -32
- package/dist/react/utils/deepPartial.d.ts +0 -3
- package/dist/react/utils/diagramTypeUtils.d.ts +0 -6
- package/dist/react/utils/edgeUtils.d.ts +0 -167
- package/dist/react/utils/exportFonts.d.ts +0 -11
- package/dist/react/utils/exportStyles.d.ts +0 -30
- package/dist/react/utils/exportUtils.d.ts +0 -11
- package/dist/react/utils/geometry/bendHandles.d.ts +0 -42
- package/dist/react/utils/geometry/edgeLabelLayout.d.ts +0 -123
- package/dist/react/utils/geometry/interfaceLabelLayout.d.ts +0 -44
- package/dist/react/utils/helpers.d.ts +0 -14
- package/dist/react/utils/index.d.ts +0 -19
- package/dist/react/utils/interactiveUtils.d.ts +0 -6
- package/dist/react/utils/layoutUtils.d.ts +0 -30
- package/dist/react/utils/nodeUtils.d.ts +0 -15
- package/dist/react/utils/paletteLayout.d.ts +0 -70
- package/dist/react/utils/pathParsing.d.ts +0 -54
- package/dist/react/utils/popoverUtils.d.ts +0 -3
- package/dist/react/utils/quadrantUtils.d.ts +0 -3
- package/dist/react/utils/requiredInterfaceUtils.d.ts +0 -18
- package/dist/react/utils/storeUtils.d.ts +0 -1
- package/dist/react/utils/svgTextLayout.d.ts +0 -86
- package/dist/react/utils/swimlaneUtils.d.ts +0 -58
- package/dist/react/utils/textUtils.d.ts +0 -1
- package/dist/react/utils/v3Typings.d.ts +0 -135
- package/dist/react/utils/versionConverter.d.ts +0 -60
- package/dist/yjsSync-BCNFF_EI.js +0 -45418
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IPoint } from '../Connection';
|
|
2
|
-
import { Rect } from '../../utils/geometry/edgeLabelLayout';
|
|
3
|
-
interface EdgeMiddleLabelsProps {
|
|
4
|
-
label?: string | null;
|
|
5
|
-
/** The edge's full rendered polyline (orthogonal edges). */
|
|
6
|
-
activePoints?: IPoint[];
|
|
7
|
-
sourcePoint?: IPoint;
|
|
8
|
-
targetPoint?: IPoint;
|
|
9
|
-
/** Every node the edge routes near, so the label avoids all of them. */
|
|
10
|
-
nodeRects?: Rect[];
|
|
11
|
-
neighborGeometry?: IPoint[][];
|
|
12
|
-
showRelationshipLabels?: boolean;
|
|
13
|
-
isUseCasePath?: boolean;
|
|
14
|
-
isPetriNet?: boolean;
|
|
15
|
-
textColor: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const EdgeMiddleLabels: ({ label, activePoints, sourcePoint, targetPoint, nodeRects, neighborGeometry, showRelationshipLabels, isUseCasePath, isPetriNet, textColor, }: EdgeMiddleLabelsProps) => import("react").JSX.Element | null;
|
|
18
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IPoint } from '../Connection';
|
|
2
|
-
import { MessageData } from '../EdgeProps';
|
|
3
|
-
interface EdgeMultipleLabelsProps {
|
|
4
|
-
messages?: MessageData[];
|
|
5
|
-
pathMiddlePosition: IPoint;
|
|
6
|
-
showRelationshipLabels: boolean;
|
|
7
|
-
isReconnecting?: boolean;
|
|
8
|
-
sourcePosition: IPoint;
|
|
9
|
-
targetPosition: IPoint;
|
|
10
|
-
isHorizontalEdge: boolean;
|
|
11
|
-
textColor: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const EdgeMultipleLabels: ({ messages, pathMiddlePosition, showRelationshipLabels, isReconnecting, sourcePosition, targetPosition, isHorizontalEdge, textColor, }: EdgeMultipleLabelsProps) => import("react").JSX.Element | null;
|
|
14
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { MessageData } from '../EdgeProps';
|
|
2
|
-
import { IPoint } from '../Connection';
|
|
3
|
-
/**
|
|
4
|
-
* Geometry for communication-edge message labels, relative to the middle-segment
|
|
5
|
-
* midpoint (position-independent, hence unit-testable on its own).
|
|
6
|
-
*
|
|
7
|
-
* Invariant: a group's SIDE is fixed by the segment orientation; flow direction
|
|
8
|
-
* is encoded ONLY by the arrow rotation, never by the side. Gaps are constant by
|
|
9
|
-
* construction — nothing measures text width.
|
|
10
|
-
*/
|
|
11
|
-
export interface MessageHostSegment {
|
|
12
|
-
/** Rounded midpoint of the chosen arm (flow space). */
|
|
13
|
-
point: IPoint;
|
|
14
|
-
/** Orientation of the chosen arm. */
|
|
15
|
-
isHorizontal: boolean;
|
|
16
|
-
/** The arm's endpoints in source->target order (for arrow direction). */
|
|
17
|
-
start: IPoint;
|
|
18
|
-
end: IPoint;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* The arm of a (possibly stepped) communication edge that should HOST the
|
|
22
|
-
* message stack. The naive mid-segment can land on a tiny jog between two long
|
|
23
|
-
* arms — classifying a dominantly-vertical edge as "horizontal" so the labels
|
|
24
|
-
* centre on the jog and straddle BOTH neighbouring arms. Instead we host on the
|
|
25
|
-
* LONGEST arm (tie-broken toward the edge's middle), so the stack sits beside a
|
|
26
|
-
* long straight run: it never crosses the line and, in vertical mode, all
|
|
27
|
-
* same-direction messages share a leading edge. Pure geometry — identical in the
|
|
28
|
-
* editor and in headless export.
|
|
29
|
-
*/
|
|
30
|
-
export declare const getMessageHostSegment: (renderPoints: IPoint[], fallbackSource: IPoint, fallbackTarget: IPoint) => MessageHostSegment;
|
|
31
|
-
export type LabelTextAnchor = "start" | "middle" | "end";
|
|
32
|
-
export declare const ARROW_SIZE = 16;
|
|
33
|
-
export declare const ARROW_TEXT_GAP = 4;
|
|
34
|
-
export declare const LINE_GAP = 8;
|
|
35
|
-
export declare const STACK_SPACING = 22;
|
|
36
|
-
export interface MessageGroupLayout {
|
|
37
|
-
messages: MessageData[];
|
|
38
|
-
arrowRotation: number;
|
|
39
|
-
textAnchor: LabelTextAnchor;
|
|
40
|
-
/** Top-left of the arrow icon for the first message, relative to the segment midpoint. */
|
|
41
|
-
arrowOrigin: IPoint;
|
|
42
|
-
/** Text anchor point for the first message, relative to the segment midpoint. */
|
|
43
|
-
textOrigin: IPoint;
|
|
44
|
-
/** Offset added per stacked message (multiplied by the message index). */
|
|
45
|
-
stackStep: IPoint;
|
|
46
|
-
}
|
|
47
|
-
export interface MessageLayout {
|
|
48
|
-
forward: MessageGroupLayout;
|
|
49
|
-
backward: MessageGroupLayout;
|
|
50
|
-
}
|
|
51
|
-
export declare const computeMessageLayout: (messages: MessageData[], sourcePosition: IPoint, targetPosition: IPoint, isHorizontalEdge: boolean) => MessageLayout;
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
export declare const diagramEdgeTypes: {
|
|
2
|
-
ClassAggregation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
3
|
-
ClassInheritance: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
4
|
-
ClassRealization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
5
|
-
ClassComposition: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
6
|
-
ClassBidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
7
|
-
ClassUnidirectional: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
8
|
-
ClassDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
9
|
-
ActivityControlFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
10
|
-
ObjectLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
11
|
-
FlowChartFlowline: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
12
|
-
SyntaxTreeLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
13
|
-
CommunicationLink: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
14
|
-
PetriNetArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
15
|
-
UseCaseAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
16
|
-
UseCaseInclude: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
17
|
-
UseCaseExtend: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
18
|
-
UseCaseGeneralization: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
19
|
-
ComponentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
20
|
-
ComponentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
21
|
-
ComponentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
22
|
-
ComponentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
23
|
-
ComponentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
24
|
-
DeploymentAssociation: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
25
|
-
DeploymentDependency: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
26
|
-
DeploymentProvidedInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
27
|
-
DeploymentRequiredInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
28
|
-
DeploymentRequiredThreeQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
29
|
-
DeploymentRequiredQuarterInterface: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
30
|
-
SfcDiagramEdge: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
31
|
-
ReachabilityGraphArc: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
32
|
-
BPMNSequenceFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
33
|
-
BPMNMessageFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
34
|
-
BPMNAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
35
|
-
BPMNDataAssociationFlow: ({ id, type, source, target, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, sourceHandleId, targetHandleId, data, }: import('./GenericEdge').BaseEdgeProps) => import("react").JSX.Element;
|
|
36
|
-
};
|
|
37
|
-
export declare const edgeConfig: {
|
|
38
|
-
readonly ClassAggregation: {
|
|
39
|
-
readonly allowMidpointDragging: true;
|
|
40
|
-
};
|
|
41
|
-
readonly ClassInheritance: {
|
|
42
|
-
readonly allowMidpointDragging: true;
|
|
43
|
-
};
|
|
44
|
-
readonly ClassRealization: {
|
|
45
|
-
readonly allowMidpointDragging: true;
|
|
46
|
-
};
|
|
47
|
-
readonly ClassComposition: {
|
|
48
|
-
readonly allowMidpointDragging: true;
|
|
49
|
-
};
|
|
50
|
-
readonly ClassBidirectional: {
|
|
51
|
-
readonly allowMidpointDragging: true;
|
|
52
|
-
};
|
|
53
|
-
readonly ClassUnidirectional: {
|
|
54
|
-
readonly allowMidpointDragging: true;
|
|
55
|
-
};
|
|
56
|
-
readonly ClassDependency: {
|
|
57
|
-
readonly allowMidpointDragging: true;
|
|
58
|
-
};
|
|
59
|
-
readonly ActivityControlFlow: {
|
|
60
|
-
readonly allowMidpointDragging: true;
|
|
61
|
-
};
|
|
62
|
-
readonly ObjectLink: {
|
|
63
|
-
readonly allowMidpointDragging: true;
|
|
64
|
-
};
|
|
65
|
-
readonly FlowChartFlowline: {
|
|
66
|
-
readonly allowMidpointDragging: true;
|
|
67
|
-
};
|
|
68
|
-
readonly SyntaxTreeLink: {};
|
|
69
|
-
readonly ReachabilityGraphArc: {
|
|
70
|
-
readonly allowMidpointDragging: true;
|
|
71
|
-
};
|
|
72
|
-
readonly PetriNetArc: {
|
|
73
|
-
readonly showRelationshipLabels: true;
|
|
74
|
-
};
|
|
75
|
-
readonly CommunicationLink: {
|
|
76
|
-
readonly allowMidpointDragging: true;
|
|
77
|
-
};
|
|
78
|
-
readonly UseCaseAssociation: {
|
|
79
|
-
readonly showRelationshipLabels: true;
|
|
80
|
-
};
|
|
81
|
-
readonly UseCaseInclude: {
|
|
82
|
-
readonly showRelationshipLabels: true;
|
|
83
|
-
};
|
|
84
|
-
readonly UseCaseExtend: {
|
|
85
|
-
readonly showRelationshipLabels: true;
|
|
86
|
-
};
|
|
87
|
-
readonly UseCaseGeneralization: {
|
|
88
|
-
readonly showRelationshipLabels: false;
|
|
89
|
-
};
|
|
90
|
-
readonly BPMNSequenceFlow: {
|
|
91
|
-
readonly allowMidpointDragging: true;
|
|
92
|
-
readonly showRelationshipLabels: true;
|
|
93
|
-
};
|
|
94
|
-
readonly BPMNMessageFlow: {
|
|
95
|
-
readonly allowMidpointDragging: true;
|
|
96
|
-
readonly showRelationshipLabels: true;
|
|
97
|
-
};
|
|
98
|
-
readonly BPMNAssociationFlow: {
|
|
99
|
-
readonly allowMidpointDragging: true;
|
|
100
|
-
readonly showRelationshipLabels: true;
|
|
101
|
-
};
|
|
102
|
-
readonly BPMNDataAssociationFlow: {
|
|
103
|
-
readonly allowMidpointDragging: true;
|
|
104
|
-
readonly showRelationshipLabels: true;
|
|
105
|
-
};
|
|
106
|
-
readonly ComponentDependency: {
|
|
107
|
-
readonly allowMidpointDragging: true;
|
|
108
|
-
};
|
|
109
|
-
readonly ComponentProvidedInterface: {
|
|
110
|
-
readonly allowMidpointDragging: true;
|
|
111
|
-
};
|
|
112
|
-
readonly ComponentRequiredInterface: {
|
|
113
|
-
readonly allowMidpointDragging: true;
|
|
114
|
-
};
|
|
115
|
-
readonly ComponentRequiredThreeQuarterInterface: {
|
|
116
|
-
readonly allowMidpointDragging: true;
|
|
117
|
-
};
|
|
118
|
-
readonly ComponentRequiredQuarterInterface: {
|
|
119
|
-
readonly allowMidpointDragging: true;
|
|
120
|
-
};
|
|
121
|
-
readonly DeploymentAssociation: {
|
|
122
|
-
readonly allowMidpointDragging: true;
|
|
123
|
-
readonly showRelationshipLabels: true;
|
|
124
|
-
};
|
|
125
|
-
readonly DeploymentDependency: {
|
|
126
|
-
readonly allowMidpointDragging: true;
|
|
127
|
-
readonly showRelationshipLabels: false;
|
|
128
|
-
};
|
|
129
|
-
readonly DeploymentProvidedInterface: {
|
|
130
|
-
readonly allowMidpointDragging: true;
|
|
131
|
-
readonly showRelationshipLabels: false;
|
|
132
|
-
};
|
|
133
|
-
readonly DeploymentRequiredInterface: {
|
|
134
|
-
readonly allowMidpointDragging: true;
|
|
135
|
-
readonly showRelationshipLabels: false;
|
|
136
|
-
};
|
|
137
|
-
readonly DeploymentRequiredThreeQuarterInterface: {
|
|
138
|
-
readonly allowMidpointDragging: true;
|
|
139
|
-
readonly showRelationshipLabels: false;
|
|
140
|
-
};
|
|
141
|
-
readonly DeploymentRequiredQuarterInterface: {
|
|
142
|
-
readonly allowMidpointDragging: true;
|
|
143
|
-
readonly showRelationshipLabels: false;
|
|
144
|
-
};
|
|
145
|
-
readonly SfcDiagramEdge: {
|
|
146
|
-
readonly allowMidpointDragging: true;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
export type DiagramEdgeType = keyof typeof diagramEdgeTypes;
|
|
150
|
-
export interface IPoint {
|
|
151
|
-
x: number;
|
|
152
|
-
y: number;
|
|
153
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Quadrant';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Typed error for the raster (PNG) export path so callers can show an
|
|
3
|
-
* actionable "diagram too large" message instead of the silent 0-byte file the
|
|
4
|
-
* old canvas path produced (#667).
|
|
5
|
-
*/
|
|
6
|
-
export declare class RasterTooLargeError extends Error {
|
|
7
|
-
readonly canvasWidth: number;
|
|
8
|
-
readonly canvasHeight: number;
|
|
9
|
-
constructor(message: string, canvasWidth: number, canvasHeight: number);
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@tumaet/apollon/export` — reliable browser raster/vector export of a
|
|
3
|
-
* compat-mode Apollon SVG. PNG via resvg (wasm); PDF via svg2pdf.js on jsPDF.
|
|
4
|
-
* Both fix the canvas-area-cap silent failure of the old client path (#667).
|
|
5
|
-
*
|
|
6
|
-
* The heavy renderers (`@resvg/resvg-wasm`, `jspdf`, `svg2pdf.js`) are optional
|
|
7
|
-
* dependencies, loaded lazily, so importing the editor never pulls them in.
|
|
8
|
-
*/
|
|
9
|
-
export { svgToPng, computeAppliedScale } from './svgToPng';
|
|
10
|
-
export type { SvgToPngOptions, SvgToPngResult } from './svgToPng';
|
|
11
|
-
export { svgToPdf } from './svgToPdf';
|
|
12
|
-
export type { SvgToPdfOptions } from './svgToPdf';
|
|
13
|
-
export { RasterTooLargeError } from './exportErrors';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Drop `font-style="italic"` from every element of an export SVG.
|
|
3
|
-
*
|
|
4
|
-
* Apollon emits italic for abstract-class headers, but the editor itself ships
|
|
5
|
-
* only upright Inter (Regular + Bold) — on screen the slant is the browser's
|
|
6
|
-
* *synthetic* oblique, and text width is measured with the upright metrics.
|
|
7
|
-
* The raster (resvg) and PDF (jsPDF) paths carry the same two upright faces, so
|
|
8
|
-
* a real italic face would change advance widths and break the editor↔export
|
|
9
|
-
* determinism guarantee (and risk overflowing label boxes). We therefore render
|
|
10
|
-
* abstract names upright by design — matching the server export — and strip the
|
|
11
|
-
* attribute so the SVG no longer *claims* an italic it doesn't deliver. Abstract
|
|
12
|
-
* classes stay distinguishable by their «Abstract» stereotype label.
|
|
13
|
-
*
|
|
14
|
-
* Mutates `root` in place.
|
|
15
|
-
*/
|
|
16
|
-
export declare function normalizeExportSvg(root: Element): void;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapt a compat-mode Apollon SVG to the three svg2pdf.js limitations that the
|
|
3
|
-
* library's own compat passes (in exportUtils.ts) do NOT already cover.
|
|
4
|
-
* Relative font-sizes, `tspan` `dy` and `dominant-baseline` are resolved
|
|
5
|
-
* upstream by `getSVG`, so they are intentionally absent here.
|
|
6
|
-
*
|
|
7
|
-
* 1. Nested `<svg>` clips its content despite `overflow="visible"` — svg2pdf
|
|
8
|
-
* treats the intrinsic size as a clip rect. Apollon wraps each node in
|
|
9
|
-
* `<svg width viewBox>`; replace those with `<g>` (layout-equivalent since
|
|
10
|
-
* the viewBox is always `0 0 w h`), translating any non-zero origin.
|
|
11
|
-
* 2. A `<text>` with 2+ `<tspan>` children renders with wrong glyph widths in
|
|
12
|
-
* svg2pdf; split it into independent `<text>` elements. Each tspan already
|
|
13
|
-
* carries an absolute `y` (resolved by `resolveTspanDy`).
|
|
14
|
-
* 3. svg2pdf looks up `font-family` as a literal string, so the CSS list
|
|
15
|
-
* `"Inter, system-ui, …"` misses the registered "Inter" and falls back to a
|
|
16
|
-
* standard font; collapse any Inter-led list to plain `"Inter"`.
|
|
17
|
-
*
|
|
18
|
-
* Mutates `root` in place and returns it.
|
|
19
|
-
*/
|
|
20
|
-
export declare function preProcessSvgForPdf(root: Element): Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type SvgToPdfOptions = {
|
|
2
|
-
/** Document title metadata; does not affect layout. */
|
|
3
|
-
title?: string;
|
|
4
|
-
/**
|
|
5
|
-
* Inter Regular + Bold as ttf/otf bytes, for hosts without `fetch` of the
|
|
6
|
-
* bundled `?url` font asset (e.g. tests, headless Node). Defaults to the
|
|
7
|
-
* bundled Inter.
|
|
8
|
-
*/
|
|
9
|
-
fonts?: {
|
|
10
|
-
regular: Uint8Array;
|
|
11
|
-
bold: Uint8Array;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare function svgToPdf(svg: string, clip: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}, opts?: SvgToPdfOptions): Promise<Blob>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type SvgToPngOptions = {
|
|
2
|
-
/** Multiplier applied to the diagram clip dimensions. Default 1.5. */
|
|
3
|
-
scale?: number;
|
|
4
|
-
/** CSS colour (e.g. "#ffffff") or null for transparent. Default null. */
|
|
5
|
-
background?: string | null;
|
|
6
|
-
/** Override the 75 MP area budget. */
|
|
7
|
-
maxAreaPx?: number;
|
|
8
|
-
/** Override the 16,384 px per-side cap. */
|
|
9
|
-
maxDimensionPx?: number;
|
|
10
|
-
/**
|
|
11
|
-
* The `@resvg/resvg-wasm` binary, as anything resvg's `initWasm` accepts.
|
|
12
|
-
* Required: where the wasm lives is the host bundler's concern, not the
|
|
13
|
-
* library's (resvg-wasm doesn't export it under a portable URL specifier).
|
|
14
|
-
* In Vite:
|
|
15
|
-
* `import url from "@resvg/resvg-wasm/index_bg.wasm?url"`
|
|
16
|
-
* `svgToPng(svg, clip, { wasmInput: fetch(url) })`
|
|
17
|
-
*/
|
|
18
|
-
wasmInput?: WebAssembly.Module | BufferSource | Response | Promise<Response>;
|
|
19
|
-
/** Font buffers (ttf/otf) to use instead of the bundled Inter. */
|
|
20
|
-
fontBuffers?: Uint8Array[];
|
|
21
|
-
};
|
|
22
|
-
export type SvgToPngResult = {
|
|
23
|
-
blob: Blob;
|
|
24
|
-
/** The scale actually used — below the requested one when clamped. */
|
|
25
|
-
appliedScale: number;
|
|
26
|
-
clamped: boolean;
|
|
27
|
-
width: number;
|
|
28
|
-
height: number;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Largest scale that fits both the area budget and the per-side cap. Pure, so
|
|
32
|
-
* the clamp can be unit-tested without booting wasm.
|
|
33
|
-
*/
|
|
34
|
-
export declare function computeAppliedScale(width: number, height: number, requestedScale: number, maxAreaPx: number, maxDimensionPx: number): number;
|
|
35
|
-
export declare function svgToPng(svg: string, clip: {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
}, opts?: SvgToPngOptions): Promise<SvgToPngResult>;
|