@finos/legend-extension-dsl-diagram 6.0.3 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/{DiagramRenderer.d.ts → DSL_Diagram_DiagramRenderer.d.ts} +9 -9
- package/lib/DSL_Diagram_DiagramRenderer.d.ts.map +1 -0
- package/lib/{DiagramRenderer.js → DSL_Diagram_DiagramRenderer.js} +11 -11
- package/lib/DSL_Diagram_DiagramRenderer.js.map +1 -0
- package/lib/{DSLDiagram_Extension.d.ts → DSL_Diagram_Extension.d.ts} +2 -2
- package/lib/DSL_Diagram_Extension.d.ts.map +1 -0
- package/lib/{DSLDiagram_Extension.js → DSL_Diagram_Extension.js} +8 -8
- package/lib/DSL_Diagram_Extension.js.map +1 -0
- package/lib/components/studio/{ClassDiagramPreview.d.ts → DSL_Diagram_ClassDiagramPreview.d.ts} +2 -1
- package/lib/components/studio/DSL_Diagram_ClassDiagramPreview.d.ts.map +1 -0
- package/lib/components/studio/{ClassDiagramPreview.js → DSL_Diagram_ClassDiagramPreview.js} +3 -3
- package/lib/components/studio/DSL_Diagram_ClassDiagramPreview.js.map +1 -0
- package/lib/components/studio/{DSLDiagram_CodeSnippets.d.ts → DSL_Diagram_CodeSnippets.d.ts} +1 -1
- package/lib/components/studio/DSL_Diagram_CodeSnippets.d.ts.map +1 -0
- package/lib/components/studio/{DSLDiagram_CodeSnippets.js → DSL_Diagram_CodeSnippets.js} +1 -1
- package/lib/components/studio/DSL_Diagram_CodeSnippets.js.map +1 -0
- package/lib/components/studio/{DiagramEditor.d.ts → DSL_Diagram_DiagramEditor.d.ts} +2 -1
- package/lib/components/studio/DSL_Diagram_DiagramEditor.d.ts.map +1 -0
- package/lib/components/studio/{DiagramEditor.js → DSL_Diagram_DiagramEditor.js} +10 -9
- package/lib/components/studio/DSL_Diagram_DiagramEditor.js.map +1 -0
- package/lib/components/studio/{InheritanceDiagramRenderer.d.ts → DSL_Diagram_InheritanceDiagramRenderer.d.ts} +2 -2
- package/lib/components/studio/DSL_Diagram_InheritanceDiagramRenderer.d.ts.map +1 -0
- package/lib/components/studio/{InheritanceDiagramRenderer.js → DSL_Diagram_InheritanceDiagramRenderer.js} +4 -4
- package/lib/components/studio/DSL_Diagram_InheritanceDiagramRenderer.js.map +1 -0
- package/lib/components/studio/{DSLDiagram_LegendStudioApplicationPlugin.d.ts → DSL_Diagram_LegendStudioApplicationPlugin.d.ts} +2 -2
- package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLDiagram_LegendStudioApplicationPlugin.js → DSL_Diagram_LegendStudioApplicationPlugin.js} +10 -10
- package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/studio/{DSLDiagram_LegendStudioDocumentation.d.ts → DSL_Diagram_LegendStudioDocumentation.d.ts} +1 -1
- package/lib/components/studio/DSL_Diagram_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/studio/{DSLDiagram_LegendStudioDocumentation.js → DSL_Diagram_LegendStudioDocumentation.js} +1 -1
- package/lib/components/studio/DSL_Diagram_LegendStudioDocumentation.js.map +1 -0
- package/lib/components/studio/{DSLDiagram_TestID.d.ts → DSL_Diagram_TestID.d.ts} +1 -1
- package/lib/components/studio/DSL_Diagram_TestID.d.ts.map +1 -0
- package/lib/components/studio/{DSLDiagram_TestID.js → DSL_Diagram_TestID.js} +1 -1
- package/lib/components/studio/DSL_Diagram_TestID.js.map +1 -0
- package/lib/graph/{DSLDiagram_HashUtils.d.ts → DSL_Diagram_HashUtils.d.ts} +1 -1
- package/lib/graph/DSL_Diagram_HashUtils.d.ts.map +1 -0
- package/lib/graph/{DSLDiagram_HashUtils.js → DSL_Diagram_HashUtils.js} +1 -1
- package/lib/graph/DSL_Diagram_HashUtils.js.map +1 -0
- package/lib/graph/{DSLDiagram_PureGraphPlugin.d.ts → DSL_Diagram_PureGraphPlugin.d.ts} +2 -2
- package/lib/graph/DSL_Diagram_PureGraphPlugin.d.ts.map +1 -0
- package/lib/graph/{DSLDiagram_PureGraphPlugin.js → DSL_Diagram_PureGraphPlugin.js} +4 -4
- package/lib/graph/DSL_Diagram_PureGraphPlugin.js.map +1 -0
- package/lib/graph/helpers/{DSLDiagram_Helper.d.ts → DSL_Diagram_Helper.d.ts} +6 -6
- package/lib/graph/helpers/DSL_Diagram_Helper.d.ts.map +1 -0
- package/lib/graph/helpers/{DSLDiagram_Helper.js → DSL_Diagram_Helper.js} +5 -5
- package/lib/graph/helpers/DSL_Diagram_Helper.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_AssociationView.d.ts → DSL_Diagram_AssociationView.d.ts} +4 -4
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_AssociationView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_AssociationView.js → DSL_Diagram_AssociationView.js} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_AssociationView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassView.d.ts → DSL_Diagram_ClassView.d.ts} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassView.js → DSL_Diagram_ClassView.js} +5 -5
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassViewReference.d.ts → DSL_Diagram_ClassViewReference.d.ts} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassViewReference.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassViewReference.js → DSL_Diagram_ClassViewReference.js} +1 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassViewReference.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_Diagram.d.ts → DSL_Diagram_Diagram.d.ts} +5 -5
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_Diagram.js → DSL_Diagram_Diagram.js} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_GeneralizationView.d.ts → DSL_Diagram_GeneralizationView.d.ts} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_GeneralizationView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_GeneralizationView.js → DSL_Diagram_GeneralizationView.js} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_GeneralizationView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyHolderView.d.ts → DSL_Diagram_PropertyHolderView.d.ts} +4 -4
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyHolderView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyHolderView.js → DSL_Diagram_PropertyHolderView.js} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyHolderView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyView.d.ts → DSL_Diagram_PropertyView.d.ts} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyView.js → DSL_Diagram_PropertyView.js} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipView.d.ts → DSL_Diagram_RelationshipView.d.ts} +5 -5
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipView.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipView.js → DSL_Diagram_RelationshipView.js} +5 -5
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipView.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipViewEnd.d.ts → DSL_Diagram_RelationshipViewEnd.d.ts} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipViewEnd.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipViewEnd.js → DSL_Diagram_RelationshipViewEnd.js} +1 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipViewEnd.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Point.d.ts → DSL_Diagram_Point.d.ts} +1 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Point.js → DSL_Diagram_Point.js} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_PositionedRectangle.d.ts → DSL_Diagram_PositionedRectangle.d.ts} +3 -3
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_PositionedRectangle.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_PositionedRectangle.js → DSL_Diagram_PositionedRectangle.js} +4 -4
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_PositionedRectangle.js.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Rectangle.d.ts → DSL_Diagram_Rectangle.d.ts} +1 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Rectangle.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Rectangle.js → DSL_Diagram_Rectangle.js} +2 -2
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Rectangle.js.map +1 -0
- package/lib/graphManager/{DSLDiagram_GraphManagerHelper.d.ts → DSL_Diagram_GraphManagerHelper.d.ts} +2 -2
- package/lib/graphManager/DSL_Diagram_GraphManagerHelper.d.ts.map +1 -0
- package/lib/graphManager/{DSLDiagram_GraphManagerHelper.js → DSL_Diagram_GraphManagerHelper.js} +2 -2
- package/lib/graphManager/DSL_Diagram_GraphManagerHelper.js.map +1 -0
- package/lib/graphManager/{DSLDiagram_PureGraphManagerPlugin.d.ts → DSL_Diagram_PureGraphManagerPlugin.d.ts} +2 -2
- package/lib/graphManager/DSL_Diagram_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/graphManager/{DSLDiagram_PureGraphManagerPlugin.js → DSL_Diagram_PureGraphManagerPlugin.js} +4 -4
- package/lib/graphManager/DSL_Diagram_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLDiagram_ObserverHelper.d.ts → DSL_Diagram_ObserverHelper.d.ts} +10 -10
- package/lib/graphManager/action/changeDetection/DSL_Diagram_ObserverHelper.d.ts.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLDiagram_ObserverHelper.js → DSL_Diagram_ObserverHelper.js} +1 -1
- package/lib/graphManager/action/changeDetection/DSL_Diagram_ObserverHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDiagram_PureProtocolProcessorPlugin.d.ts → DSL_Diagram_PureProtocolProcessorPlugin.d.ts} +3 -3
- package/lib/graphManager/protocol/pure/DSL_Diagram_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDiagram_PureProtocolProcessorPlugin.js → DSL_Diagram_PureProtocolProcessorPlugin.js} +9 -9
- package/lib/graphManager/protocol/pure/DSL_Diagram_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_ClassView.d.ts → V1_DSL_Diagram_ClassView.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_ClassView.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_ClassView.js → V1_DSL_Diagram_ClassView.js} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_ClassView.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_Diagram.d.ts → V1_DSL_Diagram_Diagram.d.ts} +4 -4
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_Diagram.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_Diagram.js → V1_DSL_Diagram_Diagram.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_Diagram.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_GeneralizationView.d.ts → V1_DSL_Diagram_GeneralizationView.d.ts} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_GeneralizationView.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_GeneralizationView.js → V1_DSL_Diagram_GeneralizationView.js} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_GeneralizationView.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyHolderView.d.ts → V1_DSL_Diagram_PropertyHolderView.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_PropertyHolderView.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyHolderView.js → V1_DSL_Diagram_PropertyHolderView.js} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_PropertyHolderView.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyView.d.ts → V1_DSL_Diagram_PropertyView.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_PropertyView.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyView.js → V1_DSL_Diagram_PropertyView.js} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_PropertyView.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_RelationshipView.d.ts → V1_DSL_Diagram_RelationshipView.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_RelationshipView.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_RelationshipView.js → V1_DSL_Diagram_RelationshipView.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSL_Diagram_RelationshipView.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Line.d.ts → V1_DSL_Diagram_Line.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Line.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Line.js → V1_DSL_Diagram_Line.js} +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Line.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Point.d.ts → V1_DSL_Diagram_Point.d.ts} +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Point.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Point.js → V1_DSL_Diagram_Point.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Point.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_PositionedRectangle.d.ts → V1_DSL_Diagram_PositionedRectangle.d.ts} +3 -3
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_PositionedRectangle.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_PositionedRectangle.js → V1_DSL_Diagram_PositionedRectangle.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_PositionedRectangle.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Rectangle.d.ts → V1_DSL_Diagram_Rectangle.d.ts} +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Rectangle.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Rectangle.js → V1_DSL_Diagram_Rectangle.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSL_Diagram_Rectangle.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_GraphBuilderHelper.d.ts → V1_DSL_Diagram_GraphBuilderHelper.d.ts} +8 -8
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Diagram_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_GraphBuilderHelper.js → V1_DSL_Diagram_GraphBuilderHelper.js} +8 -8
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Diagram_GraphBuilderHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_TransformerHelper.d.ts → V1_DSL_Diagram_TransformerHelper.d.ts} +3 -3
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Diagram_TransformerHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_TransformerHelper.js → V1_DSL_Diagram_TransformerHelper.js} +8 -8
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Diagram_TransformerHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDiagram_ProtocolHelper.d.ts → V1_DSL_Diagram_ProtocolHelper.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Diagram_ProtocolHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDiagram_ProtocolHelper.js → V1_DSL_Diagram_ProtocolHelper.js} +8 -8
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Diagram_ProtocolHelper.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +17 -17
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -17
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/studio/{DiagramEditorState.d.ts → DSL_Diagram_DiagramEditorState.d.ts} +5 -5
- package/lib/stores/studio/DSL_Diagram_DiagramEditorState.d.ts.map +1 -0
- package/lib/stores/studio/{DiagramEditorState.js → DSL_Diagram_DiagramEditorState.js} +3 -3
- package/lib/stores/studio/DSL_Diagram_DiagramEditorState.js.map +1 -0
- package/lib/stores/studio/{DSLDiagram_GraphModifierHelper.d.ts → DSL_Diagram_GraphModifierHelper.d.ts} +11 -11
- package/lib/stores/studio/DSL_Diagram_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/studio/{DSLDiagram_GraphModifierHelper.js → DSL_Diagram_GraphModifierHelper.js} +3 -3
- package/lib/stores/studio/DSL_Diagram_GraphModifierHelper.js.map +1 -0
- package/lib/stores/studio/{DSLDiagram_LegendStudioApplicationNavigationContext.d.ts → DSL_Diagram_LegendStudioApplicationNavigationContext.d.ts} +1 -1
- package/lib/stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/stores/studio/{DSLDiagram_LegendStudioApplicationNavigationContext.js → DSL_Diagram_LegendStudioApplicationNavigationContext.js} +1 -1
- package/lib/stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.js.map +1 -0
- package/package.json +11 -11
- package/src/{DiagramRenderer.ts → DSL_Diagram_DiagramRenderer.ts} +12 -12
- package/src/{DSLDiagram_Extension.ts → DSL_Diagram_Extension.ts} +7 -7
- package/src/components/studio/{ClassDiagramPreview.tsx → DSL_Diagram_ClassDiagramPreview.tsx} +2 -2
- package/src/components/studio/{DSLDiagram_CodeSnippets.ts → DSL_Diagram_CodeSnippets.ts} +0 -0
- package/src/components/studio/{DiagramEditor.tsx → DSL_Diagram_DiagramEditor.tsx} +11 -8
- package/src/components/studio/{InheritanceDiagramRenderer.ts → DSL_Diagram_InheritanceDiagramRenderer.ts} +3 -3
- package/src/components/studio/{DSLDiagram_LegendStudioApplicationPlugin.tsx → DSL_Diagram_LegendStudioApplicationPlugin.tsx} +9 -9
- package/src/components/studio/{DSLDiagram_LegendStudioDocumentation.ts → DSL_Diagram_LegendStudioDocumentation.ts} +0 -0
- package/src/components/studio/{DSLDiagram_TestID.ts → DSL_Diagram_TestID.ts} +0 -0
- package/src/graph/{DSLDiagram_HashUtils.ts → DSL_Diagram_HashUtils.ts} +0 -0
- package/src/graph/{DSLDiagram_PureGraphPlugin.ts → DSL_Diagram_PureGraphPlugin.ts} +3 -3
- package/src/graph/helpers/{DSLDiagram_Helper.ts → DSL_Diagram_Helper.ts} +6 -6
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_AssociationView.ts → DSL_Diagram_AssociationView.ts} +4 -4
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassView.ts → DSL_Diagram_ClassView.ts} +5 -5
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_ClassViewReference.ts → DSL_Diagram_ClassViewReference.ts} +2 -2
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_Diagram.ts → DSL_Diagram_Diagram.ts} +5 -5
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_GeneralizationView.ts → DSL_Diagram_GeneralizationView.ts} +2 -2
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyHolderView.ts → DSL_Diagram_PropertyHolderView.ts} +4 -4
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_PropertyView.ts → DSL_Diagram_PropertyView.ts} +2 -2
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipView.ts → DSL_Diagram_RelationshipView.ts} +6 -6
- package/src/graph/metamodel/pure/packageableElements/diagram/{DSLDiagram_RelationshipViewEnd.ts → DSL_Diagram_RelationshipViewEnd.ts} +1 -1
- package/src/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Point.ts → DSL_Diagram_Point.ts} +1 -1
- package/src/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_PositionedRectangle.ts → DSL_Diagram_PositionedRectangle.ts} +3 -3
- package/src/graph/metamodel/pure/packageableElements/diagram/geometry/{DSLDiagram_Rectangle.ts → DSL_Diagram_Rectangle.ts} +1 -1
- package/src/graphManager/{DSLDiagram_GraphManagerHelper.ts → DSL_Diagram_GraphManagerHelper.ts} +1 -1
- package/src/graphManager/{DSLDiagram_PureGraphManagerPlugin.ts → DSL_Diagram_PureGraphManagerPlugin.ts} +3 -3
- package/src/graphManager/action/changeDetection/{DSLDiagram_ObserverHelper.ts → DSL_Diagram_ObserverHelper.ts} +9 -9
- package/src/graphManager/protocol/pure/{DSLDiagram_PureProtocolProcessorPlugin.ts → DSL_Diagram_PureProtocolProcessorPlugin.ts} +8 -8
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_ClassView.ts → V1_DSL_Diagram_ClassView.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_Diagram.ts → V1_DSL_Diagram_Diagram.ts} +4 -4
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_GeneralizationView.ts → V1_DSL_Diagram_GeneralizationView.ts} +3 -3
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyHolderView.ts → V1_DSL_Diagram_PropertyHolderView.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_PropertyView.ts → V1_DSL_Diagram_PropertyView.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/{V1_DSLDiagram_RelationshipView.ts → V1_DSL_Diagram_RelationshipView.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Line.ts → V1_DSL_Diagram_Line.ts} +1 -1
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Point.ts → V1_DSL_Diagram_Point.ts} +1 -1
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_PositionedRectangle.ts → V1_DSL_Diagram_PositionedRectangle.ts} +3 -3
- package/src/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/{V1_DSLDiagram_Rectangle.ts → V1_DSL_Diagram_Rectangle.ts} +1 -1
- package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_GraphBuilderHelper.ts → V1_DSL_Diagram_GraphBuilderHelper.ts} +13 -13
- package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDiagram_TransformerHelper.ts → V1_DSL_Diagram_TransformerHelper.ts} +12 -12
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDiagram_ProtocolHelper.ts → V1_DSL_Diagram_ProtocolHelper.ts} +7 -7
- package/src/index.ts +17 -17
- package/src/stores/studio/{DiagramEditorState.ts → DSL_Diagram_DiagramEditorState.ts} +5 -5
- package/src/stores/studio/{DSLDiagram_GraphModifierHelper.ts → DSL_Diagram_GraphModifierHelper.ts} +12 -12
- package/src/stores/studio/{DSLDiagram_LegendStudioApplicationNavigationContext.ts → DSL_Diagram_LegendStudioApplicationNavigationContext.ts} +0 -0
- package/tsconfig.json +44 -44
- package/lib/DSLDiagram_Extension.d.ts.map +0 -1
- package/lib/DSLDiagram_Extension.js.map +0 -1
- package/lib/DiagramRenderer.d.ts.map +0 -1
- package/lib/DiagramRenderer.js.map +0 -1
- package/lib/components/studio/ClassDiagramPreview.d.ts.map +0 -1
- package/lib/components/studio/ClassDiagramPreview.js.map +0 -1
- package/lib/components/studio/DSLDiagram_CodeSnippets.d.ts.map +0 -1
- package/lib/components/studio/DSLDiagram_CodeSnippets.js.map +0 -1
- package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/studio/DSLDiagram_TestID.d.ts.map +0 -1
- package/lib/components/studio/DSLDiagram_TestID.js.map +0 -1
- package/lib/components/studio/DiagramEditor.d.ts.map +0 -1
- package/lib/components/studio/DiagramEditor.js.map +0 -1
- package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +0 -1
- package/lib/components/studio/InheritanceDiagramRenderer.js.map +0 -1
- package/lib/graph/DSLDiagram_HashUtils.d.ts.map +0 -1
- package/lib/graph/DSLDiagram_HashUtils.js.map +0 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.d.ts.map +0 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +0 -1
- package/lib/graph/helpers/DSLDiagram_Helper.d.ts.map +0 -1
- package/lib/graph/helpers/DSLDiagram_Helper.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +0 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +0 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +0 -1
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +0 -1
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +0 -1
- package/lib/stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.d.ts.map +0 -1
- package/lib/stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js.map +0 -1
- package/lib/stores/studio/DiagramEditorState.d.ts.map +0 -1
- package/lib/stores/studio/DiagramEditorState.js.map +0 -1
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
import { computed, action, makeObservable, observable } from 'mobx';
|
17
17
|
import { guaranteeNonNullable, guaranteeType, isType, uuid, } from '@finos/legend-shared';
|
18
|
-
import { DIAGRAM_INTERACTION_MODE, } from '../../
|
18
|
+
import { DIAGRAM_INTERACTION_MODE, } from '../../DSL_Diagram_DiagramRenderer.js';
|
19
19
|
import { HotkeyConfiguration, PanelDisplayState } from '@finos/legend-art';
|
20
20
|
import { GenericTypeExplicitReference, PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, Property, GenericType, PropertyExplicitReference, isElementReadOnly, } from '@finos/legend-graph';
|
21
21
|
import { ClassEditorState, ElementEditorState, class_addProperty, } from '@finos/legend-application-studio';
|
22
|
-
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/
|
22
|
+
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
23
23
|
var DIAGRAM_EDITOR_HOTKEY;
|
24
24
|
(function (DIAGRAM_EDITOR_HOTKEY) {
|
25
25
|
DIAGRAM_EDITOR_HOTKEY["RECENTER"] = "RECENTER";
|
@@ -341,4 +341,4 @@ export class DiagramEditorState extends ElementEditorState {
|
|
341
341
|
return diagramEditorState;
|
342
342
|
}
|
343
343
|
}
|
344
|
-
//# sourceMappingURL=
|
344
|
+
//# sourceMappingURL=DSL_Diagram_DiagramEditorState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_Diagram_DiagramEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Diagram_DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,QAAQ,EACR,WAAW,EACX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,IAAI,kBAAkB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QAC3E,OAAO,kBAAkB,CAAC;IAC5B,CAAC;CACF"}
|
@@ -13,16 +13,16 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import type { AssociationView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
17
|
-
import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
18
|
-
import type { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/
|
19
|
-
import type { GeneralizationView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
20
|
-
import type { PropertyView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
21
|
-
import type { RelationshipViewEnd } from '../../graph/metamodel/pure/packageableElements/diagram/
|
22
|
-
import type { RelationshipView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
23
|
-
import type { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/
|
24
|
-
import type { PositionedRectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/
|
25
|
-
import type { Rectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/
|
16
|
+
import type { AssociationView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_AssociationView.js';
|
17
|
+
import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js';
|
18
|
+
import type { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
19
|
+
import type { GeneralizationView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_GeneralizationView.js';
|
20
|
+
import type { PropertyView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyView.js';
|
21
|
+
import type { RelationshipViewEnd } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipViewEnd.js';
|
22
|
+
import type { RelationshipView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipView.js';
|
23
|
+
import type { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.js';
|
24
|
+
import type { PositionedRectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_PositionedRectangle.js';
|
25
|
+
import type { Rectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Rectangle.js';
|
26
26
|
export declare const diagram_setClassViews: (diagram: Diagram, val: ClassView[]) => void;
|
27
27
|
export declare const diagram_addClassView: (diagram: Diagram, val: ClassView) => void;
|
28
28
|
export declare const diagram_deleteClassView: (diagram: Diagram, val: ClassView) => void;
|
@@ -54,4 +54,4 @@ export declare const positionedRectangle_setPosition: (pR: PositionedRectangle,
|
|
54
54
|
* for the whole diagram instead?
|
55
55
|
*/
|
56
56
|
export declare const positionedRectangle_forceRefreshHash: (pR: PositionedRectangle) => void;
|
57
|
-
//# sourceMappingURL=
|
57
|
+
//# sourceMappingURL=DSL_Diagram_GraphModifierHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_Diagram_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Diagram_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uFAAuF,CAAC;AAC7H,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iFAAiF,CAAC;AACjH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+EAA+E,CAAC;AAC7G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0FAA0F,CAAC;AAMnI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oFAAoF,CAAC;AACvH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2FAA2F,CAAC;AACrI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wFAAwF,CAAC;AAC/H,OAAO,KAAK,EA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AAO,MAAM,+BAA+B,MACtC,mBAAmB,OAAO,MAAM,KAAG,IAGxC,CAAC;AAGF,eAAO,MAAM,4BAA4B,MACnC,gBAAgB,OAAO,KAAK,UAAU,KAAK,KAAG,IAGnD,CAAC;AAEF,eAAO,MAAM,6BAA6B,8CAEzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,qHAA4B,CAAC;AAC1D,eAAO,MAAM,wBAAwB,4DAAoC,CAAC;AAG1E,eAAO,MAAM,gCAAgC,OACtC,mBAAmB,SAAS,SAAS,KAAG,IAG9C,CAAC;AAGF,eAAO,MAAM,+BAA+B,OACrC,mBAAmB,SAAS,KAAK,KAAG,IAG1C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oCAAoC,OAC1C,mBAAmB,KAAG,IAG5B,CAAC"}
|
package/lib/stores/studio/{DSLDiagram_GraphModifierHelper.js → DSL_Diagram_GraphModifierHelper.js}
RENAMED
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
import { addUniqueEntry, changeEntry, deleteEntry } from '@finos/legend-shared';
|
17
17
|
import { action } from 'mobx';
|
18
|
-
import { _findOrBuildPoint, _relationshipView_simplifyPath, _relationshipView_setPath, } from '../../graph/helpers/
|
19
|
-
import { observe_AssociationView, observe_ClassView, observe_GeneralizationView, observe_PropertyView, } from '../../graphManager/action/changeDetection/
|
18
|
+
import { _findOrBuildPoint, _relationshipView_simplifyPath, _relationshipView_setPath, } from '../../graph/helpers/DSL_Diagram_Helper.js';
|
19
|
+
import { observe_AssociationView, observe_ClassView, observe_GeneralizationView, observe_PropertyView, } from '../../graphManager/action/changeDetection/DSL_Diagram_ObserverHelper.js';
|
20
20
|
export const diagram_setClassViews = action((diagram, val) => {
|
21
21
|
diagram.classViews = val.map(observe_ClassView);
|
22
22
|
});
|
@@ -91,4 +91,4 @@ export const positionedRectangle_setPosition = action((pR, value) => {
|
|
91
91
|
export const positionedRectangle_forceRefreshHash = action((pR) => {
|
92
92
|
pR._dummyObservable = {};
|
93
93
|
});
|
94
|
-
//# sourceMappingURL=
|
94
|
+
//# sourceMappingURL=DSL_Diagram_GraphModifierHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_Diagram_GraphModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Diagram_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAK9B,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,2CAA2C,CAAC;AAOnD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,yEAAyE,CAAC;AAEjF,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CACzC,CAAC,OAAgB,EAAE,GAAgB,EAAQ,EAAE;IAC3C,OAAO,CAAC,UAAU,GAAG,GAAG,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAClD,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CACxC,CAAC,OAAgB,EAAE,GAAc,EAAQ,EAAE;IACzC,cAAc,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7D,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAC3C,CAAC,OAAgB,EAAE,GAAc,EAAQ,EAAE;IACzC,WAAW,CAAC,OAAO,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AACvC,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAC/C,CAAC,OAAgB,EAAE,GAAsB,EAAQ,EAAE;IACjD,OAAO,CAAC,gBAAgB,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G,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAC;AAE1E,wEAAwE;AACxE,MAAM,CAAC,MAAM,gCAAgC,GAAG,MAAM,CACpD,CAAC,EAAuB,EAAE,KAAgB,EAAQ,EAAE;IAClD,EAAE,CAAC,SAAS,GAAG,KAAK,CAAC;AACvB,CAAC,CACF,CAAC;AAEF,2EAA2E;AAC3E,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CACnD,CAAC,EAAuB,EAAE,KAAY,EAAQ,EAAE;IAC9C,EAAE,CAAC,QAAQ,GAAG,KAAK,CAAC;AACtB,CAAC,CACF,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CACxD,CAAC,EAAuB,EAAQ,EAAE;IAChC,EAAE,CAAC,gBAAgB,GAAG,EAAE,CAAC;AAC3B,CAAC,CACF,CAAC"}
|
@@ -16,4 +16,4 @@
|
|
16
16
|
export declare enum DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY {
|
17
17
|
DIAGRAM_EDITOR = "dsl-diagram.studio.editor.diagram-editor"
|
18
18
|
}
|
19
|
-
//# sourceMappingURL=
|
19
|
+
//# sourceMappingURL=DSL_Diagram_LegendStudioApplicationNavigationContext.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_Diagram_LegendStudioApplicationNavigationContext.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4DAA4D;IACtE,cAAc,6CAA6C;CAC5D"}
|
@@ -17,4 +17,4 @@ export var DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY;
|
|
17
17
|
(function (DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY) {
|
18
18
|
DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY["DIAGRAM_EDITOR"] = "dsl-diagram.studio.editor.diagram-editor";
|
19
19
|
})(DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY || (DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = {}));
|
20
|
-
//# sourceMappingURL=
|
20
|
+
//# sourceMappingURL=DSL_Diagram_LegendStudioApplicationNavigationContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_Diagram_LegendStudioApplicationNavigationContext.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4DAEX;AAFD,WAAY,4DAA4D;IACtE,2HAA2D,CAAA;AAC7D,CAAC,EAFW,4DAA4D,GAA5D,4DAA4D,KAA5D,4DAA4D,QAEvE"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-diagram",
|
3
|
-
"version": "
|
3
|
+
"version": "7.0.1",
|
4
4
|
"description": "Legend extension for Diagram DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,12 +43,12 @@
|
|
43
43
|
"test:watch": "jest --watch"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@finos/legend-application": "8.0.
|
47
|
-
"@finos/legend-application-studio": "
|
48
|
-
"@finos/legend-art": "3.
|
49
|
-
"@finos/legend-graph": "
|
50
|
-
"@finos/legend-shared": "6.1.
|
51
|
-
"@finos/legend-storage": "3.0.
|
46
|
+
"@finos/legend-application": "8.0.2",
|
47
|
+
"@finos/legend-application-studio": "18.0.1",
|
48
|
+
"@finos/legend-art": "3.3.0",
|
49
|
+
"@finos/legend-graph": "17.0.1",
|
50
|
+
"@finos/legend-shared": "6.1.3",
|
51
|
+
"@finos/legend-storage": "3.0.12",
|
52
52
|
"@types/react": "18.0.21",
|
53
53
|
"mobx": "6.6.2",
|
54
54
|
"mobx-react-lite": "3.4.0",
|
@@ -59,17 +59,17 @@
|
|
59
59
|
"serializr": "2.0.5"
|
60
60
|
},
|
61
61
|
"devDependencies": {
|
62
|
-
"@finos/legend-dev-utils": "2.0.
|
63
|
-
"@jest/globals": "29.
|
62
|
+
"@finos/legend-dev-utils": "2.0.19",
|
63
|
+
"@jest/globals": "29.1.2",
|
64
64
|
"@testing-library/react": "13.4.0",
|
65
65
|
"cross-env": "7.0.3",
|
66
66
|
"eslint": "8.24.0",
|
67
|
-
"jest": "29.
|
67
|
+
"jest": "29.1.2",
|
68
68
|
"jest-canvas-mock": "2.4.0",
|
69
69
|
"npm-run-all": "4.1.5",
|
70
70
|
"rimraf": "3.0.2",
|
71
71
|
"sass": "1.55.0",
|
72
|
-
"typescript": "4.8.
|
72
|
+
"typescript": "4.8.4"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
75
|
"react": "^18.0.0"
|
@@ -42,15 +42,15 @@ import {
|
|
42
42
|
getRawGenericType,
|
43
43
|
} from '@finos/legend-graph';
|
44
44
|
import { action, makeObservable, observable } from 'mobx';
|
45
|
-
import type { Diagram } from './graph/metamodel/pure/packageableElements/diagram/
|
46
|
-
import { Rectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/
|
47
|
-
import { Point } from './graph/metamodel/pure/packageableElements/diagram/geometry/
|
48
|
-
import { PositionedRectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/
|
49
|
-
import { ClassView } from './graph/metamodel/pure/packageableElements/diagram/
|
50
|
-
import type { PropertyHolderView } from './graph/metamodel/pure/packageableElements/diagram/
|
51
|
-
import { GeneralizationView } from './graph/metamodel/pure/packageableElements/diagram/
|
52
|
-
import { RelationshipView } from './graph/metamodel/pure/packageableElements/diagram/
|
53
|
-
import { PropertyView } from './graph/metamodel/pure/packageableElements/diagram/
|
45
|
+
import type { Diagram } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
46
|
+
import { Rectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Rectangle.js';
|
47
|
+
import { Point } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.js';
|
48
|
+
import { PositionedRectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_PositionedRectangle.js';
|
49
|
+
import { ClassView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js';
|
50
|
+
import type { PropertyHolderView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyHolderView.js';
|
51
|
+
import { GeneralizationView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_GeneralizationView.js';
|
52
|
+
import { RelationshipView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipView.js';
|
53
|
+
import { PropertyView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_PropertyView.js';
|
54
54
|
import {
|
55
55
|
boxContains,
|
56
56
|
buildBottomRightCornerBox,
|
@@ -58,8 +58,8 @@ import {
|
|
58
58
|
getElementPosition,
|
59
59
|
rotatePointX,
|
60
60
|
rotatePointY,
|
61
|
-
} from './graph/helpers/
|
62
|
-
import { AssociationView } from './graph/metamodel/pure/packageableElements/diagram/
|
61
|
+
} from './graph/helpers/DSL_Diagram_Helper.js';
|
62
|
+
import { AssociationView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_AssociationView.js';
|
63
63
|
import {
|
64
64
|
class_addProperty,
|
65
65
|
class_addSuperType,
|
@@ -88,7 +88,7 @@ import {
|
|
88
88
|
relationshipView_changePoint,
|
89
89
|
relationshipView_simplifyPath,
|
90
90
|
relationshipView_setPath,
|
91
|
-
} from './stores/studio/
|
91
|
+
} from './stores/studio/DSL_Diagram_GraphModifierHelper.js';
|
92
92
|
|
93
93
|
export enum DIAGRAM_INTERACTION_MODE {
|
94
94
|
LAYOUT,
|
@@ -16,16 +16,16 @@
|
|
16
16
|
|
17
17
|
import packageJson from '../package.json';
|
18
18
|
import { AbstractPreset } from '@finos/legend-shared';
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
import {
|
19
|
+
import { DSL_Diagram_PureGraphManagerPlugin } from './graphManager/DSL_Diagram_PureGraphManagerPlugin.js';
|
20
|
+
import { DSL_Diagram_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSL_Diagram_PureProtocolProcessorPlugin.js';
|
21
|
+
import { DSL_Diagram_PureGraphPlugin } from './graph/DSL_Diagram_PureGraphPlugin.js';
|
22
22
|
|
23
|
-
export class
|
23
|
+
export class DSL_Diagram_GraphManagerPreset extends AbstractPreset {
|
24
24
|
constructor() {
|
25
25
|
super(packageJson.extensions.graphManagerPreset, packageJson.version, [
|
26
|
-
new
|
27
|
-
new
|
28
|
-
new
|
26
|
+
new DSL_Diagram_PureGraphPlugin(),
|
27
|
+
new DSL_Diagram_PureGraphManagerPlugin(),
|
28
|
+
new DSL_Diagram_PureProtocolProcessorPlugin(),
|
29
29
|
]);
|
30
30
|
}
|
31
31
|
}
|
package/src/components/studio/{ClassDiagramPreview.tsx → DSL_Diagram_ClassDiagramPreview.tsx}
RENAMED
@@ -19,8 +19,8 @@ import { useResizeDetector } from 'react-resize-detector';
|
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
20
|
import { useApplicationStore } from '@finos/legend-application';
|
21
21
|
import { type Class, isElementReadOnly } from '@finos/legend-graph';
|
22
|
-
import { InheritanceDiagramRenderer } from './
|
23
|
-
import { DSL_DIAGRAM_TEST_ID } from './
|
22
|
+
import { InheritanceDiagramRenderer } from './DSL_Diagram_InheritanceDiagramRenderer.js';
|
23
|
+
import { DSL_DIAGRAM_TEST_ID } from './DSL_Diagram_TestID.js';
|
24
24
|
|
25
25
|
export const ClassDiagramPreview = observer((props: { _class: Class }) => {
|
26
26
|
const { _class } = props;
|
File without changes
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
DIAGRAM_INTERACTION_MODE,
|
25
25
|
DIAGRAM_RELATIONSHIP_EDIT_MODE,
|
26
26
|
DIAGRAM_ZOOM_LEVELS,
|
27
|
-
} from '../../
|
27
|
+
} from '../../DSL_Diagram_DiagramRenderer.js';
|
28
28
|
import {
|
29
29
|
type DiagramEditorInlineClassCreatorState,
|
30
30
|
type DiagramEditorInlineClassRenamerState,
|
@@ -32,7 +32,7 @@ import {
|
|
32
32
|
DIAGRAM_EDITOR_SIDE_PANEL_TAB,
|
33
33
|
DiagramEditorClassViewEditorSidePanelState,
|
34
34
|
DiagramEditorState,
|
35
|
-
} from '../../stores/studio/
|
35
|
+
} from '../../stores/studio/DSL_Diagram_DiagramEditorState.js';
|
36
36
|
import {
|
37
37
|
type ResizablePanelHandlerProps,
|
38
38
|
ContextMenu,
|
@@ -75,10 +75,10 @@ import {
|
|
75
75
|
} from '@finos/legend-art';
|
76
76
|
import {
|
77
77
|
type Type,
|
78
|
+
type Multiplicity,
|
78
79
|
Class,
|
79
80
|
DerivedProperty,
|
80
81
|
Property,
|
81
|
-
Multiplicity,
|
82
82
|
ELEMENT_PATH_DELIMITER,
|
83
83
|
MULTIPLICITY_INFINITE,
|
84
84
|
GenericType,
|
@@ -105,14 +105,14 @@ import {
|
|
105
105
|
property_setMultiplicity,
|
106
106
|
queryClass,
|
107
107
|
} from '@finos/legend-application-studio';
|
108
|
-
import { cleanUpDeadReferencesInDiagram } from '../../graph/helpers/
|
109
|
-
import { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/
|
108
|
+
import { cleanUpDeadReferencesInDiagram } from '../../graph/helpers/DSL_Diagram_Helper.js';
|
109
|
+
import { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.js';
|
110
110
|
import {
|
111
111
|
classView_setHideProperties,
|
112
112
|
classView_setHideStereotypes,
|
113
113
|
classView_setHideTaggedValues,
|
114
|
-
} from '../../stores/studio/
|
115
|
-
import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/
|
114
|
+
} from '../../stores/studio/DSL_Diagram_GraphModifierHelper.js';
|
115
|
+
import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.js';
|
116
116
|
|
117
117
|
const DiagramEditorContextMenu = observer(
|
118
118
|
forwardRef<
|
@@ -960,6 +960,7 @@ const DiagramEditorInlinePropertyMultiplicityEditor = observer(
|
|
960
960
|
const [upperBound, setUpperBound] = useState<string | number>(
|
961
961
|
value.upperBound ?? MULTIPLICITY_INFINITE,
|
962
962
|
);
|
963
|
+
const editorStore = useEditorStore();
|
963
964
|
const updateMultiplicity = (
|
964
965
|
lower: number | string,
|
965
966
|
upper: number | string,
|
@@ -972,7 +973,9 @@ const DiagramEditorInlinePropertyMultiplicityEditor = observer(
|
|
972
973
|
? upper
|
973
974
|
: parseInt(upper, 10);
|
974
975
|
if (!isNaN(lBound) && (uBound === undefined || !isNaN(uBound))) {
|
975
|
-
updateValue(
|
976
|
+
updateValue(
|
977
|
+
editorStore.graphManagerState.graph.getMultiplicity(lBound, uBound),
|
978
|
+
);
|
976
979
|
}
|
977
980
|
};
|
978
981
|
const changeLowerBound: React.ChangeEventHandler<HTMLInputElement> = (
|
@@ -14,14 +14,14 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { DiagramRenderer } from '../../
|
17
|
+
import { DiagramRenderer } from '../../DSL_Diagram_DiagramRenderer.js';
|
18
18
|
import { uuid } from '@finos/legend-shared';
|
19
19
|
import {
|
20
20
|
type Class,
|
21
21
|
PackageableElementExplicitReference,
|
22
22
|
} from '@finos/legend-graph';
|
23
|
-
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/
|
24
|
-
import { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/
|
23
|
+
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
24
|
+
import { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js';
|
25
25
|
|
26
26
|
export class InheritanceDiagramRenderer extends DiagramRenderer {
|
27
27
|
constructor(div: HTMLDivElement, _class: Class) {
|
@@ -38,28 +38,28 @@ import {
|
|
38
38
|
} from '@finos/legend-application-studio';
|
39
39
|
import { ShapesIcon } from '@finos/legend-art';
|
40
40
|
import type { Class, PackageableElement } from '@finos/legend-graph';
|
41
|
-
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/
|
42
|
-
import { DiagramEditorState } from '../../stores/studio/
|
43
|
-
import { DiagramEditor } from './
|
44
|
-
import { ClassDiagramPreview } from './
|
41
|
+
import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
42
|
+
import { DiagramEditorState } from '../../stores/studio/DSL_Diagram_DiagramEditorState.js';
|
43
|
+
import { DiagramEditor } from './DSL_Diagram_DiagramEditor.js';
|
44
|
+
import { ClassDiagramPreview } from './DSL_Diagram_ClassDiagramPreview.js';
|
45
45
|
import {
|
46
46
|
PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL,
|
47
47
|
PURE_GRAMMAR_DIAGRAM_PARSER_NAME,
|
48
|
-
} from '../../graphManager/
|
49
|
-
import { DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY } from './
|
48
|
+
} from '../../graphManager/DSL_Diagram_PureGraphManagerPlugin.js';
|
49
|
+
import { DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_Diagram_LegendStudioDocumentation.js';
|
50
50
|
import {
|
51
51
|
EMPTY_DIAGRAM_SNIPPET,
|
52
52
|
getDiagramSnippetWithGeneralizationView,
|
53
53
|
getDiagramSnippetWithOneClassView,
|
54
54
|
getDiagramSnippetWithPropertyView,
|
55
|
-
} from './
|
55
|
+
} from './DSL_Diagram_CodeSnippets.js';
|
56
56
|
import type { DocumentationEntry } from '@finos/legend-application';
|
57
|
-
import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/
|
57
|
+
import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.js';
|
58
58
|
|
59
59
|
const DIAGRAM_ELEMENT_TYPE = 'DIAGRAM';
|
60
60
|
const DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DIAGRAM';
|
61
61
|
|
62
|
-
export class
|
62
|
+
export class DSL_Diagram_LegendStudioApplicationPlugin
|
63
63
|
extends LegendStudioApplicationPlugin
|
64
64
|
implements DSL_LegendStudioApplicationPlugin_Extension
|
65
65
|
{
|
File without changes
|
File without changes
|
File without changes
|
@@ -22,10 +22,10 @@ import {
|
|
22
22
|
type PackageableElement,
|
23
23
|
type PureModel,
|
24
24
|
} from '@finos/legend-graph';
|
25
|
-
import { Diagram } from '../graph/metamodel/pure/packageableElements/diagram/
|
26
|
-
import { cleanUpDeadReferencesInDiagram } from '../graph/helpers/
|
25
|
+
import { Diagram } from '../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
26
|
+
import { cleanUpDeadReferencesInDiagram } from '../graph/helpers/DSL_Diagram_Helper.js';
|
27
27
|
|
28
|
-
export class
|
28
|
+
export class DSL_Diagram_PureGraphPlugin extends PureGraphPlugin {
|
29
29
|
constructor() {
|
30
30
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
31
31
|
}
|
@@ -14,18 +14,18 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { RelationshipView } from '../metamodel/pure/packageableElements/diagram/
|
18
|
-
import { Point } from '../metamodel/pure/packageableElements/diagram/geometry/
|
17
|
+
import { RelationshipView } from '../metamodel/pure/packageableElements/diagram/DSL_Diagram_RelationshipView.js';
|
18
|
+
import { Point } from '../metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Point.js';
|
19
19
|
import {
|
20
20
|
type PureModel,
|
21
21
|
Class,
|
22
22
|
getAllOwnClassProperties,
|
23
23
|
} from '@finos/legend-graph';
|
24
24
|
import { deleteEntry } from '@finos/legend-shared';
|
25
|
-
import type { ClassView } from '../metamodel/pure/packageableElements/diagram/
|
26
|
-
import type { Diagram } from '../metamodel/pure/packageableElements/diagram/
|
27
|
-
import { PositionedRectangle } from '../metamodel/pure/packageableElements/diagram/geometry/
|
28
|
-
import { Rectangle } from '../metamodel/pure/packageableElements/diagram/geometry/
|
25
|
+
import type { ClassView } from '../metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js';
|
26
|
+
import type { Diagram } from '../metamodel/pure/packageableElements/diagram/DSL_Diagram_Diagram.js';
|
27
|
+
import { PositionedRectangle } from '../metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_PositionedRectangle.js';
|
28
|
+
import { Rectangle } from '../metamodel/pure/packageableElements/diagram/geometry/DSL_Diagram_Rectangle.js';
|
29
29
|
|
30
30
|
export class Vector {
|
31
31
|
readonly x: number;
|
@@ -15,10 +15,10 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { PropertyHolderView } from './
|
19
|
-
import type { ClassView } from './
|
20
|
-
import type { Diagram } from './
|
21
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
18
|
+
import { PropertyHolderView } from './DSL_Diagram_PropertyHolderView.js';
|
19
|
+
import type { ClassView } from './DSL_Diagram_ClassView.js';
|
20
|
+
import type { Diagram } from './DSL_Diagram_Diagram.js';
|
21
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
22
22
|
import type {
|
23
23
|
Association,
|
24
24
|
PackageableElementReference,
|
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { PositionedRectangle } from './geometry/
|
19
|
-
import { Rectangle } from './geometry/
|
20
|
-
import { Point } from './geometry/
|
21
|
-
import type { Diagram } from './
|
22
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
18
|
+
import { PositionedRectangle } from './geometry/DSL_Diagram_PositionedRectangle.js';
|
19
|
+
import { Rectangle } from './geometry/DSL_Diagram_Rectangle.js';
|
20
|
+
import { Point } from './geometry/DSL_Diagram_Point.js';
|
21
|
+
import type { Diagram } from './DSL_Diagram_Diagram.js';
|
22
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
23
23
|
import type { Class, PackageableElementReference } from '@finos/legend-graph';
|
24
24
|
|
25
25
|
export class ClassView extends PositionedRectangle implements Hashable {
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import type { Diagram } from './
|
18
|
-
import type { ClassView } from './
|
17
|
+
import type { Diagram } from './DSL_Diagram_Diagram.js';
|
18
|
+
import type { ClassView } from './DSL_Diagram_ClassView.js';
|
19
19
|
import {
|
20
20
|
PackageableElementExplicitReference,
|
21
21
|
ReferenceWithOwner,
|
@@ -15,15 +15,15 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import type { ClassView } from './
|
19
|
-
import type { PropertyView } from './
|
20
|
-
import type { GeneralizationView } from './
|
21
|
-
import type { AssociationView } from './
|
18
|
+
import type { ClassView } from './DSL_Diagram_ClassView.js';
|
19
|
+
import type { PropertyView } from './DSL_Diagram_PropertyView.js';
|
20
|
+
import type { GeneralizationView } from './DSL_Diagram_GeneralizationView.js';
|
21
|
+
import type { AssociationView } from './DSL_Diagram_AssociationView.js';
|
22
22
|
import {
|
23
23
|
type PackageableElementVisitor,
|
24
24
|
PackageableElement,
|
25
25
|
} from '@finos/legend-graph';
|
26
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
26
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
27
27
|
|
28
28
|
export class Diagram extends PackageableElement implements Hashable {
|
29
29
|
classViews: ClassView[] = [];
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { RelationshipView } from './
|
19
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
18
|
+
import { RelationshipView } from './DSL_Diagram_RelationshipView.js';
|
19
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
20
20
|
|
21
21
|
export class GeneralizationView extends RelationshipView implements Hashable {
|
22
22
|
override get hashCode(): string {
|
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { RelationshipView } from './
|
19
|
-
import type { ClassView } from './
|
20
|
-
import type { Diagram } from './
|
18
|
+
import { RelationshipView } from './DSL_Diagram_RelationshipView.js';
|
19
|
+
import type { ClassView } from './DSL_Diagram_ClassView.js';
|
20
|
+
import type { Diagram } from './DSL_Diagram_Diagram.js';
|
21
21
|
import type { PropertyReference } from '@finos/legend-graph';
|
22
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
22
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
23
23
|
|
24
24
|
export class PropertyHolderView extends RelationshipView implements Hashable {
|
25
25
|
property: PropertyReference;
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { PropertyHolderView } from './
|
19
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
18
|
+
import { PropertyHolderView } from './DSL_Diagram_PropertyHolderView.js';
|
19
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
20
20
|
|
21
21
|
export class PropertyView extends PropertyHolderView implements Hashable {
|
22
22
|
override get hashCode(): string {
|
@@ -15,12 +15,12 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { RelationshipViewEnd } from './
|
19
|
-
import { Point } from './geometry/
|
20
|
-
import type { ClassView } from './
|
21
|
-
import type { Diagram } from './
|
22
|
-
import { ClassViewExplicitReference } from './
|
23
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../
|
18
|
+
import { RelationshipViewEnd } from './DSL_Diagram_RelationshipViewEnd.js';
|
19
|
+
import { Point } from './geometry/DSL_Diagram_Point.js';
|
20
|
+
import type { ClassView } from './DSL_Diagram_ClassView.js';
|
21
|
+
import type { Diagram } from './DSL_Diagram_Diagram.js';
|
22
|
+
import { ClassViewExplicitReference } from './DSL_Diagram_ClassViewReference.js';
|
23
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSL_Diagram_HashUtils.js';
|
24
24
|
|
25
25
|
export class RelationshipView implements Hashable {
|
26
26
|
readonly _OWNER: Diagram;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSL_Diagram_HashUtils.js';
|
19
19
|
|
20
20
|
export class Point implements Hashable {
|
21
21
|
readonly x: number;
|