@finos/legend-extension-dsl-diagram 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. package/lib/DiagramRenderer.d.ts +8 -8
  2. package/lib/DiagramRenderer.d.ts.map +1 -1
  3. package/lib/DiagramRenderer.js +9 -10
  4. package/lib/DiagramRenderer.js.map +1 -1
  5. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +1 -1
  6. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
  7. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +1 -1
  8. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
  9. package/lib/components/studio/DiagramEditor.js +2 -2
  10. package/lib/components/studio/DiagramEditor.js.map +1 -1
  11. package/lib/components/studio/InheritanceDiagramRenderer.js +2 -2
  12. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  13. package/lib/graph/DSLDiagram_PureGraphPlugin.js +1 -1
  14. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  15. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  16. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  17. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  18. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  19. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +1 -1
  20. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  21. package/lib/helpers/DiagramHelper.d.ts +3 -3
  22. package/lib/helpers/DiagramHelper.d.ts.map +1 -1
  23. package/lib/helpers/DiagramHelper.js +1 -1
  24. package/lib/helpers/DiagramHelper.js.map +1 -1
  25. package/lib/index.css +1 -1
  26. package/lib/index.d.ts +10 -10
  27. package/lib/index.d.ts.map +1 -1
  28. package/lib/index.js +10 -10
  29. package/lib/index.js.map +1 -1
  30. package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.d.ts → DSLDiagram_AssociationView.d.ts} +4 -4
  31. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -0
  32. package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.js → DSLDiagram_AssociationView.js} +2 -2
  33. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -0
  34. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.d.ts → DSLDiagram_ClassView.d.ts} +3 -3
  35. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -0
  36. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.js → DSLDiagram_ClassView.js} +4 -4
  37. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -0
  38. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.d.ts → DSLDiagram_ClassViewReference.d.ts} +3 -3
  39. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -0
  40. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.js → DSLDiagram_ClassViewReference.js} +1 -1
  41. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -0
  42. package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.d.ts → DSLDiagram_Diagram.d.ts} +5 -5
  43. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -0
  44. package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.js → DSLDiagram_Diagram.js} +1 -1
  45. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -0
  46. package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.d.ts → DSLDiagram_GeneralizationView.d.ts} +4 -4
  47. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -0
  48. package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.js → DSLDiagram_GeneralizationView.js} +2 -2
  49. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -0
  50. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.d.ts → DSLDiagram_PropertyHolderView.d.ts} +4 -4
  51. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  52. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.js → DSLDiagram_PropertyHolderView.js} +2 -2
  53. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -0
  54. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.d.ts → DSLDiagram_PropertyView.d.ts} +4 -4
  55. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -0
  56. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.js → DSLDiagram_PropertyView.js} +2 -2
  57. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -0
  58. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.d.ts → DSLDiagram_RelationshipEdgeView.d.ts} +2 -2
  59. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +1 -0
  60. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.js → DSLDiagram_RelationshipEdgeView.js} +1 -1
  61. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +1 -0
  62. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.d.ts → DSLDiagram_RelationshipView.d.ts} +5 -5
  63. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -0
  64. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.js → DSLDiagram_RelationshipView.js} +5 -5
  65. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -0
  66. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.d.ts → DSLDiagram_Point.d.ts} +1 -1
  67. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -0
  68. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.js → DSLDiagram_Point.js} +1 -1
  69. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -0
  70. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.d.ts → DSLDiagram_PositionedRectangle.d.ts} +3 -3
  71. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  72. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.js → DSLDiagram_PositionedRectangle.js} +3 -3
  73. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -0
  74. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.d.ts → DSLDiagram_Rectangle.d.ts} +1 -1
  75. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +1 -0
  76. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.js → DSLDiagram_Rectangle.js} +1 -1
  77. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -0
  78. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.d.ts → DSLDiagram_Vector.d.ts} +2 -2
  79. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +1 -0
  80. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.js → DSLDiagram_Vector.js} +1 -1
  81. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +1 -0
  82. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +2 -2
  83. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
  84. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.d.ts → V1_DSLDiagram_ClassView.d.ts} +2 -2
  85. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -0
  86. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.js → V1_DSLDiagram_ClassView.js} +2 -2
  87. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -0
  88. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.d.ts → V1_DSLDiagram_Diagram.d.ts} +4 -4
  89. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -0
  90. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.js → V1_DSLDiagram_Diagram.js} +1 -1
  91. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -0
  92. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.d.ts → V1_DSLDiagram_GeneralizationView.d.ts} +3 -3
  93. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -0
  94. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.js → V1_DSLDiagram_GeneralizationView.js} +2 -2
  95. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -0
  96. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.d.ts → V1_DSLDiagram_PropertyHolderView.d.ts} +2 -2
  97. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  98. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.js → V1_DSLDiagram_PropertyHolderView.js} +2 -2
  99. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -0
  100. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.d.ts → V1_DSLDiagram_PropertyView.d.ts} +2 -2
  101. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -0
  102. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.js → V1_DSLDiagram_PropertyView.js} +2 -2
  103. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -0
  104. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.d.ts → V1_DSLDiagram_RelationshipView.d.ts} +2 -2
  105. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -0
  106. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.js → V1_DSLDiagram_RelationshipView.js} +1 -1
  107. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -0
  108. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.d.ts → V1_DSLDiagram_Line.d.ts} +2 -2
  109. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -0
  110. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.js → V1_DSLDiagram_Line.js} +1 -1
  111. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +1 -0
  112. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.d.ts → V1_DSLDiagram_Point.d.ts} +1 -1
  113. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +1 -0
  114. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.js → V1_DSLDiagram_Point.js} +1 -1
  115. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -0
  116. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.d.ts → V1_DSLDiagram_PositionedRectangle.d.ts} +3 -3
  117. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  118. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.js → V1_DSLDiagram_PositionedRectangle.js} +1 -1
  119. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -0
  120. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.d.ts → V1_DSLDiagram_Rectangle.d.ts} +1 -1
  121. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +1 -0
  122. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.js → V1_DSLDiagram_Rectangle.js} +1 -1
  123. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -0
  124. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
  125. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
  126. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +5 -5
  127. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
  128. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
  129. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
  130. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
  131. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
  132. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
  133. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
  134. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
  135. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
  136. package/lib/package.json +9 -9
  137. package/lib/stores/studio/DiagramEditorState.d.ts +3 -3
  138. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  139. package/lib/stores/studio/DiagramEditorState.js +1 -1
  140. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  141. package/package.json +16 -16
  142. package/src/DiagramRenderer.ts +11 -12
  143. package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +1 -1
  144. package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +1 -1
  145. package/src/components/studio/DiagramEditor.tsx +2 -2
  146. package/src/components/studio/InheritanceDiagramRenderer.ts +2 -2
  147. package/src/graph/DSLDiagram_PureGraphPlugin.ts +1 -1
  148. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  149. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +1 -1
  150. package/src/helpers/DiagramHelper.ts +3 -3
  151. package/src/index.ts +10 -10
  152. package/src/models/metamodels/pure/packageableElements/diagram/{AssociationView.ts → DSLDiagram_AssociationView.ts} +3 -3
  153. package/src/models/metamodels/pure/packageableElements/diagram/{ClassView.ts → DSLDiagram_ClassView.ts} +4 -4
  154. package/src/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.ts → DSLDiagram_ClassViewReference.ts} +2 -2
  155. package/src/models/metamodels/pure/packageableElements/diagram/{Diagram.ts → DSLDiagram_Diagram.ts} +4 -4
  156. package/src/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.ts → DSLDiagram_GeneralizationView.ts} +3 -3
  157. package/src/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.ts → DSLDiagram_PropertyHolderView.ts} +3 -3
  158. package/src/models/metamodels/pure/packageableElements/diagram/{PropertyView.ts → DSLDiagram_PropertyView.ts} +3 -3
  159. package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.ts → DSLDiagram_RelationshipEdgeView.ts} +1 -1
  160. package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipView.ts → DSLDiagram_RelationshipView.ts} +6 -6
  161. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Point.ts → DSLDiagram_Point.ts} +0 -0
  162. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.ts → DSLDiagram_PositionedRectangle.ts} +2 -2
  163. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.ts → DSLDiagram_Rectangle.ts} +0 -0
  164. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.ts → DSLDiagram_Vector.ts} +1 -1
  165. package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +2 -2
  166. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.ts → V1_DSLDiagram_ClassView.ts} +1 -1
  167. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.ts → V1_DSLDiagram_Diagram.ts} +3 -3
  168. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.ts → V1_DSLDiagram_GeneralizationView.ts} +2 -2
  169. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.ts → V1_DSLDiagram_PropertyHolderView.ts} +1 -1
  170. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.ts → V1_DSLDiagram_PropertyView.ts} +1 -1
  171. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.ts → V1_DSLDiagram_RelationshipView.ts} +1 -1
  172. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.ts → V1_DSLDiagram_Line.ts} +1 -1
  173. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.ts → V1_DSLDiagram_Point.ts} +0 -0
  174. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.ts → V1_DSLDiagram_PositionedRectangle.ts} +2 -2
  175. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.ts → V1_DSLDiagram_Rectangle.ts} +0 -0
  176. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +11 -11
  177. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +12 -12
  178. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
  179. package/src/stores/studio/DiagramEditorState.ts +4 -4
  180. package/tsconfig.json +23 -23
  181. package/CHANGELOG.md +0 -89
  182. package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.d.ts.map +0 -1
  183. package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.js.map +0 -1
  184. package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.d.ts.map +0 -1
  185. package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.js.map +0 -1
  186. package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.d.ts.map +0 -1
  187. package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.js.map +0 -1
  188. package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.d.ts.map +0 -1
  189. package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.js.map +0 -1
  190. package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.d.ts.map +0 -1
  191. package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.js.map +0 -1
  192. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.d.ts.map +0 -1
  193. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.js.map +0 -1
  194. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.d.ts.map +0 -1
  195. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.js.map +0 -1
  196. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.d.ts.map +0 -1
  197. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.js.map +0 -1
  198. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.d.ts.map +0 -1
  199. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.js.map +0 -1
  200. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.d.ts.map +0 -1
  201. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.js.map +0 -1
  202. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.d.ts.map +0 -1
  203. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.js.map +0 -1
  204. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.d.ts.map +0 -1
  205. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.js.map +0 -1
  206. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.d.ts.map +0 -1
  207. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.js.map +0 -1
  208. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.d.ts.map +0 -1
  209. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.js.map +0 -1
  210. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.d.ts.map +0 -1
  211. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.js.map +0 -1
  212. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.d.ts.map +0 -1
  213. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.js.map +0 -1
  214. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.d.ts.map +0 -1
  215. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.js.map +0 -1
  216. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.d.ts.map +0 -1
  217. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.js.map +0 -1
  218. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.d.ts.map +0 -1
  219. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.js.map +0 -1
  220. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.d.ts.map +0 -1
  221. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.js.map +0 -1
  222. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.d.ts.map +0 -1
  223. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.js.map +0 -1
  224. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.d.ts.map +0 -1
  225. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.js.map +0 -1
  226. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.d.ts.map +0 -1
  227. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.js.map +0 -1
