@finos/legend-extension-dsl-diagram 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/lib/components/studio/ClassDiagramPreview.d.ts +1 -0
  2. package/lib/components/studio/ClassDiagramPreview.d.ts.map +1 -1
  3. package/lib/components/studio/DiagramEditor.d.ts +1 -0
  4. package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
  5. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +2 -2
  6. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
  7. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +1 -1
  8. package/lib/index.css +1 -1
  9. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +3 -3
  10. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -1
  11. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +3 -3
  12. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -1
  13. package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.d.ts → DSLDiagram_RelationshipViewEnd.d.ts} +2 -2
  14. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +1 -0
  15. package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.js → DSLDiagram_RelationshipViewEnd.js} +2 -2
  16. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +1 -0
  17. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
  18. package/lib/package.json +7 -7
  19. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +3 -3
  20. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
  21. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
  22. package/package.json +14 -14
  23. package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +2 -2
  24. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +6 -6
  25. package/src/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.ts → DSLDiagram_RelationshipViewEnd.ts} +1 -1
  26. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +2 -2
  27. package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +3 -3
  28. package/tsconfig.json +1 -1
  29. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +0 -1
  30. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +0 -1
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { Class } from '@finos/legend-graph';
17
18
  export declare const ClassDiagramPreview: ((props: {
18
19
  _class: Class;
@@ -1 +1 @@
1
- {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAkEnE,CAAC"}
1
+ {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAkEnE,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  export declare const DiagramEditor: (() => JSX.Element) & {
17
18
  displayName: string;
18
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyxCH,eAAO,MAAM,aAAa;;CAmDxB,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAyxCH,eAAO,MAAM,aAAa;;CAmDxB,CAAC"}
@@ -19,13 +19,13 @@ import type { ClassViewReference } from '../../../models/metamodels/pure/package
19
19
  import type { Diagram } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
20
20
  import type { GeneralizationView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
21
21
  import type { PropertyView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
22
- import type { RelationshipEdgeView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js';
22
+ import type { RelationshipViewEnd } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
23
23
  import type { RelationshipView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
24
24
  import type { PositionedRectangle } from '../../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
25
25
  export declare const observe_PositionedRectangle: (metamodel: PositionedRectangle) => PositionedRectangle;
26
26
  export declare const observe_ClassViewReference: (metamodel: ClassViewReference) => ClassViewReference;
27
27
  export declare const observe_ClassView: (metamodel: ClassView) => ClassView;
28
- export declare const observe_RelationShipEdgeView: (metamodel: RelationshipEdgeView) => RelationshipEdgeView;
28
+ export declare const observe_RelationShipEdgeView: (metamodel: RelationshipViewEnd) => RelationshipViewEnd;
29
29
  export declare const observe_RelationshipView: (metamodel: RelationshipView) => RelationshipView;
30
30
  export declare const observe_GeneralizationView: (metamodel: GeneralizationView) => GeneralizationView;
31
31
  export declare const observe_AssociationView: (metamodel: AssociationView) => AssociationView;
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2FAA2F,CAAC;AACjI,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qFAAqF,CAAC;AACrH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8FAA8F,CAAC;AACvI,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mFAAmF,CAAC;AACjH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8FAA8F,CAAC;AACvI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wFAAwF,CAAC;AAC3H,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gGAAgG,CAAC;AAC3I,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4FAA4F,CAAC;AACnI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wGAAwG,CAAC;AAElJ,eAAO,MAAM,2BAA2B,yDAKvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uDAUtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,qCAgB7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,2DAMxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,mDAcpC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uDAUtC,CAAC;AAEF,eAAO,MAAM,uBAAuB,iDAanC,CAAC;AAEF,eAAO,MAAM,oBAAoB,2CAYhC,CAAC;AAEF,eAAO,MAAM,eAAe,iCAiB1B,CAAC"}
1
+ {"version":3,"file":"DSLDiagram_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2FAA2F,CAAC;AACjI,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qFAAqF,CAAC;AACrH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8FAA8F,CAAC;AACvI,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mFAAmF,CAAC;AACjH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8FAA8F,CAAC;AACvI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wFAAwF,CAAC;AAC3H,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+FAA+F,CAAC;AACzI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4FAA4F,CAAC;AACnI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wGAAwG,CAAC;AAElJ,eAAO,MAAM,2BAA2B,yDAKvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uDAUtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,qCAgB7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,yDAMxC,CAAC;AAEF,eAAO,MAAM,wBAAwB,mDAcpC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uDAUtC,CAAC;AAEF,eAAO,MAAM,uBAAuB,iDAanC,CAAC;AAEF,eAAO,MAAM,oBAAoB,2CAYhC,CAAC;AAEF,eAAO,MAAM,eAAe,iCAiB1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDiagram_ObserverH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GAAG,YAAY,CAAC,CAAC,SAAkB,EAAW,EAAE;IAC1E,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAA8B,SAAS,EAAE;QACrD,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,UAAU;QAC5B,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,UAAU;QACzB,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChD,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC5D,SAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAClE,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAEtD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"DSLDiagram_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,mCAAmC,EACnC,yBAAyB,EACzB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAWtE,MAAM,CAAC,MAAM,2BAA2B,GAAG,YAAY,CACrD,CAAC,SAA8B,EAAuB,EAAE,CACtD,cAAc,CAAC,SAAS,EAAE;IACxB,gBAAgB,EAAE,UAAU;CAC7B,CAAC,CACL,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,YAAY,CACpD,CAAC,SAA6B,EAAsB,EAAE;IACpD,cAAc,CAAC,SAAS,EAAE;QACxB,KAAK,EAAE,UAAU;KAClB,CAAC,CAAC;IAEH,mCAAmC,CAAC,SAAS,CA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CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-diagram v3.0.0
1
+ /** @license @finos/legend-extension-dsl-diagram v4.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,14 +14,14 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type Hashable } from '@finos/legend-shared';
17
- import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.js';
17
+ import { RelationshipViewEnd } from './DSLDiagram_RelationshipViewEnd.js';
18
18
  import { Point } from './geometry/DSLDiagram_Point.js';
19
19
  import type { ClassView } from './DSLDiagram_ClassView.js';
20
20
  import type { Diagram } from './DSLDiagram_Diagram.js';
21
21
  export declare class RelationshipView implements Hashable {
22
22
  readonly _OWNER: Diagram;
23
- from: RelationshipEdgeView;
24
- to: RelationshipEdgeView;
23
+ from: RelationshipViewEnd;
24
+ to: RelationshipViewEnd;
25
25
  /**
26
26
  * NOTE: Unlike in the protocol model, we don't store the end points in the path but only store the
27
27
  * offsets of that point from the center of the end/start classviews. The main purpose here is to
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIvD,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,EAAE,EAAE,oBAAoB,CAAC;IACzB;;;;;;;;;OASG;IACH,IAAI,EAAE,KAAK,EAAE,CAAM;gBAEP,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAU1D;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;;;;;OAMG;IACH,aAAa,CAAC,WAAW,UAAO,GAAG,KAAK,EAAE;IAU1C;;;OAGG;IACH,MAAM,CAAC,4BAA4B,SAC3B,KAAK,EAAE,QACP,SAAS,MACX,SAAS,KACZ,KAAK,EAAE,CA6BR;IAIF;;OAEG;IACH,IAAI,oBAAoB,IAAI,KAAK,EAAE,CAMlC;IAED,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
1
+ {"version":3,"file":"DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIvD,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,EAAE,EAAE,mBAAmB,CAAC;IACxB;;;;;;;;;OASG;IACH,IAAI,EAAE,KAAK,EAAE,CAAM;gBAEP,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAU1D;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;;;;;OAMG;IACH,aAAa,CAAC,WAAW,UAAO,GAAG,KAAK,EAAE;IAU1C;;;OAGG;IACH,MAAM,CAAC,4BAA4B,SAC3B,KAAK,EAAE,QACP,SAAS,MACX,SAAS,KACZ,KAAK,EAAE,CA6BR;IAIF;;OAEG;IACH,IAAI,oBAAoB,IAAI,KAAK,EAAE,CAMlC;IAED,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 { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.js';
17
+ import { RelationshipViewEnd } from './DSLDiagram_RelationshipViewEnd.js';
18
18
  import { Point } from './geometry/DSLDiagram_Point.js';
19
19
  import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference.js';
20
20
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
@@ -35,8 +35,8 @@ export class RelationshipView {
35
35
  path = [];
36
36
  constructor(owner, from, to) {
37
37
  this._OWNER = owner;
38
- this.from = new RelationshipEdgeView(ClassViewExplicitReference.create(from));
39
- this.to = new RelationshipEdgeView(ClassViewExplicitReference.create(to));
38
+ this.from = new RelationshipViewEnd(ClassViewExplicitReference.create(from));
39
+ this.to = new RelationshipViewEnd(ClassViewExplicitReference.create(to));
40
40
  }
41
41
  // TODO: to be simplified out of metamodel
42
42
  // we will move these when we move hashing out of metamodel
@@ -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,sCAAsC,CAAC;AAC5E,OAAO,E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G,CAAU,CAAC;SAC/B;QAED,mEAAmE;QACnE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC;IACxC,CAAC,CAAC;IAEF,0CAA0C;IAC1C,2DAA2D;IAC3D;;OAEG;IACH,IAAI,oBAAoB;QACtB,OAAO,gBAAgB,CAAC,4BAA4B,CAClD,IAAI,CAAC,aAAa,EAAE,EACpB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EACzB,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CACxB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,iBAAiB;YACxC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC5B,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC1B,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC;SACrC,CAAC,CAAC;IACL,CAAC"}
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,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,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,CAAsB;IAC1B,EAAE,CAAsB;IACxB;;;;;;;;;OASG;IACH,IAAI,GAAY,EAAE,CAAC;IAEnB,YAAY,KAAc,EAA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AAS,CAAC,KAAK,EACzB,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CACxB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,iBAAiB;YACxC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC5B,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC1B,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC;SACrC,CAAC,CAAC;IACL,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { ClassViewReference } from './DSLDiagram_ClassViewReference.js';
17
- export declare class RelationshipEdgeView {
17
+ export declare class RelationshipViewEnd {
18
18
  /**
19
19
  * Offsets from the center of the class view.
20
20
  *
@@ -25,4 +25,4 @@ export declare class RelationshipEdgeView {
25
25
  classView: ClassViewReference;
26
26
  constructor(classView: ClassViewReference);
27
27
  }
28
- //# sourceMappingURL=DSLDiagram_RelationshipEdgeView.d.ts.map
28
+ //# sourceMappingURL=DSLDiagram_RelationshipViewEnd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDiagram_RelationshipViewEnd.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,qBAAa,mBAAmB;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9B,SAAS,EAAE,kBAAkB,CAAC;gBAElB,SAAS,EAAE,kBAAkB;CAG1C"}
@@ -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
- export class RelationshipEdgeView {
16
+ export class RelationshipViewEnd {
17
17
  /**
18
18
  * Offsets from the center of the class view.
19
19
  *
@@ -26,4 +26,4 @@ export class RelationshipEdgeView {
26
26
  this.classView = classView;
27
27
  }
28
28
  }
29
- //# sourceMappingURL=DSLDiagram_RelationshipEdgeView.js.map
29
+ //# sourceMappingURL=DSLDiagram_RelationshipViewEnd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDiagram_RelationshipViewEnd.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,OAAO,mBAAmB;IAC9B;;;;OAIG;IACH,QAAQ,CAAsB;IAC9B,QAAQ,CAAsB;IAE9B,SAAS,CAAqB;IAE9B,YAAY,SAA6B;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_TransformerHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,yEAAyE,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,oEAAoE,CAAC;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6EAA6E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,wEAAwE,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,6EAA6E,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAE,MAAM,uEAAuE,CAAC;AACxG,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,qBAAqB,C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C,kBAAkB,CAAC,CAAC;IAChE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,GAAG,CAC3D,uBAAuB,CACxB,CAAC;IACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACzE,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_TransformerHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,yEAAyE,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,oEAAoE,CAAC;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6EAA6E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,wEAAwE,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,6EAA6E,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAE,MAAM,uEAAuE,CAAC;AACxG,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,+BAA+B,GAAG,CAAC,KAA0B,EAAU,EAAE,CAC7E,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;AAE3B,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,KAAa,EAAgB,EAAE;IACtE,MAAM,SAAS,GAAG,IAAI,YAAY,EAAE,CAAC;IACrC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;IAC1B,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;IACxB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,CAA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AAU,GAAG,IAAI,YAAY,EAAE,CAAC;IACtC,UAAU,CAAC,KAAK,GAAG,4BAA4B,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/D,UAAU,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;IACnD,UAAU,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IACrD,UAAU,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IACvD,UAAU,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IAC3B,UAAU,CAAC,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC1E,UAAU,CAAC,SAAS,GAAG,eAAe,CACpC,OAAO,CAAC,SAAS,CAAC,MAAM,EACxB,OAAO,CAAC,SAAS,CAAC,KAAK,CACxB,CAAC;IACF,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAc,EAAE;IAClE,MAAM,OAAO,GAAG,IAAI,UAAU,EAAE,CAAC;IACjC,yBAAyB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5C,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAChE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,GAAG,CAC3D,uBAAuB,CACxB,CAAC;IACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACzE,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,13 +49,13 @@
49
49
  "@finos/legend-model-storage": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-studio": "workspace:*",
52
- "@types/react": "18.0.12",
52
+ "@types/react": "18.0.14",
53
53
  "mobx": "6.6.0",
54
54
  "mobx-react-lite": "3.4.0",
55
- "react": "18.1.0",
55
+ "react": "18.2.0",
56
56
  "react-dnd": "16.0.1",
57
- "react-dom": "18.1.0",
58
- "react-resize-detector": "7.1.1",
57
+ "react-dom": "18.2.0",
58
+ "react-resize-detector": "7.1.2",
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
@@ -63,13 +63,13 @@
63
63
  "@jest/globals": "28.1.1",
64
64
  "@testing-library/react": "13.3.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.17.0",
66
+ "eslint": "8.18.0",
67
67
  "jest": "28.1.1",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
71
  "sass": "1.52.3",
72
- "typescript": "4.7.3"
72
+ "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"
@@ -18,7 +18,7 @@ import type { ClassView } from '../../models/metamodels/pure/packageableElements
18
18
  import type { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
19
  import type { GeneralizationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
20
20
  import type { PropertyView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
21
- import type { RelationshipEdgeView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js';
21
+ import type { RelationshipViewEnd } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
22
22
  import type { RelationshipView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
23
23
  import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
24
24
  import type { PositionedRectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
@@ -37,8 +37,8 @@ export declare const diagram_deletePropertyView: (diagram: Diagram, val: Propert
37
37
  export declare const classView_setHideProperties: (cv: ClassView, val: boolean) => void;
38
38
  export declare const classView_setHideStereotypes: (cv: ClassView, val: boolean) => void;
39
39
  export declare const classView_setHideTaggedValues: (cv: ClassView, val: boolean) => void;
40
- export declare const relationshipEdgeView_setOffsetX: (r: RelationshipEdgeView, val: number) => void;
41
- export declare const relationshipEdgeView_setOffsetY: (r: RelationshipEdgeView, val: number) => void;
40
+ export declare const relationshipEdgeView_setOffsetX: (r: RelationshipViewEnd, val: number) => void;
41
+ export declare const relationshipEdgeView_setOffsetY: (r: RelationshipViewEnd, val: number) => void;
42
42
  export declare const relationshipView_changePoint: (v: RelationshipView, val: Point, newVal: Point) => void;
43
43
  export declare const relationshipView_simplifyPath: (relationshipView: RelationshipView) => void;
44
44
  export declare const findOrBuildPoint: (relationshipView: RelationshipView, x: number, y: number, zoom: number, allowChange: boolean) => Point | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSLDiagram_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wFAAwF,CAAC;AAC9H,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kFAAkF,CAAC;AAClH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gFAAgF,CAAC;AAC9G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2FAA2F,CAAC;AAMpI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qFAAqF,CAAC;AACxH,OAAO,KAAK,EAAE,oBAAoB,E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C,QAAQ,GAAG,KAAK,CAAC;AACtB,CAAC,CACF,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CACxD,CAAC,EAAuB,EAAQ,EAAE;IAChC,EAAE,CAAC,gBAAgB,GAAG,EAAE,CAAC;AAC3B,CAAC,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,33 +43,33 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "4.0.0",
47
- "@finos/legend-art": "2.0.0",
48
- "@finos/legend-graph": "8.0.0",
49
- "@finos/legend-model-storage": "2.0.0",
50
- "@finos/legend-shared": "3.0.0",
51
- "@finos/legend-studio": "10.0.0",
52
- "@types/react": "18.0.12",
46
+ "@finos/legend-application": "4.0.1",
47
+ "@finos/legend-art": "2.0.1",
48
+ "@finos/legend-graph": "8.0.1",
49
+ "@finos/legend-model-storage": "2.0.1",
50
+ "@finos/legend-shared": "3.0.1",
51
+ "@finos/legend-studio": "10.1.0",
52
+ "@types/react": "18.0.14",
53
53
  "mobx": "6.6.0",
54
54
  "mobx-react-lite": "3.4.0",
55
- "react": "18.1.0",
55
+ "react": "18.2.0",
56
56
  "react-dnd": "16.0.1",
57
- "react-dom": "18.1.0",
58
- "react-resize-detector": "7.1.1",
57
+ "react-dom": "18.2.0",
58
+ "react-resize-detector": "7.1.2",
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@finos/legend-dev-utils": "2.0.0",
62
+ "@finos/legend-dev-utils": "2.0.1",
63
63
  "@jest/globals": "28.1.1",
64
64
  "@testing-library/react": "13.3.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.17.0",
66
+ "eslint": "8.18.0",
67
67
  "jest": "28.1.1",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
71
  "sass": "1.52.3",
72
- "typescript": "4.7.3"
72
+ "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"
@@ -27,7 +27,7 @@ import type { ClassViewReference } from '../../../models/metamodels/pure/package
27
27
  import type { Diagram } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
28
28
  import type { GeneralizationView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
29
29
  import type { PropertyView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
30
- import type { RelationshipEdgeView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js';
30
+ import type { RelationshipViewEnd } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
31
31
  import type { RelationshipView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
32
32
  import type { PositionedRectangle } from '../../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
33
33
 
@@ -69,7 +69,7 @@ export const observe_ClassView = skipObserved(
69
69
  );
70
70
 
71
71
  export const observe_RelationShipEdgeView = skipObserved(
72
- (metamodel: RelationshipEdgeView): RelationshipEdgeView => {
72
+ (metamodel: RelationshipViewEnd): RelationshipViewEnd => {
73
73
  observe_ClassViewReference(metamodel.classView);
74
74
 
75
75
  return metamodel;
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.js';
18
+ import { RelationshipViewEnd } from './DSLDiagram_RelationshipViewEnd.js';
19
19
  import { Point } from './geometry/DSLDiagram_Point.js';
20
20
  import type { ClassView } from './DSLDiagram_ClassView.js';
21
21
  import type { Diagram } from './DSLDiagram_Diagram.js';
@@ -25,8 +25,8 @@ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
25
25
  export class RelationshipView implements Hashable {
26
26
  readonly _OWNER: Diagram;
27
27
 
28
- from: RelationshipEdgeView;
29
- to: RelationshipEdgeView;
28
+ from: RelationshipViewEnd;
29
+ to: RelationshipViewEnd;
30
30
  /**
31
31
  * NOTE: Unlike in the protocol model, we don't store the end points in the path but only store the
32
32
  * offsets of that point from the center of the end/start classviews. The main purpose here is to
@@ -41,10 +41,10 @@ export class RelationshipView implements Hashable {
41
41
 
42
42
  constructor(owner: Diagram, from: ClassView, to: ClassView) {
43
43
  this._OWNER = owner;
44
- this.from = new RelationshipEdgeView(
44
+ this.from = new RelationshipViewEnd(
45
45
  ClassViewExplicitReference.create(from),
46
46
  );
47
- this.to = new RelationshipEdgeView(ClassViewExplicitReference.create(to));
47
+ this.to = new RelationshipViewEnd(ClassViewExplicitReference.create(to));
48
48
  }
49
49
 
50
50
  // TODO: to be simplified out of metamodel
@@ -53,7 +53,7 @@ export class RelationshipView implements Hashable {
53
53
  * Calculate the end points of the edge using offset, otherwise, use the center
54
54
  */
55
55
  private computeEdgeEndpoint(
56
- edgeView: RelationshipEdgeView,
56
+ edgeView: RelationshipViewEnd,
57
57
  allowChange = true,
58
58
  ): Point {
59
59
  const box = edgeView.classView.value;
@@ -16,7 +16,7 @@
16
16
 
17
17
  import type { ClassViewReference } from './DSLDiagram_ClassViewReference.js';
18
18
 
19
- export class RelationshipEdgeView {
19
+ export class RelationshipViewEnd {
20
20
  /**
21
21
  * Offsets from the center of the class view.
22
22
  *
@@ -18,7 +18,7 @@ import type { ClassView } from '../../../../../metamodels/pure/packageableElemen
18
18
  import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
19
  import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
20
20
  import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
21
- import type { RelationshipEdgeView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js';
21
+ import type { RelationshipViewEnd } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
22
22
  import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js';
23
23
  import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView.js';
24
24
  import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
@@ -32,7 +32,7 @@ import {
32
32
  V1_transformPropertyReference,
33
33
  } from '@finos/legend-graph';
34
34
 
35
- const relationshipEdgeViewTransformer = (value: RelationshipEdgeView): string =>
35
+ const relationshipEdgeViewTransformer = (value: RelationshipViewEnd): string =>
36
36
  value.classView.value.id;
37
37
 
38
38
  const createRectangle = (height: number, width: number): V1_Rectangle => {
@@ -26,7 +26,7 @@ import {
26
26
  _relationshipView_setPath,
27
27
  } from '../../helpers/DSLDiagram_Helper.js';
28
28
  import type { PropertyView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
29
- import type { RelationshipEdgeView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js';
29
+ import type { RelationshipViewEnd } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
30
30
  import type { RelationshipView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
31
31
  import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
32
32
  import type { PositionedRectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
@@ -113,12 +113,12 @@ export const classView_setHideTaggedValues = action(
113
113
  },
114
114
  );
115
115
  export const relationshipEdgeView_setOffsetX = action(
116
- (r: RelationshipEdgeView, val: number): void => {
116
+ (r: RelationshipViewEnd, val: number): void => {
117
117
  r._offsetX = val;
118
118
  },
119
119
  );
120
120
  export const relationshipEdgeView_setOffsetY = action(
121
- (r: RelationshipEdgeView, val: number): void => {
121
+ (r: RelationshipViewEnd, val: number): void => {
122
122
  r._offsetY = val;
123
123
  },
124
124
  );
package/tsconfig.json CHANGED
@@ -53,8 +53,8 @@
53
53
  "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts",
54
54
  "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts",
55
55
  "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts",
56
- "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts",
57
56
  "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts",
57
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.ts",
58
58
  "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts",
59
59
  "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts",
60
60
  "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipEdgeView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,qBAAa,oBAAoB;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9B,SAAS,EAAE,kBAAkB,CAAC;gBAElB,SAAS,EAAE,kBAAkB;CAG1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipEdgeView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,OAAO,oBAAoB;IAC/B;;;;OAIG;IACH,QAAQ,CAAsB;IAC9B,QAAQ,CAAsB;IAE9B,SAAS,CAAqB;IAE9B,YAAY,SAA6B;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}