@finos/legend-extension-dsl-diagram 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/DSLDiagram_Extension.d.ts +0 -2
- package/lib/DSLDiagram_Extension.d.ts.map +1 -1
- package/lib/DSLDiagram_Extension.js +8 -9
- package/lib/DSLDiagram_Extension.js.map +1 -1
- package/lib/DiagramRenderer.d.ts +8 -8
- package/lib/DiagramRenderer.d.ts.map +1 -1
- package/lib/DiagramRenderer.js +42 -44
- 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/ClassDiagramPreview.js +2 -2
- package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts +4 -14
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js +8 -6
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +10 -10
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +3 -3
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_TestID.js +1 -1
- package/lib/components/studio/DSLDiagram_TestID.js.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 +5 -5
- package/lib/components/studio/DiagramEditor.js.map +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.d.ts +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.js +3 -3
- package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
- 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 +2 -2
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +9 -9
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +1 -1
- package/lib/helpers/{DiagramHelper.d.ts → DSLDiagram_Helper.d.ts} +28 -6
- package/lib/helpers/DSLDiagram_Helper.d.ts.map +1 -0
- package/lib/helpers/{DiagramHelper.js → DSLDiagram_Helper.js} +56 -9
- package/lib/helpers/{DiagramHelper.js.map → DSLDiagram_Helper.js.map} +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +18 -18
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -18
- package/lib/index.js.map +1 -1
- package/lib/models/DSLDiagram_ModelUtils.js +1 -1
- package/lib/models/DSLDiagram_ModelUtils.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js +6 -6
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +5 -5
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +18 -10
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -7
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +3 -9
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +11 -22
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -1
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +6 -6
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +3 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -1
- 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 +8 -8
- 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 +15 -14
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +10 -10
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +8 -8
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
- package/lib/stores/studio/DiagramEditorState.d.ts +5 -5
- package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
- package/lib/stores/studio/DiagramEditorState.js +6 -6
- package/lib/stores/studio/DiagramEditorState.js.map +1 -1
- package/package.json +22 -21
- package/src/DSLDiagram_Extension.ts +8 -11
- package/src/DiagramRenderer.ts +64 -53
- package/src/components/studio/ClassDiagramPreview.tsx +2 -2
- package/src/components/studio/DSLDiagram_LegendStudioDocumentation.ts +13 -6
- package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +14 -13
- package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +2 -2
- package/src/components/studio/DiagramEditor.tsx +6 -6
- package/src/components/studio/InheritanceDiagramRenderer.ts +3 -3
- package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
- package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +2 -2
- package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +10 -10
- package/src/helpers/{DiagramHelper.ts → DSLDiagram_Helper.ts} +102 -11
- package/src/index.ts +21 -18
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +8 -7
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +5 -5
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts +5 -4
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +21 -12
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -9
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +12 -42
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
- package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +6 -6
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +4 -4
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +3 -3
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +3 -3
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +14 -14
- 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/DSLDiagram_GraphModifierHelper.ts +20 -18
- package/src/stores/studio/DiagramEditorState.ts +9 -9
- package/tsconfig.json +4 -10
- package/tsconfig.package.json +1 -4
- package/lib/helpers/DiagramHelper.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts +0 -26
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js +0 -37
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +0 -1
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.ts +0 -44
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js
CHANGED
@@ -14,12 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
|
18
|
-
import { Point } from './geometry/DSLDiagram_Point';
|
19
|
-
import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
|
20
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.js';
|
18
|
+
import { Point } from './geometry/DSLDiagram_Point.js';
|
19
|
+
import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference.js';
|
20
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
21
21
|
export class RelationshipView {
|
22
|
-
|
22
|
+
_OWNER;
|
23
23
|
from;
|
24
24
|
to;
|
25
25
|
/**
|
@@ -34,27 +34,31 @@ export class RelationshipView {
|
|
34
34
|
*/
|
35
35
|
path = [];
|
36
36
|
constructor(owner, from, to) {
|
37
|
-
this.
|
37
|
+
this._OWNER = owner;
|
38
38
|
this.from = new RelationshipEdgeView(ClassViewExplicitReference.create(from));
|
39
39
|
this.to = new RelationshipEdgeView(ClassViewExplicitReference.create(to));
|
40
40
|
}
|
41
|
+
// TODO: to be simplified out of metamodel
|
42
|
+
// we will move these when we move hashing out of metamodel
|
41
43
|
/**
|
42
44
|
* Calculate the end points of the edge using offset, otherwise, use the center
|
43
45
|
*/
|
44
46
|
computeEdgeEndpoint(edgeView, allowChange = true) {
|
45
47
|
const box = edgeView.classView.value;
|
46
48
|
const center = edgeView.classView.value.center();
|
47
|
-
const newX = center.x + (edgeView.
|
48
|
-
const newY = center.y + (edgeView.
|
49
|
+
const newX = center.x + (edgeView._offsetX ?? 0);
|
50
|
+
const newY = center.y + (edgeView._offsetY ?? 0);
|
49
51
|
if (box.contains(newX, newY)) {
|
50
52
|
return new Point(newX, newY);
|
51
53
|
}
|
52
54
|
if (allowChange) {
|
53
|
-
edgeView.
|
54
|
-
edgeView.
|
55
|
+
edgeView._offsetX = 0;
|
56
|
+
edgeView._offsetY = 0;
|
55
57
|
}
|
56
58
|
return new Point(center.x, center.y);
|
57
59
|
}
|
60
|
+
// TODO: to be simplified out of metamodel
|
61
|
+
// we will move these when we move hashing out of metamodel
|
58
62
|
/**
|
59
63
|
* Compute the full path for the relationship view (including the ends even if these
|
60
64
|
* ends lie inside of the classviews)
|
@@ -69,6 +73,8 @@ export class RelationshipView {
|
|
69
73
|
this.computeEdgeEndpoint(this.to, allowChange),
|
70
74
|
];
|
71
75
|
}
|
76
|
+
// TODO: to be simplified out of metamodel
|
77
|
+
// we will move these when we move hashing out of metamodel
|
72
78
|
/**
|
73
79
|
* For a path, only keep **at most** 1 point at each end that lies inside the class view.
|
74
80
|
* If there is no inside points, none of kept, so the path only contains outside points.
|
@@ -95,6 +101,8 @@ export class RelationshipView {
|
|
95
101
|
// NOTE: slice upper bound is exclusive, hence the +2 instead of +1
|
96
102
|
return path.slice(start - 1, end + 2);
|
97
103
|
};
|
104
|
+
// TODO: to be simplified out of metamodel
|
105
|
+
// we will move these when we move hashing out of metamodel
|
98
106
|
/**
|
99
107
|
* This method will compute the full path from the offset within class view for serialization and persistence purpose
|
100
108
|
*/
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_RelationshipView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_RelationshipView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAGvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,OAAO,gBAAgB;IAClB,MAAM,CAAU;IAEzB,IAAI,CAAuB;IAC3B,EAAE,CAAuB;IACzB;;;;;;;;;OASG;IACH,IAAI,GAAY,EAAE,CAAC;IAEnB,YAAY,KAAc,EAAE,IAAe,EAAE,EAAa;QACxD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,oBAAoB,CAClC,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CACxC,CAAC;QACF,IAAI,CAAC,EAAE,GAAG,IAAI,oBAAoB,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED,0CAA0C;IAC1C,2DAA2D;IAC3D;;OAEG;IACK,mBAAmB,CAC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,CAAC;IACL,CAAC"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts
CHANGED
@@ -18,8 +18,6 @@ export declare class Point implements Hashable {
|
|
18
18
|
readonly x: number;
|
19
19
|
readonly y: number;
|
20
20
|
constructor(x: number, y: number);
|
21
|
-
rotateX(angle: number): number;
|
22
|
-
rotateY(angle: number): number;
|
23
21
|
get hashCode(): string;
|
24
22
|
}
|
25
23
|
//# sourceMappingURL=DSLDiagram_Point.d.ts.map
|
package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_Point.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,KAAM,YAAW,QAAQ;IACpC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;gBAEP,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAKhC,
|
1
|
+
{"version":3,"file":"DSLDiagram_Point.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,KAAM,YAAW,QAAQ;IACpC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;gBAEP,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAKhC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
|
18
18
|
export class Point {
|
19
19
|
x;
|
20
20
|
y;
|
@@ -22,12 +22,6 @@ export class Point {
|
|
22
22
|
this.x = x;
|
23
23
|
this.y = y;
|
24
24
|
}
|
25
|
-
rotateX(angle) {
|
26
|
-
return this.x * Math.cos(angle) - this.y * Math.sin(angle);
|
27
|
-
}
|
28
|
-
rotateY(angle) {
|
29
|
-
return this.x * Math.sin(angle) + this.y * Math.cos(angle);
|
30
|
-
}
|
31
25
|
get hashCode() {
|
32
26
|
return hashArray([
|
33
27
|
DIAGRAM_HASH_STRUCTURE.POINT,
|
package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_Point.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_Point.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,OAAO,KAAK;IACP,CAAC,CAAS;IACV,CAAC,CAAS;IAEnB,YAAY,CAAS,EAAE,CAAS;QAC9B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QACX,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,KAAK;YAC5B,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;SAClB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,20 +14,14 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { Point } from './DSLDiagram_Point';
|
18
|
-
import { Rectangle } from './DSLDiagram_Rectangle';
|
17
|
+
import { Point } from './DSLDiagram_Point.js';
|
18
|
+
import { Rectangle } from './DSLDiagram_Rectangle.js';
|
19
19
|
export declare class PositionedRectangle implements Hashable {
|
20
|
+
_dummyObservable: {};
|
20
21
|
position: Point;
|
21
22
|
rectangle: Rectangle;
|
22
|
-
dummyObservable: {};
|
23
23
|
constructor(position: Point, rectangle: Rectangle);
|
24
|
-
edgePoint: () => Point;
|
25
24
|
center: () => Point;
|
26
|
-
/**
|
27
|
-
* Build a small box at the bottom right corner of the rectangle so we can use that for selection to resize the box
|
28
|
-
*/
|
29
|
-
buildBottomRightCornerBox(): PositionedRectangle;
|
30
|
-
boxContains(otherBox: PositionedRectangle): boolean;
|
31
25
|
contains(x: number, y: number): boolean;
|
32
26
|
normalizeBox(box: PositionedRectangle): PositionedRectangle;
|
33
27
|
get hashCode(): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PositionedRectangle.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_PositionedRectangle.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,qBAAa,mBAAoB,YAAW,QAAQ;IAClD,gBAAgB,KAAM;IAEtB,QAAQ,EAAE,KAAK,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;gBAET,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAOjD,MAAM,QAAO,KAAK,CAId;IAIJ,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO;IAYvC,YAAY,CAAC,GAAG,EAAE,mBAAmB,GAAG,mBAAmB;IAiB3D,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -14,35 +14,22 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { Point } from './DSLDiagram_Point';
|
18
|
-
import { Rectangle } from './DSLDiagram_Rectangle';
|
19
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { Point } from './DSLDiagram_Point.js';
|
18
|
+
import { Rectangle } from './DSLDiagram_Rectangle.js';
|
19
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
|
20
20
|
export class PositionedRectangle {
|
21
|
+
_dummyObservable = {};
|
21
22
|
position;
|
22
23
|
rectangle;
|
23
|
-
dummyObservable = {};
|
24
24
|
constructor(position, rectangle) {
|
25
25
|
this.position = position;
|
26
26
|
this.rectangle = rectangle;
|
27
27
|
}
|
28
|
-
|
28
|
+
// TODO: to be simplified out of metamodel
|
29
|
+
// to be moved out when we move hashing out
|
29
30
|
center = () => new Point(this.position.x + this.rectangle.width / 2, this.position.y + this.rectangle.height / 2);
|
30
|
-
|
31
|
-
|
32
|
-
*/
|
33
|
-
buildBottomRightCornerBox() {
|
34
|
-
const cornerX = this.position.x + this.rectangle.width;
|
35
|
-
const cornerY = this.position.y + this.rectangle.height;
|
36
|
-
const boxSize = 10;
|
37
|
-
return new PositionedRectangle(new Point(cornerX - boxSize / 2, cornerY - boxSize / 2), new Rectangle(boxSize, boxSize));
|
38
|
-
}
|
39
|
-
boxContains(otherBox) {
|
40
|
-
otherBox = this.normalizeBox(otherBox);
|
41
|
-
return (this.contains(otherBox.position.x, otherBox.position.y) ||
|
42
|
-
this.contains(otherBox.position.x + otherBox.rectangle.width, otherBox.position.y) ||
|
43
|
-
this.contains(otherBox.position.x, otherBox.position.y + otherBox.rectangle.height) ||
|
44
|
-
this.contains(otherBox.position.x + otherBox.rectangle.width, otherBox.position.y + otherBox.rectangle.height));
|
45
|
-
}
|
31
|
+
// TODO: to be simplified out of metamodel
|
32
|
+
// to be moved out when we move hashing out
|
46
33
|
contains(x, y) {
|
47
34
|
const box = this.normalizeBox(this);
|
48
35
|
return (x > box.position.x &&
|
@@ -50,6 +37,8 @@ export class PositionedRectangle {
|
|
50
37
|
y > box.position.y &&
|
51
38
|
y < box.position.y + box.rectangle.height);
|
52
39
|
}
|
40
|
+
// TODO: to be simplified out of metamodel
|
41
|
+
// to be moved out when we move hashing out
|
53
42
|
normalizeBox(box) {
|
54
43
|
let newBox = box;
|
55
44
|
if (box.rectangle.width < 0) {
|
@@ -61,7 +50,7 @@ export class PositionedRectangle {
|
|
61
50
|
return newBox;
|
62
51
|
}
|
63
52
|
get hashCode() {
|
64
|
-
this.
|
53
|
+
this._dummyObservable; // manually trigger class-view hash code recomputation
|
65
54
|
return hashArray([
|
66
55
|
DIAGRAM_HASH_STRUCTURE.POSITIONED_RECTANGLE,
|
67
56
|
this.position,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PositionedRectangle.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_PositionedRectangle.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,OAAO,mBAAmB;IAC9B,gBAAgB,GAAG,EAAE,CAAC;IAEtB,QAAQ,CAAQ;IAChB,SAAS,CAAY;IAErB,YAAY,QAAe,EAAE,SAAoB;QAC/C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,0CAA0C;IAC1C,2CAA2C;IAC3C,MAAM,GAAG,GAAU,EAAE,CACnB,IAAI,KAAK,CACP,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,EAC1C,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAC5C,CAAC;IAEJ,0CAA0C;IA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,CAAC;IAChB,CAAC;IAED,IAAI,QAAQ;QACV,IAAI,CAAC,gBAAgB,CAAC,CAAC,sDAAsD;QAC7E,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,oBAAoB;YAC3C,IAAI,CAAC,QAAQ;YACb,IAAI,CAAC,SAAS;SACf,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
|
18
18
|
export class Rectangle {
|
19
19
|
width;
|
20
20
|
height;
|
package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_Rectangle.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_Rectangle.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,OAAO,SAAS;IACX,KAAK,CAAS;IACd,MAAM,CAAS;IAExB,YAAY,KAAa,EAAE,MAAc;QACvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,SAAS;YAChC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,15 +14,15 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import packageJson from '../../../../package.json';
|
17
|
-
import { V1_Diagram } from './v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram';
|
17
|
+
import { V1_Diagram } from './v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
|
18
18
|
import { assertType } from '@finos/legend-shared';
|
19
19
|
import { deserialize, serialize } from 'serializr';
|
20
|
-
import { V1_diagramModelSchema, V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper';
|
20
|
+
import { V1_diagramModelSchema, V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js';
|
21
21
|
import { PureProtocolProcessorPlugin, V1_ElementBuilder, V1_buildFullPath, } from '@finos/legend-graph';
|
22
|
-
import { V1_transformDiagram } from './v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper';
|
23
|
-
import { Diagram } from '../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
24
|
-
import { getOwnDiagram } from '../../../graphManager/DSLDiagram_GraphManagerHelper';
|
25
|
-
import { V1_buildClassView, V1_buildGeneralizationView, V1_buildPropertyView, } from './v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper';
|
22
|
+
import { V1_transformDiagram } from './v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js';
|
23
|
+
import { Diagram } from '../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
|
24
|
+
import { getOwnDiagram } from '../../../graphManager/DSLDiagram_GraphManagerHelper.js';
|
25
|
+
import { V1_buildClassView, V1_buildGeneralizationView, V1_buildPropertyView, } from './v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js';
|
26
26
|
const DIAGRAM_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::diagram::Diagram';
|
27
27
|
export const V1_DSLDiagram_PackageableElementPointerType = 'DIAGRAM';
|
28
28
|
export class DSLDiagram_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,iEAAiE,CAAC;AAC7F,OAAO,EAAoB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EASL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AACvG,OAAO,EAAE,OAAO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AY,OAAO,EAAE;oBAChC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;iBACvC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,gCAAgC;QACvC,OAAO;YACL,wBAAwB;YACxB,6BAA6B;YAC7B,6BAA6B;SAC9B,CAAC;IACJ,CAAC;CACF"}
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle';
|
17
|
+
import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle.js';
|
18
18
|
export declare class V1_ClassView extends V1_PositionedRectangle implements Hashable {
|
19
19
|
id: string;
|
20
20
|
class: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_ClassView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_ClassView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAGzF,qBAAa,YAAa,SAAQ,sBAAuB,YAAW,QAAQ;IAC1E,EAAE,EAAG,MAAM,CAAC;IACZ,KAAK,EAAG,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEtC,IAAa,QAAQ,IAAI,MAAM,CAU9B;CACF"}
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class V1_ClassView extends V1_PositionedRectangle {
|
20
20
|
id;
|
21
21
|
class;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_ClassView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_ClassView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,MAAM,OAAO,YAAa,SAAQ,sBAAsB;IACtD,EAAE,CAAU;IACZ,KAAK,CAAU;IACf,cAAc,CAAuB;IACrC,gBAAgB,CAAuB;IACvC,eAAe,CAAuB;IAEtC,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,UAAU;YACjC,KAAK,CAAC,QAAQ;YACd,IAAI,CAAC,EAAE;YACP,IAAI,CAAC,KAAK;YACV,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrC,IAAI,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACvC,IAAI,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts
CHANGED
@@ -14,9 +14,9 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import type { V1_ClassView } from './V1_DSLDiagram_ClassView';
|
18
|
-
import type { V1_PropertyView } from './V1_DSLDiagram_PropertyView';
|
19
|
-
import type { V1_GeneralizationView } from './V1_DSLDiagram_GeneralizationView';
|
17
|
+
import type { V1_ClassView } from './V1_DSLDiagram_ClassView.js';
|
18
|
+
import type { V1_PropertyView } from './V1_DSLDiagram_PropertyView.js';
|
19
|
+
import type { V1_GeneralizationView } from './V1_DSLDiagram_GeneralizationView.js';
|
20
20
|
import { type V1_PackageableElementVisitor, V1_PackageableElement } from '@finos/legend-graph';
|
21
21
|
export declare class V1_Diagram extends V1_PackageableElement implements Hashable {
|
22
22
|
classViews: V1_ClassView[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_Diagram.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_Diagram.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAG7B,qBAAa,UAAW,SAAQ,qBAAsB,YAAW,QAAQ;IACvE,UAAU,EAAE,YAAY,EAAE,CAAM;IAChC,aAAa,EAAE,eAAe,EAAE,CAAM;IACtC,mBAAmB,EAAE,qBAAqB,EAAE,CAAM;IAElD,IAAa,QAAQ,IAAI,MAAM,CAS9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
17
|
import { V1_PackageableElement, } from '@finos/legend-graph';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class V1_Diagram extends V1_PackageableElement {
|
20
20
|
classViews = [];
|
21
21
|
propertyViews = [];
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_Diagram.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAIhE,OAAO,EAEL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_Diagram.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAIhE,OAAO,EAEL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,MAAM,OAAO,UAAW,SAAQ,qBAAqB;IACnD,UAAU,GAAmB,EAAE,CAAC;IAChC,aAAa,GAAsB,EAAE,CAAC;IACtC,mBAAmB,GAA4B,EAAE,CAAC;IAElD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,OAAO;YAC9B,IAAI,CAAC,IAAI;YACT,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC;YAC1B,0BAA0B;YAC1B,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC;YACnC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
18
|
-
import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
|
17
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
|
18
|
+
import type { V1_Line } from './geometry/V1_DSLDiagram_Line.js';
|
19
19
|
export declare class V1_GeneralizationView extends V1_RelationshipView implements Hashable {
|
20
20
|
line: V1_Line;
|
21
21
|
get hashCode(): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_GeneralizationView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_GeneralizationView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAGhE,qBAAa,qBACX,SAAQ,mBACR,YAAW,QAAQ;IAEX,IAAI,EAAE,OAAO,CAAC;IAEtB,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class V1_GeneralizationView extends V1_RelationshipView {
|
20
20
|
get hashCode() {
|
21
21
|
return hashArray([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_GeneralizationView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_GeneralizationView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,MAAM,OAAO,qBACX,SAAQ,mBAAmB;IAK3B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,mBAAmB;YAC1C,KAAK,CAAC,QAAQ;SACf,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
17
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
|
18
18
|
import type { V1_PropertyPointer } from '@finos/legend-graph';
|
19
19
|
export declare class V1_PropertyHolderView extends V1_RelationshipView implements Hashable {
|
20
20
|
property: V1_PropertyPointer;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_PropertyHolderView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_PropertyHolderView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,qBAAa,qBACX,SAAQ,mBACR,YAAW,QAAQ;IAEnB,QAAQ,EAAG,kBAAkB,CAAC;IAE9B,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF"}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class V1_PropertyHolderView extends V1_RelationshipView {
|
20
20
|
property;
|
21
21
|
get hashCode() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_PropertyHolderView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_PropertyHolderView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAGpF,MAAM,OAAO,qBACX,SAAQ,mBAAmB;IAG3B,QAAQ,CAAsB;IAE9B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,oBAAoB;YAC3C,KAAK,CAAC,QAAQ;YACd,IAAI,CAAC,QAAQ;SACd,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView';
|
17
|
+
import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView.js';
|
18
18
|
import type { V1_PropertyPointer } from '@finos/legend-graph';
|
19
19
|
export declare class V1_PropertyView extends V1_PropertyHolderView implements Hashable {
|
20
20
|
property: V1_PropertyPointer;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_PropertyView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_PropertyView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,qBAAa,eAAgB,SAAQ,qBAAsB,YAAW,QAAQ;IACpE,QAAQ,EAAE,kBAAkB,CAAC;IAErC,IAAa,QAAQ,IAAI,MAAM,CAE9B;CACF"}
|
package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class V1_PropertyView extends V1_PropertyHolderView {
|
20
20
|
get hashCode() {
|
21
21
|
return hashArray([DIAGRAM_HASH_STRUCTURE.PROPERTY_VIEW, super.hashCode]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_PropertyView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_PropertyView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAGpF,MAAM,OAAO,eAAgB,SAAQ,qBAAqB;IAGxD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC,CAAC,sBAAsB,CAAC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
|
17
|
+
import type { V1_Line } from './geometry/V1_DSLDiagram_Line.js';
|
18
18
|
export declare class V1_RelationshipView implements Hashable {
|
19
19
|
sourceView: string;
|
20
20
|
targetView: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAGhE,qBAAa,mBAAoB,YAAW,QAAQ;IAClD,UAAU,EAAG,MAAM,CAAC;IACpB,UAAU,EAAG,MAAM,CAAC;IACpB,IAAI,EAAG,OAAO,CAAC;IAEf,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
|
18
18
|
export class V1_RelationshipView {
|
19
19
|
sourceView;
|
20
20
|
targetView;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_RelationshipView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_RelationshipView.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,MAAM,OAAO,mBAAmB;IAC9B,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,IAAI,CAAW;IAEf,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,iBAAiB;YACxC,IAAI,CAAC,UAAU;YACf,IAAI,CAAC,UAAU;YACf,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import type { V1_Point } from './V1_DSLDiagram_Point';
|
16
|
+
import type { V1_Point } from './V1_DSLDiagram_Point.js';
|
17
17
|
export declare class V1_Line {
|
18
18
|
points: V1_Point[];
|
19
19
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_Line.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_Line.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,qBAAa,OAAO;IAClB,MAAM,EAAE,QAAQ,EAAE,CAAM;CACzB"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils.js';
|
18
18
|
export class V1_Point {
|
19
19
|
x;
|
20
20
|
y;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_Point.js","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_Point.js","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAEvF,MAAM,OAAO,QAAQ;IACnB,CAAC,CAAU;IACX,CAAC,CAAU;IAEX,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,KAAK;YAC5B,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;SAClB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import type { V1_Point } from './V1_DSLDiagram_Point';
|
18
|
-
import type { V1_Rectangle } from './V1_DSLDiagram_Rectangle';
|
17
|
+
import type { V1_Point } from './V1_DSLDiagram_Point.js';
|
18
|
+
import type { V1_Rectangle } from './V1_DSLDiagram_Rectangle.js';
|
19
19
|
export declare class V1_PositionedRectangle implements Hashable {
|
20
20
|
rectangle: V1_Rectangle;
|
21
21
|
position: V1_Point;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSLDiagram_PositionedRectangle.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"V1_DSLDiagram_PositionedRectangle.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAGjE,qBAAa,sBAAuB,YAAW,QAAQ;IACrD,SAAS,EAAG,YAAY,CAAC;IACzB,QAAQ,EAAG,QAAQ,CAAC;IAEpB,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils.js';
|
18
18
|
export class V1_PositionedRectangle {
|
19
19
|
rectangle;
|
20
20
|
position;
|