@@ -33,7 +33,7 @@ import {
33
33
  } from '@finos/legend-studio';
34
34
  import { ShapesIcon } from '@finos/legend-art';
35
35
  import type { Class, PackageableElement } from '@finos/legend-graph';
36
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
36
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
37
37
  import { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
38
38
  import { DiagramEditor } from './DiagramEditor';
39
39
  import { ClassDiagramPreview } from './ClassDiagramPreview';
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import type { DSL_LegendStudioPlugin_Extension } from '@finos/legend-studio';
18
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/ClassView';
18
+ import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
19
  import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
20
20
 
21
21
  export type ClassViewContextMenuItemRendererConfiguration = {
@@ -102,7 +102,7 @@ import {
102
102
  useEditorStore,
103
103
  } from '@finos/legend-studio';
104
104
  import { cleanUpDeadReferencesInDiagram } from '../../helpers/DiagramHelper';
105
- import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/Point';
105
+ import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
106
106
  import type { DSLDiagram_LegendStudioPlugin_Extension } from './DSLDiagram_LegendStudioPlugin_Extension';
107
107
 
108
108
  const DiagramEditorContextMenu = observer(
@@ -195,7 +195,7 @@ const DiagramRendererHotkeyInfosModal = observer(
195
195
  Remove selected element(s)
196
196
  </div>
197
197
  <div className="hotkey__combination diagram-editor__hotkey__keys">
198
- <div className="hotkey__key">Delete</div>
198
+ <div className="hotkey__key">Remove</div>
199
199
  </div>
200
200
  </div>
201
201
  <div className="diagram-editor__hotkey__group">
@@ -20,8 +20,8 @@ import {
20
20
  type Class,
21
21
  PackageableElementExplicitReference,
22
22
  } from '@finos/legend-graph';
23
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
24
- import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/ClassView';
23
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
24
+ import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
25
25
 
26
26
  export class InheritanceDiagramRenderer extends DiagramRenderer {
27
27
  constructor(div: HTMLDivElement, _class: Class) {
@@ -22,7 +22,7 @@ import {
22
22
  type PackageableElement,
23
23
  type PureModel,
24
24
  } from '@finos/legend-graph';
25
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
25
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
26
26
  import { cleanUpDeadReferencesInDiagram } from '../helpers/DiagramHelper';
27
27
 
28
28
  export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import type { PureModel } from '@finos/legend-graph';
18
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
18
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
19
19
 
20
20
  export const getDiagram = (path: string, graph: PureModel): Diagram =>
21
21
  graph.getExtensionElement(path, Diagram, `Can't find diagram '${path}'`);
@@ -20,7 +20,7 @@ import {
20
20
  type PackageableElement,
21
21
  type PureGrammarElementLabeler,
22
22
  } from '@finos/legend-graph';
23
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
23
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
24
24
 
25
25
  const PURE_GRAMMAR_DIAGRAM_PARSER_NAME = 'Diagram';
26
26
  const PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL = 'Diagram';
@@ -15,9 +15,9 @@
15
15
  */
16
16
 
17
17
  import type { PureModel } from '@finos/legend-graph';
18
- import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/ClassView';
19
- import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
20
- import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/Point';
18
+ import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
+ import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
20
+ import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
21
21
 
22
22
  /**
23
23
  * Get absolute position of element on the screen by recursively walking up element tree
package/src/index.ts CHANGED
@@ -22,19 +22,19 @@ export { DiagramEditorState } from './stores/studio/DiagramEditorState';
22
22
 
23
23
  export { DiagramRenderer, DIAGRAM_INTERACTION_MODE } from './DiagramRenderer';
24
24
 
25
- export { Diagram } from './models/metamodels/pure/packageableElements/diagram/Diagram';
26
- export { ClassView } from './models/metamodels/pure/packageableElements/diagram/ClassView';
25
+ export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
26
+ export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
27
27
  export {
28
28
  RelationshipView,
29
29
  manageInsidePointsDynamically,
30
- } from './models/metamodels/pure/packageableElements/diagram/RelationshipView';
31
- export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/PropertyHolderView';
32
- export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/PropertyView';
33
- export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/AssociationView';
34
- export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/GeneralizationView';
35
- export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/Point';
36
- export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/Rectangle';
37
- export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle';
30
+ } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
31
+ export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
32
+ export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
33
+ export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
34
+ export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
35
+ export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
36
+ export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
37
+ export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
38
38
 
39
39
  export * from './helpers/DiagramHelper';
40
40
  export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin';
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PropertyHolderView } from './PropertyHolderView';
20
- import type { ClassView } from './ClassView';
21
- import type { Diagram } from './Diagram';
19
+ import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
20
+ import type { ClassView } from './DSLDiagram_ClassView';
21
+ import type { Diagram } from './DSLDiagram_Diagram';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
  import type {
24
24
  Association,
@@ -16,10 +16,10 @@
16
16
 
17
17
  import { computed, observable, action, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PositionedRectangle } from './geometry/PositionedRectangle';
20
- import { Rectangle } from './geometry/Rectangle';
21
- import { Point } from './geometry/Point';
22
- import type { Diagram } from './Diagram';
19
+ import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle';
20
+ import { Rectangle } from './geometry/DSLDiagram_Rectangle';
21
+ import { Point } from './geometry/DSLDiagram_Point';
22
+ import type { Diagram } from './DSLDiagram_Diagram';
23
23
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
24
24
  import type { Class, PackageableElementReference } from '@finos/legend-graph';
25
25
 
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
- import type { Diagram } from './Diagram';
19
- import type { ClassView } from './ClassView';
18
+ import type { Diagram } from './DSLDiagram_Diagram';
19
+ import type { ClassView } from './DSLDiagram_ClassView';
20
20
  import {
21
21
  PackageableElementExplicitReference,
22
22
  ReferenceWithOwner,
@@ -21,10 +21,10 @@ import {
21
21
  deleteEntry,
22
22
  type Hashable,
23
23
  } from '@finos/legend-shared';
24
- import type { ClassView } from './ClassView';
25
- import type { PropertyView } from './PropertyView';
26
- import type { GeneralizationView } from './GeneralizationView';
27
- import type { AssociationView } from './AssociationView';
24
+ import type { ClassView } from './DSLDiagram_ClassView';
25
+ import type { PropertyView } from './DSLDiagram_PropertyView';
26
+ import type { GeneralizationView } from './DSLDiagram_GeneralizationView';
27
+ import type { AssociationView } from './DSLDiagram_AssociationView';
28
28
  import {
29
29
  type PackageableElementVisitor,
30
30
  PackageableElement,
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { RelationshipView } from './RelationshipView';
20
- import type { Diagram } from './Diagram';
21
- import type { ClassView } from './ClassView';
19
+ import { RelationshipView } from './DSLDiagram_RelationshipView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
 
24
24
  export class GeneralizationView extends RelationshipView implements Hashable {
@@ -15,9 +15,9 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { RelationshipView } from './RelationshipView';
19
- import type { ClassView } from './ClassView';
20
- import type { Diagram } from './Diagram';
18
+ import { RelationshipView } from './DSLDiagram_RelationshipView';
19
+ import type { ClassView } from './DSLDiagram_ClassView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
21
  import type { PropertyReference } from '@finos/legend-graph';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
 
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PropertyHolderView } from './PropertyHolderView';
20
- import type { Diagram } from './Diagram';
21
- import type { ClassView } from './ClassView';
19
+ import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
22
  import type { PropertyReference } from '@finos/legend-graph';
23
23
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
24
24
 
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
- import type { ClassViewReference } from './ClassViewReference';
18
+ import type { ClassViewReference } from './DSLDiagram_ClassViewReference';
19
19
 
20
20
  export class RelationShipEdgeView {
21
21
  classView: ClassViewReference;
@@ -16,12 +16,12 @@
16
16
 
17
17
  import { observable, action, computed, makeObservable } from 'mobx';
18
18
  import { hashArray, changeEntry, type Hashable } from '@finos/legend-shared';
19
- import { RelationShipEdgeView as RelationshipEdgeView } from './RelationshipEdgeView';
20
- import { Point } from './geometry/Point';
21
- import type { ClassView } from './ClassView';
22
- import { Vector } from './geometry/Vector';
23
- import type { Diagram } from './Diagram';
24
- import { ClassViewExplicitReference } from './ClassViewReference';
19
+ import { RelationShipEdgeView as RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
20
+ import { Point } from './geometry/DSLDiagram_Point';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
+ import { Vector } from './geometry/DSLDiagram_Vector';
23
+ import type { Diagram } from './DSLDiagram_Diagram';
24
+ import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
25
25
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
26
26
 
27
27
  /**
@@ -16,8 +16,8 @@
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { Point } from './Point';
20
- import { Rectangle } from './Rectangle';
19
+ import { Point } from './DSLDiagram_Point';
20
+ import { Rectangle } from './DSLDiagram_Rectangle';
21
21
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
22
22
 
23
23
  export class PositionedRectangle implements Hashable {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { Point } from './Point';
17
+ import type { Point } from './DSLDiagram_Point';
18
18
 
19
19
  export class Vector {
20
20
  x: number;
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../../../package.json';
18
- import { V1_Diagram } from './v1/model/packageableElements/diagram/V1_Diagram';
18
+ import { V1_Diagram } from './v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram';
19
19
  import { type PlainObject, assertType } from '@finos/legend-shared';
20
20
  import { deserialize, serialize } from 'serializr';
21
21
  import {
@@ -35,7 +35,7 @@ import {
35
35
  V1_ElementBuilder,
36
36
  } from '@finos/legend-graph';
37
37
  import { V1_transformDiagram } from './v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper';
38
- import { Diagram } from '../../metamodels/pure/packageableElements/diagram/Diagram';
38
+ import { Diagram } from '../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
39
39
  import { getDiagram } from '../../../graphManager/DSLDiagram_GraphManagerHelper';
40
40
  import {
41
41
  V1_buildClassView,
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { V1_PositionedRectangle } from './geometry/V1_PositionedRectangle';
18
+ import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle';
19
19
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
20
20
 
21
21
  export class V1_ClassView extends V1_PositionedRectangle implements Hashable {
@@ -15,9 +15,9 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import type { V1_ClassView } from './V1_ClassView';
19
- import type { V1_PropertyView } from './V1_PropertyView';
20
- import type { V1_GeneralizationView } from './V1_GeneralizationView';
18
+ import type { V1_ClassView } from './V1_DSLDiagram_ClassView';
19
+ import type { V1_PropertyView } from './V1_DSLDiagram_PropertyView';
20
+ import type { V1_GeneralizationView } from './V1_DSLDiagram_GeneralizationView';
21
21
  import {
22
22
  type V1_PackageableElementVisitor,
23
23
  V1_PackageableElement,
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { V1_RelationshipView } from './V1_RelationshipView';
19
- import type { V1_Line } from './geometry/V1_Line';
18
+ import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
19
+ import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
20
20
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
21
21
 
22
22
  export class V1_GeneralizationView
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { V1_RelationshipView } from './V1_RelationshipView';
18
+ import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView';
19
19
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
20
20
  import type { V1_PropertyPointer } from '@finos/legend-graph';
21
21
 
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { V1_PropertyHolderView } from './V1_PropertyHolderView';
18
+ import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView';
19
19
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
20
20
  import type { V1_PropertyPointer } from '@finos/legend-graph';
21
21
 
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import type { V1_Line } from './geometry/V1_Line';
18
+ import type { V1_Line } from './geometry/V1_DSLDiagram_Line';
19
19
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils';
20
20
 
21
21
  export class V1_RelationshipView implements Hashable {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { V1_Point } from './V1_Point';
17
+ import type { V1_Point } from './V1_DSLDiagram_Point';
18
18
 
19
19
  export class V1_Line {
20
20
  points: V1_Point[] = [];
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import type { V1_Point } from './V1_Point';
19
- import type { V1_Rectangle } from './V1_Rectangle';
18
+ import type { V1_Point } from './V1_DSLDiagram_Point';
19
+ import type { V1_Rectangle } from './V1_DSLDiagram_Rectangle';
20
20
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils';
21
21
 
22
22
  export class V1_PositionedRectangle implements Hashable {
@@ -24,17 +24,17 @@ import {
24
24
  assertNonNullable,
25
25
  guaranteeNonNullable,
26
26
  } from '@finos/legend-shared';
27
- import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/Diagram';
28
- import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/ClassView';
29
- import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/Point';
30
- import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/Rectangle';
31
- import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/PropertyView';
32
- import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/GeneralizationView';
33
- import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_ClassView';
34
- import type { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_Point';
35
- import type { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_Rectangle';
36
- import type { V1_PropertyView } from '../../model/packageableElements/diagram/V1_PropertyView';
37
- import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_GeneralizationView';
27
+ import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
28
+ import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
29
+ import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
30
+ import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
31
+ import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
32
+ import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
33
+ import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
34
+ import type { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
35
+ import type { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
36
+ import type { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
37
+ import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
38
38
  import { getClassView } from '../../../../../../helpers/DiagramHelper';
39
39
 
40
40
  const buildPoint = (point: V1_Point): Point => {
@@ -14,18 +14,18 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/ClassView';
18
- import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/Diagram';
19
- import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/GeneralizationView';
20
- import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/PropertyView';
21
- import type { RelationShipEdgeView } from '../../../../../metamodels/pure/packageableElements/diagram/RelationshipEdgeView';
22
- import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_Point';
23
- import { V1_ClassView } from '../../model/packageableElements/diagram/V1_ClassView';
24
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_Diagram';
25
- import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_GeneralizationView';
26
- import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_Line';
27
- import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_Rectangle';
28
- import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_PropertyView';
17
+ import type { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
18
+ import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
19
+ import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
20
+ import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
21
+ import type { RelationShipEdgeView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView';
22
+ import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
23
+ import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
24
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
25
+ import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
26
+ import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
27
+ import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
28
+ import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
29
29
  import {
30
30
  V1_initPackageableElement,
31
31
  V1_transformElementReference,
@@ -19,13 +19,13 @@ import {
19
19
  usingConstantValueSchema,
20
20
  usingModelSchema,
21
21
  } from '@finos/legend-shared';
22
- import { V1_ClassView } from '../../model/packageableElements/diagram/V1_ClassView';
23
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_Diagram';
24
- import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_Point';
25
- import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_Rectangle';
26
- import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_Line';
27
- import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_PropertyView';
28
- import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_GeneralizationView';
22
+ import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
23
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
24
+ import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
25
+ import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
26
+ import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
27
+ import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
28
+ import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
29
29
  import { V1_propertyPointerModelSchema } from '@finos/legend-graph';
30
30
 
31
31
  export const V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE = 'diagram';
@@ -41,10 +41,10 @@ import {
41
41
  ClassEditorState,
42
42
  ElementEditorState,
43
43
  } from '@finos/legend-studio';
44
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/ClassView';
45
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/Point';
46
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
47
- import type { PropertyHolderView } from '../../models/metamodels/pure/packageableElements/diagram/PropertyHolderView';
44
+ import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
45
+ import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
46
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
47
+ import type { PropertyHolderView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
48
48
 
49
49
  enum DIAGRAM_EDITOR_HOTKEY {
50
50
  RECENTER = 'RECENTER',
package/tsconfig.json CHANGED
@@ -46,30 +46,30 @@
46
46
  "./src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts",
47
47
  "./src/helpers/DiagramHelper.ts",
48
48
  "./src/models/DSLDiagram_ModelUtils.ts",
49
- "./src/models/metamodels/pure/packageableElements/diagram/AssociationView.ts",
50
- "./src/models/metamodels/pure/packageableElements/diagram/ClassView.ts",
51
- "./src/models/metamodels/pure/packageableElements/diagram/ClassViewReference.ts",
52
- "./src/models/metamodels/pure/packageableElements/diagram/Diagram.ts",
53
- "./src/models/metamodels/pure/packageableElements/diagram/GeneralizationView.ts",
54
- "./src/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.ts",
55
- "./src/models/metamodels/pure/packageableElements/diagram/PropertyView.ts",
56
- "./src/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.ts",
57
- "./src/models/metamodels/pure/packageableElements/diagram/RelationshipView.ts",
58
- "./src/models/metamodels/pure/packageableElements/diagram/geometry/Point.ts",
59
- "./src/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.ts",
60
- "./src/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.ts",
61
- "./src/models/metamodels/pure/packageableElements/diagram/geometry/Vector.ts",
49
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts",
50
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts",
51
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts",
52
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts",
53
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts",
54
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts",
55
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts",
56
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts",
57
+ "./src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts",
58
+ "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts",
59
+ "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts",
60
+ "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts",
61
+ "./src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.ts",
62
62
  "./src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts",
63
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.ts",
64
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.ts",
65
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.ts",
66
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.ts",
67
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.ts",
68
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.ts",
69
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.ts",
70
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.ts",
71
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.ts",
72
- "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.ts",
63
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts",
64
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts",
65
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts",
66
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts",
67
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts",
68
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts",
69
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts",
70
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts",
71
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts",
72
+ "./src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts",
73
73
  "./src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts",
74
74
  "./src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts",
75
75
  "./src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts",