@finos/legend-extension-dsl-diagram 4.1.6 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) 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.js +10 -10
  20. package/lib/components/studio/DiagramEditor.js.map +1 -1
  21. package/lib/components/studio/InheritanceDiagramRenderer.js +2 -2
  22. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  23. package/lib/{models/DSLDiagram_ModelUtils.d.ts → graph/DSLDiagram_HashUtils.d.ts} +1 -1
  24. package/lib/graph/DSLDiagram_HashUtils.d.ts.map +1 -0
  25. package/lib/{models/DSLDiagram_ModelUtils.js → graph/DSLDiagram_HashUtils.js} +1 -1
  26. package/lib/graph/DSLDiagram_HashUtils.js.map +1 -0
  27. package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
  28. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  29. package/lib/{helpers → graph/helpers}/DSLDiagram_Helper.d.ts +5 -5
  30. package/lib/graph/helpers/DSLDiagram_Helper.d.ts.map +1 -0
  31. package/lib/{helpers → graph/helpers}/DSLDiagram_Helper.js +4 -4
  32. package/lib/graph/helpers/DSLDiagram_Helper.js.map +1 -0
  33. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +0 -0
  34. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -0
  35. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +1 -1
  36. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -0
  37. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +0 -0
  38. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -0
  39. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.js +1 -1
  40. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -0
  41. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +0 -0
  42. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -0
  43. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js +0 -0
  44. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -0
  45. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +0 -0
  46. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -0
  47. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
  48. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -0
  49. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +0 -0
  50. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -0
  51. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +1 -1
  52. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -0
  53. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +0 -0
  54. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  55. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +1 -1
  56. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -0
  57. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +0 -0
  58. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -0
  59. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +1 -1
  60. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -0
  61. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +0 -0
  62. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -0
  63. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +1 -1
  64. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -0
  65. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts +0 -0
  66. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +1 -0
  67. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js +0 -0
  68. package/lib/graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +1 -0
  69. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -0
  70. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -0
  71. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -1
  72. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -0
  73. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +0 -0
  74. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  75. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +1 -1
  76. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -0
  77. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts +0 -0
  78. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +1 -0
  79. package/lib/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
  80. package/lib/graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -0
  81. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  82. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  83. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  84. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  85. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +1 -1
  86. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  87. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +9 -9
  88. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
  89. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts +0 -0
  90. package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +1 -0
  91. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.js +2 -2
  92. package/lib/graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -0
  93. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +0 -0
  94. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -0
  95. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +1 -1
  96. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -0
  97. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +0 -0
  98. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -0
  99. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
  100. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -0
  101. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +0 -0
  102. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -0
  103. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +1 -1
  104. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -0
  105. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +0 -0
  106. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  107. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +1 -1
  108. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -0
  109. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +0 -0
  110. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -0
  111. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +1 -1
  112. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -0
  113. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +0 -0
  114. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -0
  115. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
  116. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -0
  117. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +0 -0
  118. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -0
  119. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js +0 -0
  120. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +1 -0
  121. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts +0 -0
  122. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +1 -0
  123. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
  124. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -0
  125. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +0 -0
  126. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  127. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
  128. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -0
  129. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts +0 -0
  130. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +1 -0
  131. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
  132. package/lib/graphManager/protocol/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -0
  133. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +4 -4
  134. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -0
  135. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +7 -7
  136. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -0
  137. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +1 -1
  138. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -0
  139. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +0 -0
  140. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -0
  141. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +0 -0
  142. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -0
  143. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +0 -0
  144. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -0
  145. package/lib/index.css +1 -1
  146. package/lib/index.d.ts +14 -14
  147. package/lib/index.d.ts.map +1 -1
  148. package/lib/index.js +14 -14
  149. package/lib/index.js.map +1 -1
  150. package/lib/package.json +12 -12
  151. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +10 -10
  152. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
  153. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +1 -1
  154. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
  155. package/lib/stores/studio/DiagramEditorState.d.ts +4 -4
  156. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  157. package/lib/stores/studio/DiagramEditorState.js +2 -2
  158. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  159. package/package.json +17 -17
  160. package/src/DSLDiagram_Extension.ts +3 -3
  161. package/src/DiagramRenderer.ts +15 -12
  162. package/src/components/studio/ClassDiagramPreview.tsx +1 -1
  163. package/src/components/studio/{DSLDiagram_LegendStudioPlugin.tsx → DSLDiagram_LegendStudioApplicationPlugin.tsx} +11 -11
  164. package/src/components/studio/{DSLDiagram_LegendStudioPlugin_Extension.tsx → DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx} +4 -4
  165. package/src/components/studio/DiagramEditor.tsx +12 -12
  166. package/src/components/studio/InheritanceDiagramRenderer.ts +2 -2
  167. package/src/{models/DSLDiagram_ModelUtils.ts → graph/DSLDiagram_HashUtils.ts} +0 -0
  168. package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
  169. package/src/{helpers → graph/helpers}/DSLDiagram_Helper.ts +6 -6
  170. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +1 -1
  171. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +1 -1
  172. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +0 -0
  173. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +1 -1
  174. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +1 -1
  175. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +1 -1
  176. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +1 -1
  177. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +1 -1
  178. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.ts +0 -0
  179. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -1
  180. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +1 -1
  181. package/src/{models/metamodels → graph/metamodel}/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
  182. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  183. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +1 -1
  184. package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +9 -9
  185. package/src/{models/protocols → graphManager/protocol}/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +2 -2
  186. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +1 -1
  187. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +1 -1
  188. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +1 -1
  189. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +1 -1
  190. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +1 -1
  191. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +1 -1
  192. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +0 -0
  193. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
  194. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +1 -1
  195. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
  196. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +8 -8
  197. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +5 -5
  198. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +0 -0
  199. package/src/index.ts +14 -14
  200. package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +11 -11
  201. package/src/stores/studio/DiagramEditorState.ts +5 -5
  202. package/tsconfig.json +30 -30
  203. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +0 -1
  204. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +0 -1
  205. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +0 -1
  206. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.js.map +0 -1
  207. package/lib/helpers/DSLDiagram_Helper.d.ts.map +0 -1
  208. package/lib/helpers/DSLDiagram_Helper.js.map +0 -1
  209. package/lib/models/DSLDiagram_ModelUtils.d.ts.map +0 -1
  210. package/lib/models/DSLDiagram_ModelUtils.js.map +0 -1
  211. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +0 -1
  212. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +0 -1
  213. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +0 -1
  214. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +0 -1
  215. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +0 -1
  216. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +0 -1
  217. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +0 -1
  218. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +0 -1
  219. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +0 -1
  220. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +0 -1
  221. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +0 -1
  222. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +0 -1
  223. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +0 -1
  224. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +0 -1
  225. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +0 -1
  226. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +0 -1
  227. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +0 -1
  228. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +0 -1
  229. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +0 -1
  230. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +0 -1
  231. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +0 -1
  232. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +0 -1
  233. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +0 -1
  234. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +0 -1
  235. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +0 -1
  236. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +0 -1
  237. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +0 -1
  238. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +0 -1
  239. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +0 -1
  240. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +0 -1
  241. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +0 -1
  242. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +0 -1
  243. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +0 -1
  244. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +0 -1
  245. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +0 -1
  246. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +0 -1
  247. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +0 -1
  248. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +0 -1
  249. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +0 -1
  250. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +0 -1
  251. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +0 -1
  252. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +0 -1
  253. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +0 -1
  254. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +0 -1
  255. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +0 -1
  256. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +0 -1
  257. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +0 -1
  258. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +0 -1
  259. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +0 -1
  260. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +0 -1
  261. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +0 -1
  262. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +0 -1
