@finos/legend-extension-dsl-diagram 4.1.5 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (263) hide show
  1. package/lib/DSLDiagram_Extension.d.ts +1 -1
  2. package/lib/DSLDiagram_Extension.d.ts.map +1 -1
  3. package/lib/DSLDiagram_Extension.js +3 -3
  4. package/lib/DSLDiagram_Extension.js.map +1 -1
  5. package/lib/DiagramRenderer.d.ts +8 -8
  6. package/lib/DiagramRenderer.d.ts.map +1 -1
  7. package/lib/DiagramRenderer.js +10 -10
  8. package/lib/DiagramRenderer.js.map +1 -1
  9. package/lib/components/studio/ClassDiagramPreview.js +1 -1
  10. package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
  11. package/lib/components/studio/{DSLDiagram_LegendStudioPlugin.d.ts → DSLDiagram_LegendStudioApplicationPlugin.d.ts} +3 -3
  12. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.d.ts.map +1 -0
  13. package/lib/components/studio/{DSLDiagram_LegendStudioPlugin.js → DSLDiagram_LegendStudioApplicationPlugin.js} +5 -5
  14. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.js.map +1 -0
  15. package/lib/components/studio/{DSLDiagram_LegendStudioPlugin_Extension.d.ts → DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts} +4 -4
  16. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  17. package/lib/components/studio/{DSLDiagram_LegendStudioPlugin_Extension.js → DSLDiagram_LegendStudioApplicationPlugin_Extension.js} +1 -1
  18. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  19. package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
  20. package/lib/components/studio/DiagramEditor.js +12 -11
  21. package/lib/components/studio/DiagramEditor.js.map +1 -1
  22. package/lib/components/studio/InheritanceDiagramRenderer.js +2 -2
  23. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  24. package/lib/{models/DSLDiagram_ModelUtils.d.ts → graph/DSLDiagram_HashUtils.d.ts} +1 -1
  25. package/lib/graph/DSLDiagram_HashUtils.d.ts.map +1 -0
  26. package/lib/{models/DSLDiagram_ModelUtils.js → graph/DSLDiagram_HashUtils.js} +1 -1
  27. package/lib/graph/DSLDiagram_HashUtils.js.map +1 -0
  28. package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
  29. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  30. package/lib/{helpers → graph/helpers}/DSLDiagram_Helper.d.ts +5 -5
  31. package/lib/graph/helpers/DSLDiagram_Helper.d.ts.map +1 -0
  32. package/lib/{helpers → graph/helpers}/DSLDiagram_Helper.js +4 -4
  33. package/lib/graph/helpers/DSLDiagram_Helper.js.map +1 -0
  34. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +0 -0
  35. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -0
  36. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +1 -1
  37. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -0
  38. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +0 -0
  39. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -0
  40. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.js +1 -1
  41. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -0
  42. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +0 -0
  43. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -0
  44. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js +0 -0
  45. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -0
  46. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +0 -0
  47. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -0
  48. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
  49. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -0
  50. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +0 -0
  51. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -0
  52. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +1 -1
  53. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -0
  54. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +0 -0
  55. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  56. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +1 -1
  57. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -0
  58. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +0 -0
  59. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -0
  60. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +1 -1
  61. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -0
  62. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +0 -0
  63. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -0
  64. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +1 -1
  65. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -0
  66. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts +0 -0
  67. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +1 -0
  68. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js +0 -0
  69. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +1 -0
  70. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -0
  71. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -0
  72. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -1
  73. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -0
  74. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +0 -0
  75. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  76. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +1 -1
  77. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -0
  78. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts +0 -0
  79. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +1 -0
  80. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
  81. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -0
  82. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  83. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  84. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  85. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  86. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +1 -1
  87. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  88. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +9 -9
  89. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
  90. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts +0 -0
  91. package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +1 -0
  92. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.js +2 -2
  93. package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -0
  94. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +0 -0
  95. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -0
  96. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +1 -1
  97. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -0
  98. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +0 -0
  99. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -0
  100. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
  101. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -0
  102. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +0 -0
  103. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -0
  104. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +1 -1
  105. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -0
  106. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +0 -0
  107. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  108. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +1 -1
  109. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -0
  110. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +0 -0
  111. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -0
  112. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +1 -1
  113. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -0
  114. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +0 -0
  115. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -0
  116. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
  117. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -0
  118. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +0 -0
  119. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -0
  120. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js +0 -0
  121. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +1 -0
  122. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts +0 -0
  123. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +1 -0
  124. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
  125. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -0
  126. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +0 -0
  127. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  128. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
  129. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -0
  130. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts +0 -0
  131. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +1 -0
  132. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
  133. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -0
  134. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +4 -4
  135. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -0
  136. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +7 -7
  137. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -0
  138. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +1 -1
  139. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -0
  140. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +0 -0
  141. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -0
  142. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +0 -0
  143. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -0
  144. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +0 -0
  145. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -0
  146. package/lib/index.css +1 -1
  147. package/lib/index.d.ts +14 -14
  148. package/lib/index.d.ts.map +1 -1
  149. package/lib/index.js +14 -14
  150. package/lib/index.js.map +1 -1
  151. package/lib/package.json +12 -12
  152. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +10 -10
  153. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
  154. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +1 -1
  155. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
  156. package/lib/stores/studio/DiagramEditorState.d.ts +4 -4
  157. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  158. package/lib/stores/studio/DiagramEditorState.js +2 -2
  159. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  160. package/package.json +17 -17
  161. package/src/DSLDiagram_Extension.ts +3 -3
  162. package/src/DiagramRenderer.ts +15 -12
  163. package/src/components/studio/ClassDiagramPreview.tsx +1 -1
  164. package/src/components/studio/{DSLDiagram_LegendStudioPlugin.tsx → DSLDiagram_LegendStudioApplicationPlugin.tsx} +11 -11
  165. package/src/components/studio/{DSLDiagram_LegendStudioPlugin_Extension.tsx → DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx} +4 -4
  166. package/src/components/studio/DiagramEditor.tsx +13 -14
  167. package/src/components/studio/InheritanceDiagramRenderer.ts +2 -2
  168. package/src/{models/DSLDiagram_ModelUtils.ts → graph/DSLDiagram_HashUtils.ts} +0 -0
  169. package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
  170. package/src/{helpers → graph/helpers}/DSLDiagram_Helper.ts +6 -6
  171. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +1 -1
  172. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +1 -1
  173. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +0 -0
  174. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +1 -1
  175. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +1 -1
  176. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +1 -1
  177. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +1 -1
  178. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +1 -1
  179. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.ts +0 -0
  180. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -1
  181. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +1 -1
  182. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
  183. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  184. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +1 -1
  185. package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +9 -9
  186. package/src/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +2 -2
  187. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +1 -1
  188. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +1 -1
  189. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +1 -1
  190. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +1 -1
  191. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +1 -1
  192. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +1 -1
  193. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +0 -0
  194. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
  195. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +1 -1
  196. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
  197. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +8 -8
  198. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +5 -5
  199. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +0 -0
  200. package/src/index.ts +14 -14
  201. package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +11 -11
  202. package/src/stores/studio/DiagramEditorState.ts +5 -5
  203. package/tsconfig.json +30 -30
  204. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +0 -1
  205. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +0 -1
  206. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +0 -1
  207. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.js.map +0 -1
  208. package/lib/helpers/DSLDiagram_Helper.d.ts.map +0 -1
  209. package/lib/helpers/DSLDiagram_Helper.js.map +0 -1
  210. package/lib/models/DSLDiagram_ModelUtils.d.ts.map +0 -1
  211. package/lib/models/DSLDiagram_ModelUtils.js.map +0 -1
  212. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +0 -1
  213. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +0 -1
  214. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +0 -1
  215. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +0 -1
  216. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +0 -1
  217. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +0 -1
  218. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +0 -1
  219. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +0 -1
  220. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +0 -1
  221. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +0 -1
  222. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +0 -1
  223. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +0 -1
  224. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +0 -1
  225. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +0 -1
  226. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +0 -1
  227. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +0 -1
  228. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +0 -1
  229. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +0 -1
  230. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +0 -1
  231. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +0 -1
  232. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +0 -1
  233. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +0 -1
  234. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +0 -1
  235. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +0 -1
  236. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +0 -1
  237. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +0 -1
  238. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +0 -1
  239. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +0 -1
  240. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +0 -1
  241. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +0 -1
  242. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +0 -1
  243. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +0 -1
  244. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +0 -1
  245. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +0 -1
  246. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +0 -1
  247. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +0 -1
  248. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +0 -1
  249. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +0 -1
  250. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +0 -1
  251. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +0 -1
  252. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +0 -1
  253. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +0 -1
  254. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +0 -1
  255. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +0 -1
  256. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +0 -1
  257. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +0 -1
  258. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +0 -1
  259. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +0 -1
  260. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +0 -1
  261. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +0 -1
  262. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +0 -1
  263. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +0 -1
