@finos/legend-extension-dsl-diagram 1.0.18 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/DiagramRenderer.d.ts +8 -8
- package/lib/DiagramRenderer.d.ts.map +1 -1
- package/lib/DiagramRenderer.js +9 -10
- package/lib/DiagramRenderer.js.map +1 -1
- package/lib/components/studio/ClassDiagramPreview.d.ts +0 -1
- package/lib/components/studio/ClassDiagramPreview.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
- package/lib/components/studio/DiagramEditor.d.ts +0 -1
- package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
- package/lib/components/studio/DiagramEditor.js +2 -2
- package/lib/components/studio/DiagramEditor.js.map +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.js +2 -2
- package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +1 -1
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
- package/lib/helpers/DiagramHelper.d.ts +3 -3
- package/lib/helpers/DiagramHelper.d.ts.map +1 -1
- package/lib/helpers/DiagramHelper.js +1 -1
- package/lib/helpers/DiagramHelper.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +10 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -10
- package/lib/index.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.d.ts → DSLDiagram_AssociationView.d.ts} +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.js → DSLDiagram_AssociationView.js} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.d.ts → DSLDiagram_ClassView.d.ts} +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.js → DSLDiagram_ClassView.js} +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.d.ts → DSLDiagram_ClassViewReference.d.ts} +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.js → DSLDiagram_ClassViewReference.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.d.ts → DSLDiagram_Diagram.d.ts} +5 -5
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.js → DSLDiagram_Diagram.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.d.ts → DSLDiagram_GeneralizationView.d.ts} +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.js → DSLDiagram_GeneralizationView.js} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.d.ts → DSLDiagram_PropertyHolderView.d.ts} +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.js → DSLDiagram_PropertyHolderView.js} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.d.ts → DSLDiagram_PropertyView.d.ts} +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.js → DSLDiagram_PropertyView.js} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.d.ts → DSLDiagram_RelationshipEdgeView.d.ts} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.js → DSLDiagram_RelationshipEdgeView.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.d.ts → DSLDiagram_RelationshipView.d.ts} +5 -5
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.js → DSLDiagram_RelationshipView.js} +5 -5
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.d.ts → DSLDiagram_Point.d.ts} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.js → DSLDiagram_Point.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.d.ts → DSLDiagram_PositionedRectangle.d.ts} +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.js → DSLDiagram_PositionedRectangle.js} +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.d.ts → DSLDiagram_Rectangle.d.ts} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.js → DSLDiagram_Rectangle.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.d.ts → DSLDiagram_Vector.d.ts} +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.js → DSLDiagram_Vector.js} +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +1 -0
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +2 -2
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.d.ts → V1_DSLDiagram_ClassView.d.ts} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.js → V1_DSLDiagram_ClassView.js} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.d.ts → V1_DSLDiagram_Diagram.d.ts} +4 -4
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.js → V1_DSLDiagram_Diagram.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.d.ts → V1_DSLDiagram_GeneralizationView.d.ts} +3 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.js → V1_DSLDiagram_GeneralizationView.js} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.d.ts → V1_DSLDiagram_PropertyHolderView.d.ts} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.js → V1_DSLDiagram_PropertyHolderView.js} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.d.ts → V1_DSLDiagram_PropertyView.d.ts} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.js → V1_DSLDiagram_PropertyView.js} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.d.ts → V1_DSLDiagram_RelationshipView.d.ts} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.js → V1_DSLDiagram_RelationshipView.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.d.ts → V1_DSLDiagram_Line.d.ts} +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.js → V1_DSLDiagram_Line.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.d.ts → V1_DSLDiagram_Point.d.ts} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.js → V1_DSLDiagram_Point.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.d.ts → V1_DSLDiagram_PositionedRectangle.d.ts} +3 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.js → V1_DSLDiagram_PositionedRectangle.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.d.ts → V1_DSLDiagram_Rectangle.d.ts} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.js → V1_DSLDiagram_Rectangle.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +5 -5
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
- package/lib/package.json +83 -0
- package/lib/stores/studio/DiagramEditorState.d.ts +3 -3
- package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
- package/lib/stores/studio/DiagramEditorState.js +1 -1
- package/lib/stores/studio/DiagramEditorState.js.map +1 -1
- package/package.json +16 -16
- package/src/DiagramRenderer.ts +11 -12
- package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +1 -1
- package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +1 -1
- package/src/components/studio/DiagramEditor.tsx +2 -2
- package/src/components/studio/InheritanceDiagramRenderer.ts +2 -2
- package/src/graph/DSLDiagram_PureGraphPlugin.ts +1 -1
- package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +1 -1
- package/src/helpers/DiagramHelper.ts +3 -3
- package/src/index.ts +10 -10
- package/src/models/metamodels/pure/packageableElements/diagram/{AssociationView.ts → DSLDiagram_AssociationView.ts} +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/{ClassView.ts → DSLDiagram_ClassView.ts} +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.ts → DSLDiagram_ClassViewReference.ts} +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/{Diagram.ts → DSLDiagram_Diagram.ts} +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.ts → DSLDiagram_GeneralizationView.ts} +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.ts → DSLDiagram_PropertyHolderView.ts} +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/{PropertyView.ts → DSLDiagram_PropertyView.ts} +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.ts → DSLDiagram_RelationshipEdgeView.ts} +1 -1
- package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipView.ts → DSLDiagram_RelationshipView.ts} +6 -6
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Point.ts → DSLDiagram_Point.ts} +0 -0
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.ts → DSLDiagram_PositionedRectangle.ts} +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.ts → DSLDiagram_Rectangle.ts} +0 -0
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.ts → DSLDiagram_Vector.ts} +1 -1
- package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.ts → V1_DSLDiagram_ClassView.ts} +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.ts → V1_DSLDiagram_Diagram.ts} +3 -3
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.ts → V1_DSLDiagram_GeneralizationView.ts} +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.ts → V1_DSLDiagram_PropertyHolderView.ts} +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.ts → V1_DSLDiagram_PropertyView.ts} +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.ts → V1_DSLDiagram_RelationshipView.ts} +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.ts → V1_DSLDiagram_Line.ts} +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.ts → V1_DSLDiagram_Point.ts} +0 -0
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.ts → V1_DSLDiagram_PositionedRectangle.ts} +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.ts → V1_DSLDiagram_Rectangle.ts} +0 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +11 -11
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +12 -12
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
- package/src/stores/studio/DiagramEditorState.ts +4 -4
- package/tsconfig.json +23 -23
- package/CHANGELOG.md +0 -87
- package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.js.map +0 -1
package/src/DiagramRenderer.ts
CHANGED
@@ -38,20 +38,20 @@ import {
|
|
38
38
|
Multiplicity,
|
39
39
|
} from '@finos/legend-graph';
|
40
40
|
import { action, makeObservable, observable } from 'mobx';
|
41
|
-
import type { Diagram } from './models/metamodels/pure/packageableElements/diagram/
|
42
|
-
import { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
43
|
-
import { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
44
|
-
import { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
45
|
-
import { ClassView } from './models/metamodels/pure/packageableElements/diagram/
|
46
|
-
import type { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/
|
47
|
-
import { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/
|
41
|
+
import type { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
42
|
+
import { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
|
43
|
+
import { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
44
|
+
import { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
|
45
|
+
import { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
46
|
+
import type { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
|
47
|
+
import { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
48
48
|
import {
|
49
49
|
type RelationshipView,
|
50
50
|
manageInsidePointsDynamically,
|
51
|
-
} from './models/metamodels/pure/packageableElements/diagram/
|
52
|
-
import { PropertyView } from './models/metamodels/pure/packageableElements/diagram/
|
51
|
+
} from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
|
52
|
+
import { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
53
53
|
import { getElementPosition } from './helpers/DiagramHelper';
|
54
|
-
import { AssociationView } from './models/metamodels/pure/packageableElements/diagram/
|
54
|
+
import { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
|
55
55
|
|
56
56
|
export enum DIAGRAM_INTERACTION_MODE {
|
57
57
|
LAYOUT,
|
@@ -2543,7 +2543,6 @@ export class DiagramRenderer {
|
|
2543
2543
|
if (this.onBackgroundDoubleClick) {
|
2544
2544
|
this.onBackgroundDoubleClick(eventPointInModelCoordinate);
|
2545
2545
|
}
|
2546
|
-
return;
|
2547
2546
|
}
|
2548
2547
|
|
2549
2548
|
mousedown(e: MouseEvent): void {
|
@@ -3249,7 +3248,7 @@ export class DiagramRenderer {
|
|
3249
3248
|
});
|
3250
3249
|
|
3251
3250
|
const generalizationViews = (
|
3252
|
-
superType ? classViewLevels : classViewLevels.reverse()
|
3251
|
+
superType ? classViewLevels : classViewLevels.slice().reverse()
|
3253
3252
|
)
|
3254
3253
|
.slice(0, classViewLevels.length - 1)
|
3255
3254
|
.flatMap((level, idx) =>
|
@@ -33,7 +33,7 @@ import {
|
|
33
33
|
} from '@finos/legend-studio';
|
34
34
|
import { ShapesIcon } from '@finos/legend-art';
|
35
35
|
import type { Class, PackageableElement } from '@finos/legend-graph';
|
36
|
-
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/
|
36
|
+
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
37
37
|
import { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
|
38
38
|
import { DiagramEditor } from './DiagramEditor';
|
39
39
|
import { ClassDiagramPreview } from './ClassDiagramPreview';
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import type { DSL_LegendStudioPlugin_Extension } from '@finos/legend-studio';
|
18
|
-
import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/
|
18
|
+
import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
19
19
|
import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
|
20
20
|
|
21
21
|
export type ClassViewContextMenuItemRendererConfiguration = {
|
@@ -102,7 +102,7 @@ import {
|
|
102
102
|
useEditorStore,
|
103
103
|
} from '@finos/legend-studio';
|
104
104
|
import { cleanUpDeadReferencesInDiagram } from '../../helpers/DiagramHelper';
|
105
|
-
import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/
|
105
|
+
import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
106
106
|
import type { DSLDiagram_LegendStudioPlugin_Extension } from './DSLDiagram_LegendStudioPlugin_Extension';
|
107
107
|
|
108
108
|
const DiagramEditorContextMenu = observer(
|
@@ -195,7 +195,7 @@ const DiagramRendererHotkeyInfosModal = observer(
|
|
195
195
|
Remove selected element(s)
|
196
196
|
</div>
|
197
197
|
<div className="hotkey__combination diagram-editor__hotkey__keys">
|
198
|
-
<div className="hotkey__key">
|
198
|
+
<div className="hotkey__key">Remove</div>
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div className="diagram-editor__hotkey__group">
|
@@ -20,8 +20,8 @@ import {
|
|
20
20
|
type Class,
|
21
21
|
PackageableElementExplicitReference,
|
22
22
|
} from '@finos/legend-graph';
|
23
|
-
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/
|
24
|
-
import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/
|
23
|
+
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
24
|
+
import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
25
25
|
|
26
26
|
export class InheritanceDiagramRenderer extends DiagramRenderer {
|
27
27
|
constructor(div: HTMLDivElement, _class: Class) {
|
@@ -22,7 +22,7 @@ import {
|
|
22
22
|
type PackageableElement,
|
23
23
|
type PureModel,
|
24
24
|
} from '@finos/legend-graph';
|
25
|
-
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/
|
25
|
+
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
26
26
|
import { cleanUpDeadReferencesInDiagram } from '../helpers/DiagramHelper';
|
27
27
|
|
28
28
|
export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import type { PureModel } from '@finos/legend-graph';
|
18
|
-
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/
|
18
|
+
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
19
19
|
|
20
20
|
export const getDiagram = (path: string, graph: PureModel): Diagram =>
|
21
21
|
graph.getExtensionElement(path, Diagram, `Can't find diagram '${path}'`);
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
type PackageableElement,
|
21
21
|
type PureGrammarElementLabeler,
|
22
22
|
} from '@finos/legend-graph';
|
23
|
-
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/
|
23
|
+
import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
24
24
|
|
25
25
|
const PURE_GRAMMAR_DIAGRAM_PARSER_NAME = 'Diagram';
|
26
26
|
const PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL = 'Diagram';
|
@@ -15,9 +15,9 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import type { PureModel } from '@finos/legend-graph';
|
18
|
-
import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/
|
19
|
-
import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/
|
20
|
-
import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/
|
18
|
+
import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
19
|
+
import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
20
|
+
import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
21
21
|
|
22
22
|
/**
|
23
23
|
* Get absolute position of element on the screen by recursively walking up element tree
|
package/src/index.ts
CHANGED
@@ -22,19 +22,19 @@ export { DiagramEditorState } from './stores/studio/DiagramEditorState';
|
|
22
22
|
|
23
23
|
export { DiagramRenderer, DIAGRAM_INTERACTION_MODE } from './DiagramRenderer';
|
24
24
|
|
25
|
-
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/
|
26
|
-
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/
|
25
|
+
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
26
|
+
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
27
27
|
export {
|
28
28
|
RelationshipView,
|
29
29
|
manageInsidePointsDynamically,
|
30
|
-
} from './models/metamodels/pure/packageableElements/diagram/
|
31
|
-
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/
|
32
|
-
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/
|
33
|
-
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/
|
34
|
-
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/
|
35
|
-
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
36
|
-
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
37
|
-
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/
|
30
|
+
} from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
|
31
|
+
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
|
32
|
+
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
33
|
+
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
|
34
|
+
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
35
|
+
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
36
|
+
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
|
37
|
+
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
|
38
38
|
|
39
39
|
export * from './helpers/DiagramHelper';
|
40
40
|
export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin';
|
@@ -16,9 +16,9 @@
|
|
16
16
|
|
17
17
|
import { computed, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { PropertyHolderView } from './
|
20
|
-
import type { ClassView } from './
|
21
|
-
import type { Diagram } from './
|
19
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
20
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
21
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
22
22
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
23
23
|
import type {
|
24
24
|
Association,
|
@@ -16,10 +16,10 @@
|
|
16
16
|
|
17
17
|
import { computed, observable, action, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { PositionedRectangle } from './geometry/
|
20
|
-
import { Rectangle } from './geometry/
|
21
|
-
import { Point } from './geometry/
|
22
|
-
import type { Diagram } from './
|
19
|
+
import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle';
|
20
|
+
import { Rectangle } from './geometry/DSLDiagram_Rectangle';
|
21
|
+
import { Point } from './geometry/DSLDiagram_Point';
|
22
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
23
23
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
24
24
|
import type { Class, PackageableElementReference } from '@finos/legend-graph';
|
25
25
|
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { observable, action, makeObservable } from 'mobx';
|
18
|
-
import type { Diagram } from './
|
19
|
-
import type { ClassView } from './
|
18
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
19
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
20
20
|
import {
|
21
21
|
PackageableElementExplicitReference,
|
22
22
|
ReferenceWithOwner,
|
package/src/models/metamodels/pure/packageableElements/diagram/{Diagram.ts → DSLDiagram_Diagram.ts}
RENAMED
@@ -21,10 +21,10 @@ import {
|
|
21
21
|
deleteEntry,
|
22
22
|
type Hashable,
|
23
23
|
} from '@finos/legend-shared';
|
24
|
-
import type { ClassView } from './
|
25
|
-
import type { PropertyView } from './
|
26
|
-
import type { GeneralizationView } from './
|
27
|
-
import type { AssociationView } from './
|
24
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
25
|
+
import type { PropertyView } from './DSLDiagram_PropertyView';
|
26
|
+
import type { GeneralizationView } from './DSLDiagram_GeneralizationView';
|
27
|
+
import type { AssociationView } from './DSLDiagram_AssociationView';
|
28
28
|
import {
|
29
29
|
type PackageableElementVisitor,
|
30
30
|
PackageableElement,
|
@@ -16,9 +16,9 @@
|
|
16
16
|
|
17
17
|
import { computed, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { RelationshipView } from './
|
20
|
-
import type { Diagram } from './
|
21
|
-
import type { ClassView } from './
|
19
|
+
import { RelationshipView } from './DSLDiagram_RelationshipView';
|
20
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
21
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
22
22
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
23
23
|
|
24
24
|
export class GeneralizationView extends RelationshipView implements Hashable {
|
@@ -15,9 +15,9 @@
|
|
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 './DSLDiagram_RelationshipView';
|
19
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
20
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
21
21
|
import type { PropertyReference } from '@finos/legend-graph';
|
22
22
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
23
23
|
|
@@ -16,9 +16,9 @@
|
|
16
16
|
|
17
17
|
import { computed, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { PropertyHolderView } from './
|
20
|
-
import type { Diagram } from './
|
21
|
-
import type { ClassView } from './
|
19
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
20
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
21
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
22
22
|
import type { PropertyReference } from '@finos/legend-graph';
|
23
23
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
24
24
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { observable, action, makeObservable } from 'mobx';
|
18
|
-
import type { ClassViewReference } from './
|
18
|
+
import type { ClassViewReference } from './DSLDiagram_ClassViewReference';
|
19
19
|
|
20
20
|
export class RelationShipEdgeView {
|
21
21
|
classView: ClassViewReference;
|
@@ -16,12 +16,12 @@
|
|
16
16
|
|
17
17
|
import { observable, action, computed, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, changeEntry, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { RelationShipEdgeView as RelationshipEdgeView } from './
|
20
|
-
import { Point } from './geometry/
|
21
|
-
import type { ClassView } from './
|
22
|
-
import { Vector } from './geometry/
|
23
|
-
import type { Diagram } from './
|
24
|
-
import { ClassViewExplicitReference } from './
|
19
|
+
import { RelationShipEdgeView as RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
|
20
|
+
import { Point } from './geometry/DSLDiagram_Point';
|
21
|
+
import type { ClassView } from './DSLDiagram_ClassView';
|
22
|
+
import { Vector } from './geometry/DSLDiagram_Vector';
|
23
|
+
import type { Diagram } from './DSLDiagram_Diagram';
|
24
|
+
import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
|
25
25
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
26
26
|
|
27
27
|
/**
|
File without changes
|
@@ -16,8 +16,8 @@
|
|
16
16
|
|
17
17
|
import { observable, action, makeObservable } from 'mobx';
|
18
18
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
19
|
-
import { Point } from './
|
20
|
-
import { Rectangle } from './
|
19
|
+
import { Point } from './DSLDiagram_Point';
|
20
|
+
import { Rectangle } from './DSLDiagram_Rectangle';
|
21
21
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
|
22
22
|
|
23
23
|
export class PositionedRectangle implements Hashable {
|
File without changes
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import packageJson from '../../../../package.json';
|
18
|
-
import { V1_Diagram } from './v1/model/packageableElements/diagram/
|
18
|
+
import { V1_Diagram } from './v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram';
|
19
19
|
import { type PlainObject, assertType } from '@finos/legend-shared';
|
20
20
|
import { deserialize, serialize } from 'serializr';
|
21
21
|
import {
|
@@ -35,7 +35,7 @@ import {
|
|
35
35
|
V1_ElementBuilder,
|
36
36
|
} from '@finos/legend-graph';
|
37
37
|
import { V1_transformDiagram } from './v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper';
|
38
|
-
import { Diagram } from '../../metamodels/pure/packageableElements/diagram/
|
38
|
+
import { Diagram } from '../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
39
39
|
import { getDiagram } from '../../../graphManager/DSLDiagram_GraphManagerHelper';
|
40
40
|
import {
|
41
41
|
V1_buildClassView,
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { V1_PositionedRectangle } from './geometry/
|
18
|
+
import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle';
|
19
19
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
20
20
|
|
21
21
|
export class V1_ClassView extends V1_PositionedRectangle implements Hashable {
|
@@ -15,9 +15,9 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import type { V1_ClassView } from './
|
19
|
-
import type { V1_PropertyView } from './
|
20
|
-
import type { V1_GeneralizationView } from './
|
18
|
+
import type { V1_ClassView } from './V1_DSLDiagram_ClassView';
|
19
|
+
import type { V1_PropertyView } from './V1_DSLDiagram_PropertyView';
|
20
|
+
import type { V1_GeneralizationView } from './V1_DSLDiagram_GeneralizationView';
|
21
21
|
import {
|
22
22
|
type V1_PackageableElementVisitor,
|
23
23
|
V1_PackageableElement,
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { V1_RelationshipView } from './
|
19
|
-
import type { V1_Line } from './geometry/
|
18
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
19
|
+
import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
|
20
20
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
21
21
|
|
22
22
|
export class V1_GeneralizationView
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { V1_RelationshipView } from './
|
18
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
19
19
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
20
20
|
import type { V1_PropertyPointer } from '@finos/legend-graph';
|
21
21
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import { V1_PropertyHolderView } from './
|
18
|
+
import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView';
|
19
19
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
20
20
|
import type { V1_PropertyPointer } from '@finos/legend-graph';
|
21
21
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import type { V1_Line } from './geometry/
|
18
|
+
import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
|
19
19
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
20
20
|
|
21
21
|
export class V1_RelationshipView implements Hashable {
|
File without changes
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
|
-
import type { V1_Point } from './
|
19
|
-
import type { V1_Rectangle } from './
|
18
|
+
import type { V1_Point } from './V1_DSLDiagram_Point';
|
19
|
+
import type { V1_Rectangle } from './V1_DSLDiagram_Rectangle';
|
20
20
|
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils';
|
21
21
|
|
22
22
|
export class V1_PositionedRectangle implements Hashable {
|
File without changes
|
package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts
CHANGED
@@ -24,17 +24,17 @@ import {
|
|
24
24
|
assertNonNullable,
|
25
25
|
guaranteeNonNullable,
|
26
26
|
} from '@finos/legend-shared';
|
27
|
-
import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/
|
28
|
-
import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
29
|
-
import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/
|
30
|
-
import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/
|
31
|
-
import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
32
|
-
import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
33
|
-
import type { V1_ClassView } from '../../model/packageableElements/diagram/
|
34
|
-
import type { V1_Point } from '../../model/packageableElements/diagram/geometry/
|
35
|
-
import type { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/
|
36
|
-
import type { V1_PropertyView } from '../../model/packageableElements/diagram/
|
37
|
-
import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/
|
27
|
+
import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
28
|
+
import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
29
|
+
import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
30
|
+
import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
|
31
|
+
import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
32
|
+
import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
33
|
+
import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
|
34
|
+
import type { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
|
35
|
+
import type { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
|
36
|
+
import type { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
|
37
|
+
import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
|
38
38
|
import { getClassView } from '../../../../../../helpers/DiagramHelper';
|
39
39
|
|
40
40
|
const buildPoint = (point: V1_Point): Point => {
|
package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts
CHANGED
@@ -14,18 +14,18 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import type { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
18
|
-
import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/
|
19
|
-
import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
20
|
-
import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
21
|
-
import type { RelationShipEdgeView } from '../../../../../metamodels/pure/packageableElements/diagram/
|
22
|
-
import { V1_Point } from '../../model/packageableElements/diagram/geometry/
|
23
|
-
import { V1_ClassView } from '../../model/packageableElements/diagram/
|
24
|
-
import { V1_Diagram } from '../../model/packageableElements/diagram/
|
25
|
-
import { V1_GeneralizationView } from '../../model/packageableElements/diagram/
|
26
|
-
import { V1_Line } from '../../model/packageableElements/diagram/geometry/
|
27
|
-
import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/
|
28
|
-
import { V1_PropertyView } from '../../model/packageableElements/diagram/
|
17
|
+
import type { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
18
|
+
import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
19
|
+
import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
20
|
+
import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
21
|
+
import type { RelationShipEdgeView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView';
|
22
|
+
import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
|
23
|
+
import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
|
24
|
+
import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
|
25
|
+
import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
|
26
|
+
import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
|
27
|
+
import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
|
28
|
+
import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
|
29
29
|
import {
|
30
30
|
V1_initPackageableElement,
|
31
31
|
V1_transformElementReference,
|
package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts
CHANGED
@@ -19,13 +19,13 @@ import {
|
|
19
19
|
usingConstantValueSchema,
|
20
20
|
usingModelSchema,
|
21
21
|
} from '@finos/legend-shared';
|
22
|
-
import { V1_ClassView } from '../../model/packageableElements/diagram/
|
23
|
-
import { V1_Diagram } from '../../model/packageableElements/diagram/
|
24
|
-
import { V1_Point } from '../../model/packageableElements/diagram/geometry/
|
25
|
-
import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/
|
26
|
-
import { V1_Line } from '../../model/packageableElements/diagram/geometry/
|
27
|
-
import { V1_PropertyView } from '../../model/packageableElements/diagram/
|
28
|
-
import { V1_GeneralizationView } from '../../model/packageableElements/diagram/
|
22
|
+
import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
|
23
|
+
import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
|
24
|
+
import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
|
25
|
+
import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
|
26
|
+
import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
|
27
|
+
import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
|
28
|
+
import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
|
29
29
|
import { V1_propertyPointerModelSchema } from '@finos/legend-graph';
|
30
30
|
|
31
31
|
export const V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE = 'diagram';
|
@@ -41,10 +41,10 @@ import {
|
|
41
41
|
ClassEditorState,
|
42
42
|
ElementEditorState,
|
43
43
|
} from '@finos/legend-studio';
|
44
|
-
import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/
|
45
|
-
import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/
|
46
|
-
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/
|
47
|
-
import type { PropertyHolderView } from '../../models/metamodels/pure/packageableElements/diagram/
|
44
|
+
import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
45
|
+
import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
46
|
+
import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
47
|
+
import type { PropertyHolderView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
|
48
48
|
|
49
49
|
enum DIAGRAM_EDITOR_HOTKEY {
|
50
50
|
RECENTER = 'RECENTER',
|