@@ -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
  )
@@ -716,7 +716,7 @@ const DiagramEditorOverlay = observer(
716
716
  },
717
717
  );
718
718
 
719
- const DiagramEditorInlineClassRenamerInner = observer(
719
+ const DiagramEditorInlineClassRenamerContent = observer(
720
720
  (props: {
721
721
  inlineClassRenamerState: DiagramEditorInlineClassRenamerState;
722
722
  }) => {
@@ -823,7 +823,7 @@ const DiagramEditorInlineClassRenamer = observer(
823
823
  >
824
824
  <div className="diagram-editor__inline-class-creator__container">
825
825
  {inlineClassRenamerState && (
826
- <DiagramEditorInlineClassRenamerInner
826
+ <DiagramEditorInlineClassRenamerContent
827
827
  inlineClassRenamerState={inlineClassRenamerState}
828
828
  />
829
829
  )}
@@ -833,7 +833,7 @@ const DiagramEditorInlineClassRenamer = observer(
833
833
  },
834
834
  );
835
835
 
836
- const DiagramEditorInlineClassCreatorInner = observer(
836
+ const DiagramEditorInlineClassCreatorContent = observer(
837
837
  (props: {
838
838
  inlineClassCreatorState: DiagramEditorInlineClassCreatorState;
839
839
  }) => {
@@ -953,7 +953,7 @@ const DiagramEditorInlineClassCreator = observer(
953
953
  >
954
954
  <div className="diagram-editor__inline-class-creator__container">
955
955
  {inlineClassCreatorState && (
956
- <DiagramEditorInlineClassCreatorInner
956
+ <DiagramEditorInlineClassCreatorContent
957
957
  inlineClassCreatorState={inlineClassCreatorState}
958
958
  />
959
959
  )}
@@ -1028,7 +1028,7 @@ const DiagramEditorInlinePropertyMultiplicityEditor = observer(
1028
1028
  },
1029
1029
  );
1030
1030
 
1031
- const DiagramEditorInlinePropertyEditorInner = observer(
1031
+ const DiagramEditorInlinePropertyEditorContent = observer(
1032
1032
  (props: {
1033
1033
  inlinePropertyEditorState: DiagramEditorInlinePropertyEditorState;
1034
1034
  }) => {
@@ -1157,7 +1157,7 @@ const DiagramEditorInlinePropertyEditor = observer(
1157
1157
  >
1158
1158
  <div className="diagram-editor__inline-property-editor__container">
1159
1159
  {inlinePropertyEditorState && (
1160
- <DiagramEditorInlinePropertyEditorInner
1160
+ <DiagramEditorInlinePropertyEditorContent
1161
1161
  inlinePropertyEditorState={inlinePropertyEditorState}
1162
1162
  />
1163
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';
package/src/index.ts CHANGED
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  export * from './DSLDiagram_Extension.js';
18
- export { DSLDiagram_LegendStudioPlugin } from './components/studio/DSLDiagram_LegendStudioPlugin.js';
19
- export * from './components/studio/DSLDiagram_LegendStudioPlugin_Extension.js';
18
+ export { DSLDiagram_LegendStudioApplicationPlugin } from './components/studio/DSLDiagram_LegendStudioApplicationPlugin.js';
19
+ export * from './components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
20
20
 
21
21
  export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
22
22
 
@@ -25,17 +25,17 @@ export {
25
25
  DIAGRAM_INTERACTION_MODE,
26
26
  } from './DiagramRenderer.js';
27
27
 
28
- export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
29
- export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
30
- export { RelationshipView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
31
- export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
32
- export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
33
- export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
34
- export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
35
- export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
36
- export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
37
- export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
28
+ export { Diagram } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
29
+ export { ClassView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
30
+ export { RelationshipView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
31
+ export { PropertyHolderView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
32
+ export { PropertyView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
33
+ export { AssociationView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
34
+ export { GeneralizationView } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
35
+ export { Point } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
36
+ export { Rectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
37
+ export { PositionedRectangle } from './graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
38
38
 
39
- export * from './helpers/DSLDiagram_Helper.js';
39
+ export * from './graph/helpers/DSLDiagram_Helper.js';
40
40
  export * from './graphManager/DSLDiagram_GraphManagerHelper.js';
41
- export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js';
41
+ export { V1_DSLDiagram_PackageableElementPointerType } from './graphManager/protocol/pure/DSLDiagram_PureProtocolProcessorPlugin.js';
@@ -16,21 +16,21 @@
16
16
 
17
17
  import { addUniqueEntry, changeEntry, deleteEntry } from '@finos/legend-shared';
18
18
  import { action } from 'mobx';
19
- import type { AssociationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
20
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
21
- import type { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
22
- import type { GeneralizationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
19
+ import type { AssociationView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
20
+ import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
21
+ import type { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
22
+ import type { GeneralizationView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
23
23
  import {
24
24
  _findOrBuildPoint,
25
25
  _relationshipView_simplifyPath,
26
26
  _relationshipView_setPath,
27
- } from '../../helpers/DSLDiagram_Helper.js';
28
- import type { PropertyView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
29
- import type { RelationshipViewEnd } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
30
- import type { RelationshipView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
31
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
32
- import type { PositionedRectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
33
- import type { Rectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
27
+ } from '../../graph/helpers/DSLDiagram_Helper.js';
28
+ import type { PropertyView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
29
+ import type { RelationshipViewEnd } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
30
+ import type { RelationshipView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
31
+ import type { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
32
+ import type { PositionedRectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
33
+ import type { Rectangle } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
34
34
  import {
35
35
  observe_AssociationView,
36
36
  observe_ClassView,
@@ -42,11 +42,11 @@ import {
42
42
  ClassEditorState,
43
43
  ElementEditorState,
44
44
  class_addProperty,
45
- } from '@finos/legend-studio';
46
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
47
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
48
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
49
- import type { PropertyHolderView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
45
+ } from '@finos/legend-application-studio';
46
+ import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
47
+ import type { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
48
+ import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
49
+ import type { PropertyHolderView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
50
50
 
51
51
  enum DIAGRAM_EDITOR_HOTKEY {
52
52
  RECENTER = 'RECENTER',