@@ -16,7 +16,7 @@
16
16
 
17
17
  import packageJson from '../../../package.json';
18
18
  import {
19
- LegendStudioPlugin,
19
+ LegendStudioApplicationPlugin,
20
20
  type NewElementFromStateCreator,
21
21
  type EditorStore,
22
22
  type ElementEditorState,
@@ -25,7 +25,7 @@ import {
25
25
  type ElementProjectExplorerDnDTypeGetter,
26
26
  type ElementIconGetter,
27
27
  type ElementEditorRenderer,
28
- type DSL_LegendStudioPlugin_Extension,
28
+ type DSL_LegendStudioApplicationPlugin_Extension,
29
29
  type NewElementState,
30
30
  type ElementEditorPostDeleteAction,
31
31
  type ElementEditorPostRenameAction,
@@ -35,10 +35,10 @@ import {
35
35
  type PureGrammarParserKeywordSuggestionGetter,
36
36
  type PureGrammarTextSuggestion,
37
37
  type PureGrammarParserElementSnippetSuggestionsGetter,
38
- } from '@finos/legend-studio';
38
+ } from '@finos/legend-application-studio';
39
39
  import { ShapesIcon } from '@finos/legend-art';
40
40
  import type { Class, PackageableElement } from '@finos/legend-graph';
41
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
41
+ import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
42
42
  import { DiagramEditorState } from '../../stores/studio/DiagramEditorState.js';
43
43
  import { DiagramEditor } from './DiagramEditor.js';
44
44
  import { ClassDiagramPreview } from './ClassDiagramPreview.js';
@@ -53,18 +53,18 @@ import {
53
53
  getDiagramSnippetWithOneClassView,
54
54
  getDiagramSnippetWithPropertyView,
55
55
  } from './DSLDiagram_CodeSnippets.js';
56
- import type { LegendApplicationDocumentationEntry } from '@finos/legend-application';
56
+ import type { DocumentationEntry } from '@finos/legend-application';
57
57
  import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js';
58
58
 
59
59
  const DIAGRAM_ELEMENT_TYPE = 'DIAGRAM';
60
60
  const DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DIAGRAM';
61
61
 
62
- export class DSLDiagram_LegendStudioPlugin
63
- extends LegendStudioPlugin
64
- implements DSL_LegendStudioPlugin_Extension
62
+ export class DSLDiagram_LegendStudioApplicationPlugin
63
+ extends LegendStudioApplicationPlugin
64
+ implements DSL_LegendStudioApplicationPlugin_Extension
65
65
  {
66
66
  constructor() {
67
- super(packageJson.extensions.studioPlugin, packageJson.version);
67
+ super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
68
68
  }
69
69
 
70
70
  override getExtraRequiredDocumentationKeys(): string[] {
@@ -201,7 +201,7 @@ export class DSLDiagram_LegendStudioPlugin
201
201
  editorStore: EditorStore,
202
202
  parserKeyword: string,
203
203
  elementKeyword: string,
204
- ): LegendApplicationDocumentationEntry | undefined => {
204
+ ): DocumentationEntry | undefined => {
205
205
  if (parserKeyword === PURE_GRAMMAR_DIAGRAM_PARSER_NAME) {
206
206
  if (elementKeyword === PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL) {
207
207
  return editorStore.applicationStore.documentationService.getDocEntry(
@@ -219,7 +219,7 @@ export class DSLDiagram_LegendStudioPlugin
219
219
  (
220
220
  editorStore: EditorStore,
221
221
  parserKeyword: string,
222
- ): LegendApplicationDocumentationEntry | undefined => {
222
+ ): DocumentationEntry | undefined => {
223
223
  if (parserKeyword === PURE_GRAMMAR_DIAGRAM_PARSER_NAME) {
224
224
  return editorStore.applicationStore.documentationService.getDocEntry(
225
225
  DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { DSL_LegendStudioPlugin_Extension } from '@finos/legend-studio';
18
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
17
+ import type { DSL_LegendStudioApplicationPlugin_Extension } from '@finos/legend-application-studio';
18
+ import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
19
19
  import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState.js';
20
20
 
21
21
  export type ClassViewContextMenuItemRendererConfiguration = {
@@ -26,8 +26,8 @@ export type ClassViewContextMenuItemRendererConfiguration = {
26
26
  ) => React.ReactNode | undefined;
27
27
  };
28
28
 
29
- export interface DSLDiagram_LegendStudioPlugin_Extension
30
- extends DSL_LegendStudioPlugin_Extension {
29
+ export interface DSLDiagram_LegendStudioApplicationPlugin_Extension
30
+ extends DSL_LegendStudioApplicationPlugin_Extension {
31
31
  /**
32
32
  * Get the list of items to be rendered in the context menu of a class view.
33
33
  */
@@ -113,10 +113,10 @@ import {
113
113
  property_setName,
114
114
  property_setGenericType,
115
115
  property_setMultiplicity,
116
- } from '@finos/legend-studio';
117
- import { cleanUpDeadReferencesInDiagram } from '../../helpers/DSLDiagram_Helper.js';
118
- import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
119
- import type { DSLDiagram_LegendStudioPlugin_Extension } from './DSLDiagram_LegendStudioPlugin_Extension.js';
116
+ } from '@finos/legend-application-studio';
117
+ import { cleanUpDeadReferencesInDiagram } from '../../graph/helpers/DSLDiagram_Helper.js';
118
+ import { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
119
+ import type { DSLDiagram_LegendStudioApplicationPlugin_Extension } from './DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
120
120
  import {
121
121
  classView_setHideProperties,
122
122
  classView_setHideStereotypes,
@@ -136,11 +136,11 @@ const DiagramEditorContextMenu = observer(
136
136
  const extraClassViewContextMenuItems =
137
137
  diagramEditorState.contextMenuClassView
138
138
  ? editorStore.pluginManager
139
- .getStudioPlugins()
139
+ .getApplicationPlugins()
140
140
  .flatMap(
141
141
  (plugin) =>
142
142
  (
143
- plugin as DSLDiagram_LegendStudioPlugin_Extension
143
+ plugin as DSLDiagram_LegendStudioApplicationPlugin_Extension
144
144
  ).getExtraClassViewContextMenuItemRendererConfigurations?.() ??
145
145
  [],
146
146
  )
@@ -694,11 +694,10 @@ const DiagramEditorOverlay = observer(
694
694
  {
695
695
  classes: ['diagram-editor__overlay__panel'],
696
696
  onStopResize: resizeSidePanel,
697
+ size: diagramEditorState.sidePanelDisplayState.size,
697
698
  },
698
699
  )}
699
- flex={0}
700
700
  direction={-1}
701
- size={diagramEditorState.sidePanelDisplayState.size}
702
701
  >
703
702
  <div className="panel diagram-editor__side-panel">
704
703
  {sidePanelState instanceof
@@ -717,7 +716,7 @@ const DiagramEditorOverlay = observer(
717
716
  },
718
717
  );
719
718
 
720
- const DiagramEditorInlineClassRenamerInner = observer(
719
+ const DiagramEditorInlineClassRenamerContent = observer(
721
720
  (props: {
722
721
  inlineClassRenamerState: DiagramEditorInlineClassRenamerState;
723
722
  }) => {
@@ -824,7 +823,7 @@ const DiagramEditorInlineClassRenamer = observer(
824
823
  >
825
824
  <div className="diagram-editor__inline-class-creator__container">
826
825
  {inlineClassRenamerState && (
827
- <DiagramEditorInlineClassRenamerInner
826
+ <DiagramEditorInlineClassRenamerContent
828
827
  inlineClassRenamerState={inlineClassRenamerState}
829
828
  />
830
829
  )}
@@ -834,7 +833,7 @@ const DiagramEditorInlineClassRenamer = observer(
834
833
  },
835
834
  );
836
835
 
837
- const DiagramEditorInlineClassCreatorInner = observer(
836
+ const DiagramEditorInlineClassCreatorContent = observer(
838
837
  (props: {
839
838
  inlineClassCreatorState: DiagramEditorInlineClassCreatorState;
840
839
  }) => {
@@ -954,7 +953,7 @@ const DiagramEditorInlineClassCreator = observer(
954
953
  >
955
954
  <div className="diagram-editor__inline-class-creator__container">
956
955
  {inlineClassCreatorState && (
957
- <DiagramEditorInlineClassCreatorInner
956
+ <DiagramEditorInlineClassCreatorContent
958
957
  inlineClassCreatorState={inlineClassCreatorState}
959
958
  />
960
959
  )}
@@ -1029,7 +1028,7 @@ const DiagramEditorInlinePropertyMultiplicityEditor = observer(
1029
1028
  },
1030
1029
  );
1031
1030
 
1032
- const DiagramEditorInlinePropertyEditorInner = observer(
1031
+ const DiagramEditorInlinePropertyEditorContent = observer(
1033
1032
  (props: {
1034
1033
  inlinePropertyEditorState: DiagramEditorInlinePropertyEditorState;
1035
1034
  }) => {
@@ -1158,7 +1157,7 @@ const DiagramEditorInlinePropertyEditor = observer(
1158
1157
  >
1159
1158
  <div className="diagram-editor__inline-property-editor__container">
1160
1159
  {inlinePropertyEditorState && (
1161
- <DiagramEditorInlinePropertyEditorInner
1160
+ <DiagramEditorInlinePropertyEditorContent
1162
1161
  inlinePropertyEditorState={inlinePropertyEditorState}
1163
1162
  />
1164
1163
  )}
@@ -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/DSLDiagram_Diagram.js';
24
- import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
23
+ import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
24
+ import { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
25
25
 
26
26
  export class InheritanceDiagramRenderer extends DiagramRenderer {
27
27
  constructor(div: HTMLDivElement, _class: Class) {
@@ -22,8 +22,8 @@ import {
22
22
  type PackageableElement,
23
23
  type PureModel,
24
24
  } from '@finos/legend-graph';
25
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
26
- import { cleanUpDeadReferencesInDiagram } from '../helpers/DSLDiagram_Helper.js';
25
+ import { Diagram } from '../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
26
+ import { cleanUpDeadReferencesInDiagram } from '../graph/helpers/DSLDiagram_Helper.js';
27
27
 
28
28
  export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
29
29
  constructor() {
@@ -14,18 +14,18 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { RelationshipView } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
18
- import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
17
+ import { RelationshipView } from '../metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
18
+ import { Point } from '../metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
19
19
  import {
20
20
  type PureModel,
21
21
  Class,
22
22
  getAllOwnClassProperties,
23
23
  } from '@finos/legend-graph';
24
24
  import { deleteEntry } from '@finos/legend-shared';
25
- import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
26
- import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
27
- import { PositionedRectangle } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
28
- import { Rectangle } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
25
+ import type { ClassView } from '../metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
26
+ import type { Diagram } from '../metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
27
+ import { PositionedRectangle } from '../metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
28
+ import { Rectangle } from '../metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
29
29
 
30
30
  export class Vector {
31
31
  readonly x: number;
@@ -18,7 +18,7 @@ import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
19
19
  import type { ClassView } from './DSLDiagram_ClassView.js';
20
20
  import type { Diagram } from './DSLDiagram_Diagram.js';
21
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
21
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
22
22
  import type {
23
23
  Association,
24
24
  PackageableElementReference,
@@ -19,7 +19,7 @@ import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle.j
19
19
  import { Rectangle } from './geometry/DSLDiagram_Rectangle.js';
20
20
  import { Point } from './geometry/DSLDiagram_Point.js';
21
21
  import type { Diagram } from './DSLDiagram_Diagram.js';
22
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
22
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
23
23
  import type { Class, PackageableElementReference } from '@finos/legend-graph';
24
24
 
25
25
  export class ClassView extends PositionedRectangle implements Hashable {
@@ -23,7 +23,7 @@ import {
23
23
  type PackageableElementVisitor,
24
24
  PackageableElement,
25
25
  } from '@finos/legend-graph';
26
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
26
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
27
27
 
28
28
  export class Diagram extends PackageableElement implements Hashable {
29
29
  classViews: ClassView[] = [];
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { RelationshipView } from './DSLDiagram_RelationshipView.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
20
20
 
21
21
  export class GeneralizationView extends RelationshipView implements Hashable {
22
22
  override get hashCode(): string {
@@ -19,7 +19,7 @@ import { RelationshipView } from './DSLDiagram_RelationshipView.js';
19
19
  import type { ClassView } from './DSLDiagram_ClassView.js';
20
20
  import type { Diagram } from './DSLDiagram_Diagram.js';
21
21
  import type { PropertyReference } from '@finos/legend-graph';
22
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
22
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
23
23
 
24
24
  export class PropertyHolderView extends RelationshipView implements Hashable {
25
25
  property: PropertyReference;
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
20
20
 
21
21
  export class PropertyView extends PropertyHolderView implements Hashable {
22
22
  override get hashCode(): string {
@@ -20,7 +20,7 @@ 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';
22
22
  import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference.js';
23
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
23
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_HashUtils.js';
24
24
 
25
25
  export class RelationshipView implements Hashable {
26
26
  readonly _OWNER: Diagram;
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
18
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_HashUtils.js';
19
19
 
20
20
  export class Point implements Hashable {
21
21
  readonly x: number;
@@ -17,7 +17,7 @@
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { Point } from './DSLDiagram_Point.js';
19
19
  import { Rectangle } from './DSLDiagram_Rectangle.js';
20
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
20
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_HashUtils.js';
21
21
 
22
22
  export class PositionedRectangle implements Hashable {
23
23
  _dummyObservable = {};
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
18
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_HashUtils.js';
19
19
 
20
20
  export class Rectangle implements Hashable {
21
21
  readonly width: number;
@@ -16,7 +16,7 @@
16
16
 
17
17
  import type { BasicModel, PureModel } from '@finos/legend-graph';
18
18
  import { guaranteeNonNullable } from '@finos/legend-shared';
19
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
+ import { Diagram } from '../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
20
20
 
21
21
  export const getDiagram = (path: string, graph: PureModel): Diagram =>
22
22
  graph.getExtensionElement(path, Diagram, `Can't find diagram '${path}'`);
@@ -22,7 +22,7 @@ import {
22
22
  type PackageableElement,
23
23
  type PureGrammarElementLabeler,
24
24
  } from '@finos/legend-graph';
25
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
25
+ import { Diagram } from '../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
26
26
  import { observe_Diagram } from './action/changeDetection/DSLDiagram_ObserverHelper.js';
27
27
 
28
28
  export const PURE_GRAMMAR_DIAGRAM_PARSER_NAME = 'Diagram';
@@ -21,15 +21,15 @@ import {
21
21
  skipObserved,
22
22
  } from '@finos/legend-graph';
23
23
  import { computed, makeObservable, observable, override } from 'mobx';
24
- import type { AssociationView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
25
- import type { ClassView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
26
- import type { ClassViewReference } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js';
27
- import type { Diagram } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
28
- import type { GeneralizationView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
29
- import type { PropertyView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
30
- import type { RelationshipViewEnd } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
31
- import type { RelationshipView } from '../../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
32
- import type { PositionedRectangle } from '../../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
24
+ import type { AssociationView } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
25
+ import type { ClassView } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
26
+ import type { ClassViewReference } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js';
27
+ import type { Diagram } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
28
+ import type { GeneralizationView } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
29
+ import type { PropertyView } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
30
+ import type { RelationshipViewEnd } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
31
+ import type { RelationshipView } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
32
+ import type { PositionedRectangle } from '../../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
33
33
 
34
34
  export const observe_PositionedRectangle = skipObserved(
35
35
  (metamodel: PositionedRectangle): PositionedRectangle =>
@@ -36,8 +36,8 @@ import {
36
36
  V1_buildFullPath,
37
37
  } from '@finos/legend-graph';
38
38
  import { V1_transformDiagram } from './v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js';
39
- import { Diagram } from '../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
40
- import { getOwnDiagram } from '../../../graphManager/DSLDiagram_GraphManagerHelper.js';
39
+ import { Diagram } from '../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
40
+ import { getOwnDiagram } from '../../DSLDiagram_GraphManagerHelper.js';
41
41
  import {
42
42
  V1_buildClassView,
43
43
  V1_buildGeneralizationView,
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { V1_PositionedRectangle } from './geometry/V1_DSLDiagram_PositionedRectangle.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
20
20
 
21
21
  export class V1_ClassView extends V1_PositionedRectangle implements Hashable {
22
22
  id!: string;
@@ -22,7 +22,7 @@ import {
22
22
  type V1_PackageableElementVisitor,
23
23
  V1_PackageableElement,
24
24
  } from '@finos/legend-graph';
25
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
25
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
26
26
 
27
27
  export class V1_Diagram extends V1_PackageableElement implements Hashable {
28
28
  classViews: V1_ClassView[] = [];
@@ -17,7 +17,7 @@
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
19
19
  import type { V1_Line } from './geometry/V1_DSLDiagram_Line.js';
20
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
20
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
21
21
 
22
22
  export class V1_GeneralizationView
23
23
  extends V1_RelationshipView
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { V1_RelationshipView } from './V1_DSLDiagram_RelationshipView.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
20
20
  import type { V1_PropertyPointer } from '@finos/legend-graph';
21
21
 
22
22
  export class V1_PropertyHolderView
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import { V1_PropertyHolderView } from './V1_DSLDiagram_PropertyHolderView.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
20
20
  import type { V1_PropertyPointer } from '@finos/legend-graph';
21
21
 
22
22
  export class V1_PropertyView extends V1_PropertyHolderView implements Hashable {
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import type { V1_Line } from './geometry/V1_DSLDiagram_Line.js';
19
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../DSLDiagram_ModelUtils.js';
19
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../graph/DSLDiagram_HashUtils.js';
20
20
 
21
21
  export class V1_RelationshipView implements Hashable {
22
22
  sourceView!: string;
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils.js';
18
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../../graph/DSLDiagram_HashUtils.js';
19
19
 
20
20
  export class V1_Point implements Hashable {
21
21
  x!: number;
@@ -17,7 +17,7 @@
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import type { V1_Point } from './V1_DSLDiagram_Point.js';
19
19
  import type { V1_Rectangle } from './V1_DSLDiagram_Rectangle.js';
20
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils.js';
20
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../../graph/DSLDiagram_HashUtils.js';
21
21
 
22
22
  export class V1_PositionedRectangle implements Hashable {
23
23
  rectangle!: V1_Rectangle;
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../DSLDiagram_ModelUtils.js';
18
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../../../../graph/DSLDiagram_HashUtils.js';
19
19
 
20
20
  export class V1_Rectangle implements Hashable {
21
21
  width!: number;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { getDiagram } from '../../../../../../graphManager/DSLDiagram_GraphManagerHelper.js';
17
+ import { getDiagram } from '../../../../../DSLDiagram_GraphManagerHelper.js';
18
18
  import type {
19
19
  PackageableElementImplicitReference,
20
20
  V1_GraphBuilderContext,
@@ -24,12 +24,12 @@ import {
24
24
  assertNonNullable,
25
25
  guaranteeNonNullable,
26
26
  } from '@finos/legend-shared';
27
- import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
28
- import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
29
- import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
30
- import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
31
- import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
32
- import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
27
+ import type { Diagram } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
28
+ import { ClassView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
29
+ import { Point } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
30
+ import { Rectangle } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
31
+ import { PropertyView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
32
+ import { GeneralizationView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
33
33
  import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView.js';
34
34
  import type { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js';
35
35
  import type { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js';
@@ -38,7 +38,7 @@ import type { V1_GeneralizationView } from '../../model/packageableElements/diag
38
38
  import {
39
39
  getClassView,
40
40
  _relationshipView_simplifyPath,
41
- } from '../../../../../../helpers/DSLDiagram_Helper.js';
41
+ } from '../../../../../../graph/helpers/DSLDiagram_Helper.js';
42
42
 
43
43
  const buildPoint = (point: V1_Point): Point => {
44
44
  const x = guaranteeNonNullable(point.x, `Point 'x' coordinate is missing`);
@@ -14,11 +14,11 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
18
- import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
- import type { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
20
- import type { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
21
- import type { RelationshipViewEnd } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
17
+ import type { ClassView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
18
+ import type { Diagram } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
+ import type { GeneralizationView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
20
+ import type { PropertyView } from '../../../../../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
21
+ import type { RelationshipViewEnd } from '../../../../../../graph/metamodel/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';