@mx-sose-front/mx-sose-graph 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +343 -0
  3. package/dist/index.d.ts +3937 -0
  4. package/dist/index.esm.js +74367 -0
  5. package/dist/index.esm.js.map +1 -0
  6. package/dist/index.umd.js +38 -0
  7. package/dist/index.umd.js.map +1 -0
  8. package/dist/style.css +1 -0
  9. package/package.json +70 -0
  10. package/src/components/ContextMenu.vue +475 -0
  11. package/src/components/Diagram/StrategicTaxonomyDiagram.vue +141 -0
  12. package/src/components/Edge/Edge.vue +366 -0
  13. package/src/components/InteractionLayer.vue +2033 -0
  14. package/src/components/Label.vue +0 -0
  15. package/src/components/LineStyle/ConnectionLine.vue +126 -0
  16. package/src/components/LineStyle/LineStyleMarker.vue +87 -0
  17. package/src/components/Pin/Pin.vue +220 -0
  18. package/src/components/Pin/Port.vue +172 -0
  19. package/src/components/Shape/Action.vue +121 -0
  20. package/src/components/Shape/ActivityAction.vue +155 -0
  21. package/src/components/Shape/Block.vue +306 -0
  22. package/src/components/Shape/ConceptualRole.vue +266 -0
  23. package/src/components/Shape/Diagram.vue +220 -0
  24. package/src/components/Shape/DividingLine.vue +594 -0
  25. package/src/components/Shape/DogEar.vue +224 -0
  26. package/src/components/Shape/Package.vue +340 -0
  27. package/src/constants/edgeShapeKeys.ts +81 -0
  28. package/src/constants/index.ts +440 -0
  29. package/src/index.ts +28 -0
  30. package/src/render/shape-registry.ts +17 -0
  31. package/src/render/shape-renderer.ts +103 -0
  32. package/src/statics/icons/childIcons/relations@3x.png +0 -0
  33. package/src/statics/icons/childIcons/role@3x.png +0 -0
  34. package/src/statics/icons/childIcons//344/270/232/345/212/241/344/277/241/345/217/267@3x.png +0 -0
  35. package/src/statics/icons/childIcons//344/270/232/345/212/241/344/277/241/346/201/257@3x.png +0 -0
  36. package/src/statics/icons/childIcons//344/270/232/345/212/241/344/277/241/346/201/257/345/233/276@3x.png +0 -0
  37. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  38. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/206/205/351/203/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  39. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/212/250/344/275/234@3x.png +0 -0
  40. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/217/202/346/225/260@3x.png +0 -0
  41. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/217/202/346/225/260/345/233/276@3x.png +0 -0
  42. package/src/statics/icons/childIcons//344/270/232/345/212/241/345/257/271/350/261/241/346/265/201@3x.png +0 -0
  43. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/211/247/350/241/214/350/200/205@3x.png +0 -0
  44. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/216/245/345/217/243@3x.png +0 -0
  45. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/216/247/345/210/266/346/265/201@3x.png +0 -0
  46. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  47. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  48. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/264/273/345/212/250@3x.png +0 -0
  49. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/264/273/345/212/250/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  50. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/264/273/345/212/250/345/212/250/344/275/234@3x.png +0 -0
  51. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/264/273/345/212/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  52. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/264/273/345/212/250/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  53. package/src/statics/icons/childIcons//344/270/232/345/212/241/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  54. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/212/266/346/200/201/345/233/276@3x.png +0 -0
  55. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/253/257/345/217/243@3x.png +0 -0
  56. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/272/246/346/235/237@3x.png +0 -0
  57. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/272/246/346/235/237/345/233/276@3x.png +0 -0
  58. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/272/246/346/235/237/345/256/232/344/271/211/345/233/276@3x.png +0 -0
  59. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/272/246/346/235/237/350/241/250@3x.png +0 -0
  60. package/src/statics/icons/childIcons//344/270/232/345/212/241/347/273/223/346/236/204@3x.png +0 -0
  61. package/src/statics/icons/childIcons//344/270/232/345/212/241/350/207/252/347/224/261/345/210/206/347/261/273/345/233/276@3x.png +0 -0
  62. package/src/statics/icons/childIcons//344/270/232/345/212/241/350/247/222/350/211/262@3x.png +0 -0
  63. package/src/statics/icons/childIcons//344/270/232/345/212/241/350/277/236/346/216/245/345/231/250@3x.png +0 -0
  64. package/src/statics/icons/childIcons//344/270/232/345/212/241/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  65. package/src/statics/icons/childIcons//344/270/232/345/212/241/350/277/236/351/200/232/350/241/250@3x.png +0 -0
  66. package/src/statics/icons/childIcons//344/270/232/345/212/241/351/253/230/347/272/247/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  67. package/src/statics/icons/childIcons//344/272/272/345/221/230@3x.png +0 -0
  68. package/src/statics/icons/childIcons//344/272/272/345/221/230/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  69. package/src/statics/icons/childIcons//344/272/272/345/221/230/345/206/205/351/203/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  70. package/src/statics/icons/childIcons//344/272/272/345/221/230/345/217/202/346/225/260/345/233/276@3x.png +0 -0
  71. package/src/statics/icons/childIcons//344/272/272/345/221/230/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  72. package/src/statics/icons/childIcons//344/272/272/345/221/230/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  73. package/src/statics/icons/childIcons//344/272/272/345/221/230/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  74. package/src/statics/icons/childIcons//344/272/272/345/221/230/347/212/266/346/200/201/345/233/276@3x.png +0 -0
  75. package/src/statics/icons/childIcons//344/272/272/345/221/230/347/272/246/346/235/237/345/233/276@3x-2.png +0 -0
  76. package/src/statics/icons/childIcons//344/272/272/345/221/230/347/272/246/346/235/237/345/233/276@3x.png +0 -0
  77. package/src/statics/icons/childIcons//344/272/272/345/221/230/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  78. package/src/statics/icons/childIcons//344/272/272/345/221/230/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  79. package/src/statics/icons/childIcons//344/272/272/345/221/230/350/277/236/351/200/232/350/241/250@3x.png +0 -0
  80. package/src/statics/icons/childIcons//344/273/267/345/200/274/346/265/201@3x.png +0 -0
  81. package/src/statics/icons/childIcons//344/273/273/346/204/217/345/205/263/347/263/273@3x.png +0 -0
  82. package/src/statics/icons/childIcons//344/273/273/346/204/217/350/277/236/346/216/245/345/231/250@3x.png +0 -0
  83. package/src/statics/icons/childIcons//344/274/201/344/270/232/344/275/277/345/221/275@3x.png +0 -0
  84. package/src/statics/icons/childIcons//344/274/201/344/270/232/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237@3x.png +0 -0
  85. package/src/statics/icons/childIcons//344/274/201/344/270/232/346/204/277/346/231/257@3x.png +0 -0
  86. package/src/statics/icons/childIcons//344/274/201/344/270/232/347/233/256/346/240/207@3x.png +0 -0
  87. package/src/statics/icons/childIcons//344/275/215/347/275/256@3x.png +0 -0
  88. package/src/statics/icons/childIcons//344/275/223/347/263/273/346/236/266/346/236/204@3x.png +0 -0
  89. package/src/statics/icons/childIcons//344/276/235/350/265/226@3x.png +0 -0
  90. package/src/statics/icons/childIcons//344/277/235/346/212/244@3x.png +0 -0
  91. package/src/statics/icons/childIcons//344/277/241/346/201/257/346/250/241/345/236/213@3x.png +0 -0
  92. package/src/statics/icons/childIcons//345/210/233/351/200/240@3x.png +0 -0
  93. package/src/statics/icons/childIcons//345/212/237/350/203/275@3x.png +0 -0
  94. package/src/statics/icons/childIcons//345/212/237/350/203/275/344/270/216/344/270/232/345/212/241/346/264/273/345/212/250/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  95. package/src/statics/icons/childIcons//345/212/237/350/203/275/345/212/250/344/275/234@3x.png +0 -0
  96. package/src/statics/icons/childIcons//345/212/237/350/203/275/345/257/271/350/261/241/346/265/201@3x.png +0 -0
  97. package/src/statics/icons/childIcons//345/212/237/350/203/275/346/216/247/345/210/266/346/265/201@3x.png +0 -0
  98. package/src/statics/icons/childIcons//345/217/214/345/220/221/345/205/263/350/201/224@3x.png +0 -0
  99. package/src/statics/icons/childIcons//345/217/227/345/210/260/345/275/261/345/223/215@3x.png +0 -0
  100. package/src/statics/icons/childIcons//345/234/260/347/220/206/346/224/277/346/262/273/350/214/203/345/233/264/347/261/273/345/236/213@3x.png +0 -0
  101. package/src/statics/icons/childIcons//345/241/253/345/206/231/350/201/214/344/275/215/347/224/263/350/257/267@3x.png +0 -0
  102. package/src/statics/icons/childIcons//345/256/211/345/205/250/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  103. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/216/247/345/210/266@3x.png +0 -0
  104. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  105. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  106. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/265/201/347/250/213@3x.png +0 -0
  107. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/265/201/347/250/213/345/212/250/344/275/234@3x.png +0 -0
  108. package/src/statics/icons/childIcons//345/256/211/345/205/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  109. package/src/statics/icons/childIcons//345/256/211/345/205/250/347/272/246/346/235/237@3x.png +0 -0
  110. package/src/statics/icons/childIcons//345/256/211/345/205/250/347/272/246/346/235/237/345/233/276@3x.png +0 -0
  111. package/src/statics/icons/childIcons//345/256/211/345/205/250/347/272/246/346/235/237/345/256/232/344/271/211/345/233/276@3x.png +0 -0
  112. package/src/statics/icons/childIcons//345/256/211/345/205/250/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  113. package/src/statics/icons/childIcons//345/256/211/345/205/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  114. package/src/statics/icons/childIcons//345/256/211/345/205/250/350/277/236/351/200/232/350/241/250@3x.png +0 -0
  115. package/src/statics/icons/childIcons//345/256/211/345/205/250/351/232/224/347/246/273@3x.png +0 -0
  116. package/src/statics/icons/childIcons//345/256/211/345/205/250/351/243/216/351/231/251@3x.png +0 -0
  117. package/src/statics/icons/childIcons//345/256/232/345/220/221/345/205/263/347/263/273@3x.png +0 -0
  118. package/src/statics/icons/childIcons//345/256/232/345/220/221/345/205/263/350/201/224@3x.png +0 -0
  119. package/src/statics/icons/childIcons//345/256/232/345/220/221/347/273/204/346/210/220@3x.png +0 -0
  120. package/src/statics/icons/childIcons//345/256/232/345/220/221/350/201/232/345/220/210@3x.png +0 -0
  121. package/src/statics/icons/childIcons//345/256/236/351/231/205/344/272/272/345/221/230@3x.png +0 -0
  122. package/src/statics/icons/childIcons//345/256/236/351/231/205/344/274/201/344/270/232/351/230/266/346/256/265@3x.png +0 -0
  123. package/src/statics/icons/childIcons//345/256/236/351/231/205/344/275/215/347/275/256@3x.png +0 -0
  124. package/src/statics/icons/childIcons//345/256/236/351/231/205/345/261/236/346/200/247/350/256/276/347/275/256@3x.png +0 -0
  125. package/src/statics/icons/childIcons//345/256/236/351/231/205/346/210/230/347/225/245/351/230/266/346/256/265/347/224/230/347/211/271/345/233/276@3x.png +0 -0
  126. package/src/statics/icons/childIcons//345/256/236/351/231/205/346/214/201/347/273/255/344/273/273/345/212/241@3x.png +0 -0
  127. package/src/statics/icons/childIcons//345/256/236/351/231/205/346/234/215/345/212/241@3x.png +0 -0
  128. package/src/statics/icons/childIcons//345/256/236/351/231/205/346/235/241/344/273/266@3x.png +0 -0
  129. package/src/statics/icons/childIcons//345/256/236/351/231/205/347/216/257/345/242/203@3x.png +0 -0
  130. package/src/statics/icons/childIcons//345/256/236/351/231/205/347/273/204/347/273/207@3x.png +0 -0
  131. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/201/214/344/275/215@3x.png +0 -0
  132. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/201/214/350/264/243@3x.png +0 -0
  133. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/264/243/344/273/273@3x.png +0 -0
  134. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220@3x.png +0 -0
  135. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/344/270/216/345/256/236/351/231/205/351/241/271/347/233/256/345/257/271/345/272/224/345/205/263/347/263/273/347/237/251/351/230/265@3x.png +0 -0
  136. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/346/246/202/345/277/265/347/237/251/351/230/265@3x.png +0 -0
  137. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  138. package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  139. package/src/statics/icons/childIcons//345/256/236/351/231/205/351/241/271/347/233/256@3x.png +0 -0
  140. package/src/statics/icons/childIcons//345/256/236/351/231/205/351/241/271/347/233/256/344/270/216/350/203/275/345/212/233/347/232/204/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  141. package/src/statics/icons/childIcons//345/256/236/351/231/205/351/241/271/347/233/256/351/207/214/347/250/213/347/242/221@3x.png +0 -0
  142. package/src/statics/icons/childIcons//345/256/236/351/231/205/351/241/271/347/233/256/351/207/214/347/250/213/347/242/221/346/261/207/346/200/273/350/241/250@3x.png +0 -0
  143. package/src/statics/icons/childIcons//345/256/236/351/231/205/351/243/216/351/231/251@3x.png +0 -0
  144. package/src/statics/icons/childIcons//345/261/225/347/244/272@3x.png +0 -0
  145. package/src/statics/icons/childIcons//345/267/262/347/237/245/350/265/204/346/272/220@3x.png +0 -0
  146. package/src/statics/icons/childIcons//345/274/200/345/261/225/345/267/245/344/275/234/350/203/275/345/212/233@3x.png +0 -0
  147. package/src/statics/icons/childIcons//345/274/225/347/224/250/345/261/236/346/200/247@3x.png +0 -0
  148. package/src/statics/icons/childIcons//345/275/261/345/223/215@3x-2.png +0 -0
  149. package/src/statics/icons/childIcons//345/275/261/345/223/215@3x.png +0 -0
  150. package/src/statics/icons/childIcons//346/204/277/346/231/257/345/256/243/350/250/200@3x.png +0 -0
  151. package/src/statics/icons/childIcons//346/210/230/347/225/245@3x.png +0 -0
  152. package/src/statics/icons/childIcons//346/210/230/347/225/245/344/277/241/346/201/257@3x.png +0 -0
  153. package/src/statics/icons/childIcons//346/210/230/347/225/245/344/277/241/346/201/257/345/233/276@3x-2.png +0 -0
  154. package/src/statics/icons/childIcons//346/210/230/347/225/245/344/277/241/346/201/257/345/233/276@3x.png +0 -0
  155. package/src/statics/icons/childIcons//346/210/230/347/225/245/345/217/202/346/225/260/345/233/276@3x.png +0 -0
  156. package/src/statics/icons/childIcons//346/210/230/347/225/245/345/256/236/351/231/205/346/210/230/347/225/245/351/230/266/346/256/265/345/210/206/347/261/273/350/241/250@3x.png +0 -0
  157. package/src/statics/icons/childIcons//346/210/230/347/225/245/345/256/236/351/231/205/351/203/250/347/275/262/345/233/276@3x.png +0 -0
  158. package/src/statics/icons/childIcons//346/210/230/347/225/245/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  159. package/src/statics/icons/childIcons//346/210/230/347/225/245/346/265/201/347/250/213/345/233/276@3x-2.png +0 -0
  160. package/src/statics/icons/childIcons//346/210/230/347/225/245/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  161. package/src/statics/icons/childIcons//346/210/230/347/225/245/347/212/266/346/200/201/345/233/276@3x.png +0 -0
  162. package/src/statics/icons/childIcons//346/210/230/347/225/245/347/272/246/346/235/237@3x.png +0 -0
  163. package/src/statics/icons/childIcons//346/210/230/347/225/245/347/272/246/346/235/237/345/233/276@3x.png +0 -0
  164. package/src/statics/icons/childIcons//346/210/230/347/225/245/347/272/246/346/235/237/345/256/232/344/271/211/345/233/276@3x.png +0 -0
  165. package/src/statics/icons/childIcons//346/210/230/347/225/245/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  166. package/src/statics/icons/childIcons//346/210/230/347/225/245/350/277/236/351/200/232/345/233/276@3x-2.png +0 -0
  167. package/src/statics/icons/childIcons//346/210/230/347/225/245/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  168. package/src/statics/icons/childIcons//346/210/230/347/225/245/350/277/236/351/200/232/347/237/251/351/230/265@3x-2.png +0 -0
  169. package/src/statics/icons/childIcons//346/210/230/347/225/245/350/277/236/351/200/232/347/237/251/351/230/265@3x.png +0 -0
  170. package/src/statics/icons/childIcons//346/210/230/347/225/245/351/230/266/346/256/265@3x.png +0 -0
  171. package/src/statics/icons/childIcons//346/211/247/350/241/214@3x.png +0 -0
  172. package/src/statics/icons/childIcons//346/211/247/350/241/214/350/200/205/345/206/205/351/203/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  173. package/src/statics/icons/childIcons//346/211/247/350/241/214/350/200/205/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  174. package/src/statics/icons/childIcons//346/211/247/350/241/214/350/200/205/347/273/223/346/236/204/345/233/276@3x-2.png +0 -0
  175. package/src/statics/icons/childIcons//346/211/247/350/241/214/350/200/205/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  176. package/src/statics/icons/childIcons//346/211/247/350/241/214/350/200/205/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  177. package/src/statics/icons/childIcons//346/211/277/346/213/205/351/243/216/351/231/251@3x.png +0 -0
  178. package/src/statics/icons/childIcons//346/212/200/346/234/257@3x.png +0 -0
  179. package/src/statics/icons/childIcons//346/213/245/346/234/211/346/265/201/347/250/213@3x.png +0 -0
  180. package/src/statics/icons/childIcons//346/217/220/344/276/233/346/235/203/351/231/220@3x.png +0 -0
  181. package/src/statics/icons/childIcons//346/227/266/346/234/272@3x.png +0 -0
  182. package/src/statics/icons/childIcons//346/234/215/345/212/241@3x.png +0 -0
  183. package/src/statics/icons/childIcons//346/234/215/345/212/241/344/270/216/344/270/232/345/212/241/346/264/273/345/212/250/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  184. package/src/statics/icons/childIcons//346/234/215/345/212/241/344/270/216/346/234/215/345/212/241/345/220/210/345/220/214/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  185. package/src/statics/icons/childIcons//346/234/215/345/212/241/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  186. package/src/statics/icons/childIcons//346/234/215/345/212/241/344/277/241/345/217/267@3x.png +0 -0
  187. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  188. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/206/205/351/203/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  189. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/212/237/350/203/275@3x.png +0 -0
  190. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/212/237/350/203/275/345/212/250/344/275/234@3x.png +0 -0
  191. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/212/250/344/275/234@3x.png +0 -0
  192. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/217/202/346/225/260@3x.png +0 -0
  193. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/217/202/346/225/260/345/233/276@3x.png +0 -0
  194. package/src/statics/icons/childIcons//346/234/215/345/212/241/345/257/271/350/261/241/346/265/201@3x.png +0 -0
  195. package/src/statics/icons/childIcons//346/234/215/345/212/241/346/216/245/345/217/243@3x.png +0 -0
  196. package/src/statics/icons/childIcons//346/234/215/345/212/241/346/216/247/345/210/266/346/265/201@3x.png +0 -0
  197. package/src/statics/icons/childIcons//346/234/215/345/212/241/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  198. package/src/statics/icons/childIcons//346/234/215/345/212/241/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  199. package/src/statics/icons/childIcons//346/234/215/345/212/241/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  200. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/212/266/346/200/201/345/233/276@3x.png +0 -0
  201. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/253/257/345/217/243@3x.png +0 -0
  202. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/272/246/346/235/237/345/233/276@3x.png +0 -0
  203. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/272/246/346/235/237/345/256/232/344/271/211/345/233/276@3x.png +0 -0
  204. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/273/223/346/236/204@3x.png +0 -0
  205. package/src/statics/icons/childIcons//346/234/215/345/212/241/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  206. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/247/222/350/211/262@3x.png +0 -0
  207. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/267/257/347/272/277/345/233/276@3x.png +0 -0
  208. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/346/216/245/345/231/250@3x.png +0 -0
  209. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  210. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/351/200/232/350/241/250@3x-2.png +0 -0
  211. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/351/200/232/350/241/250@3x.png +0 -0
  212. package/src/statics/icons/childIcons//346/235/203/351/231/220@3x.png +0 -0
  213. package/src/statics/icons/childIcons//346/235/241/344/273/266@3x.png +0 -0
  214. package/src/statics/icons/childIcons//346/240/207/345/207/206/344/270/232/345/212/241/346/264/273/345/212/250@3x.png +0 -0
  215. package/src/statics/icons/childIcons//346/240/207/345/207/206/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  216. package/src/statics/icons/childIcons//346/240/207/345/207/206/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  217. package/src/statics/icons/childIcons//346/240/207/345/207/206/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  218. package/src/statics/icons/childIcons//346/240/207/345/207/206/350/267/257/347/272/277/345/233/276@3x.png +0 -0
  219. package/src/statics/icons/childIcons//346/240/207/345/207/206/350/277/275/346/272/257/345/233/276@3x.png +0 -0
  220. package/src/statics/icons/childIcons//346/246/202/345/277/265/350/247/222/350/211/262@3x.png +0 -0
  221. package/src/statics/icons/childIcons//346/263/233/345/214/226@3x.png +0 -0
  222. package/src/statics/icons/childIcons//347/212/266/345/206/265@3x.png +0 -0
  223. package/src/statics/icons/childIcons//347/216/257/345/242/203@3x.png +0 -0
  224. package/src/statics/icons/childIcons//347/233/270/346/257/224@3x (1).png +0 -0
  225. package/src/statics/icons/childIcons//347/263/273/347/273/237@3x.png +0 -0
  226. package/src/statics/icons/childIcons//347/273/204/346/210/220@3x.png +0 -0
  227. package/src/statics/icons/childIcons//347/273/204/347/273/207@3x.png +0 -0
  228. package/src/statics/icons/childIcons//347/273/204/347/273/207/351/230/266/346/256/265@3x.png +0 -0
  229. package/src/statics/icons/childIcons//347/273/221/345/256/232/350/277/236/346/216/245/345/231/250@3x.png +0 -0
  230. package/src/statics/icons/childIcons//347/274/223/350/247/243@3x.png +0 -0
  231. package/src/statics/icons/childIcons//350/201/214/344/275/215@3x.png +0 -0
  232. package/src/statics/icons/childIcons//350/201/232/345/220/210@3x.png +0 -0
  233. package/src/statics/icons/childIcons//350/203/275/345/212/233@3x.png +0 -0
  234. package/src/statics/icons/childIcons//350/203/275/345/212/233/350/201/214/350/264/243@3x.png +0 -0
  235. package/src/statics/icons/childIcons//350/203/275/345/212/233/351/205/215/347/275/256@3x.png +0 -0
  236. package/src/statics/icons/childIcons//350/203/275/345/244/237/350/203/234/344/273/273@3x.png +0 -0
  237. package/src/statics/icons/childIcons//350/207/252/347/204/266/350/265/204/346/272/220@3x.png +0 -0
  238. package/src/statics/icons/childIcons//350/246/201/346/261/202@3x.png +0 -0
  239. package/src/statics/icons/childIcons//350/256/276/347/275/256/347/261/273/345/236/213.png +0 -0
  240. package/src/statics/icons/childIcons//350/264/237/350/264/243@3x.png +0 -0
  241. package/src/statics/icons/childIcons//350/264/243/344/273/273@3x.png +0 -0
  242. package/src/statics/icons/childIcons//350/265/204/344/272/247/351/243/216/351/231/251/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  243. package/src/statics/icons/childIcons//350/265/204/346/272/220/344/270/216/344/270/232/345/212/241/346/264/273/345/212/250/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  244. package/src/statics/icons/childIcons//350/265/204/346/272/220/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  245. package/src/statics/icons/childIcons//350/265/204/346/272/220/344/277/241/345/217/267@3x.png +0 -0
  246. package/src/statics/icons/childIcons//350/265/204/346/272/220/344/277/241/346/201/257@3x.png +0 -0
  247. package/src/statics/icons/childIcons//350/265/204/346/272/220/344/277/241/346/201/257/345/233/276@3x.png +0 -0
  248. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  249. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/206/205/351/203/250/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  250. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/212/250/344/275/234@3x.png +0 -0
  251. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/217/202/346/225/260@3x.png +0 -0
  252. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/217/202/346/225/260/345/233/276@3x.png +0 -0
  253. package/src/statics/icons/childIcons//350/265/204/346/272/220/345/267/245/344/273/266@3x.png +0 -0
  254. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/216/245/345/217/243@3x.png +0 -0
  255. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/234/215/345/212/241@3x.png +0 -0
  256. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/236/266/346/236/204@3x.png +0 -0
  257. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  258. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  259. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/264/273/345/212/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  260. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/264/273/345/212/250/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  261. package/src/statics/icons/childIcons//350/265/204/346/272/220/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  262. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/212/266/346/200/201/345/233/276@3x.png +0 -0
  263. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/253/257/345/217/243@3x.png +0 -0
  264. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/272/246/346/235/237@3x.png +0 -0
  265. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/273/223/346/236/204@3x.png +0 -0
  266. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  267. package/src/statics/icons/childIcons//350/265/204/346/272/220/347/274/223/350/247/243/346/216/252/346/226/275@3x.png +0 -0
  268. package/src/statics/icons/childIcons//350/265/204/346/272/220/350/247/222/350/211/262@3x.png +0 -0
  269. package/src/statics/icons/childIcons//350/265/204/346/272/220/350/277/236/346/216/245/345/231/250@3x.png +0 -0
  270. package/src/statics/icons/childIcons//350/265/204/346/272/220/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  271. package/src/statics/icons/childIcons//350/265/204/346/272/220/350/277/236/351/200/232/350/241/250@3x.png +0 -0
  272. package/src/statics/icons/childIcons//350/275/257/344/273/266@3x.png +0 -0
  273. package/src/statics/icons/childIcons//350/276/223/345/205/245/346/240/223@3x.png +0 -0
  274. package/src/statics/icons/childIcons//350/276/223/345/207/272/346/240/223@3x.png +0 -0
  275. package/src/statics/icons/childIcons//350/276/276/345/210/260@3x.png +0 -0
  276. package/src/statics/icons/childIcons//350/277/236/346/216/245/345/231/250@3x.png +0 -0
  277. package/src/statics/icons/childIcons//350/277/236/347/272/277@3x.png +0 -0
  278. package/src/statics/icons/childIcons//351/207/214/347/250/213/347/242/221/344/276/235/350/265/226@3x.png +0 -0
  279. package/src/statics/icons/childIcons//351/230/266/346/256/265@3x.png +0 -0
  280. package/src/statics/icons/childIcons//351/234/200/346/261/202/346/235/203/351/231/220@3x.png +0 -0
  281. package/src/statics/icons/childIcons//351/241/266/347/272/247/344/270/232/345/212/241/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  282. package/src/statics/icons/childIcons//351/241/271/347/233/256@3x.png +0 -0
  283. package/src/statics/icons/childIcons//351/241/271/347/233/256/344/270/273/351/242/230@3x.png +0 -0
  284. package/src/statics/icons/childIcons//351/241/271/347/233/256/345/206/205/351/203/250/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  285. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/246/202/345/277/265/345/233/276@3x.png +0 -0
  286. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  287. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/264/273/345/212/250@3x.png +0 -0
  288. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/264/273/345/212/250/344/270/216/350/203/275/345/212/233/347/232/204/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  289. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/264/273/345/212/250/345/212/250/344/275/234@3x.png +0 -0
  290. package/src/statics/icons/childIcons//351/241/271/347/233/256/346/265/201/347/250/213/345/233/276@3x.png +0 -0
  291. package/src/statics/icons/childIcons//351/241/271/347/233/256/347/273/223/346/236/204/345/233/276@3x.png +0 -0
  292. package/src/statics/icons/childIcons//351/241/271/347/233/256/350/247/222/350/211/262@3x.png +0 -0
  293. package/src/statics/icons/childIcons//351/241/271/347/233/256/350/267/257/347/272/277/345/233/276@3x.png +0 -0
  294. package/src/statics/icons/childIcons//351/241/271/347/233/256/350/277/236/351/200/232/345/233/276@3x.png +0 -0
  295. package/src/statics/icons/childIcons//351/241/271/347/233/256/351/207/214/347/250/213/347/242/221@3x.png +0 -0
  296. package/src/statics/icons/childIcons//351/241/271/347/233/256/351/207/214/347/250/213/347/242/221/350/247/222/350/211/262@3x.png +0 -0
  297. package/src/statics/icons/childIcons//351/241/272/345/272/217@3x-2.png +0 -0
  298. package/src/statics/icons/childIcons//351/241/272/345/272/217@3x.png +0 -0
  299. package/src/statics/icons/childIcons//351/243/216/351/231/251@3x.png +0 -0
  300. package/src/statics/icons/childIcons//351/243/216/351/231/251/344/270/216/345/256/211/345/205/250/346/216/247/345/210/266/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
  301. package/src/statics/icons/childIcons//351/253/230/347/272/247/344/270/232/345/212/241/346/246/202/345/277/265@3x.png +0 -0
  302. package/src/statics/icons/createMenu/config.png +0 -0
  303. package/src/statics/icons/createMenu/contact.png +0 -0
  304. package/src/statics/icons/createMenu/copy.png +0 -0
  305. package/src/statics/icons/createMenu/delete.png +0 -0
  306. package/src/statics/icons/createMenu/diagram.png +0 -0
  307. package/src/statics/icons/createMenu/element.png +0 -0
  308. package/src/statics/icons/createMenu/locateChart.png +0 -0
  309. package/src/statics/icons/createMenu/paste.png +0 -0
  310. package/src/statics/icons/createMenu/rename.png +0 -0
  311. package/src/statics/icons/createMenu/scissors.png +0 -0
  312. package/src/store/eventBus.ts +38 -0
  313. package/src/store/graphStore.ts +782 -0
  314. package/src/store/index.ts +8 -0
  315. package/src/style/index.css +1 -0
  316. package/src/style/tailwind.css +33 -0
  317. package/src/types/index.ts +200 -0
  318. package/src/utils/autoExpandParent.ts +94 -0
  319. package/src/utils/colorUtils.ts +137 -0
  320. package/src/utils/compartment.ts +534 -0
  321. package/src/utils/containers.ts +910 -0
  322. package/src/utils/diagram.ts +403 -0
  323. package/src/utils/dom.ts +21 -0
  324. package/src/utils/drag.ts +224 -0
  325. package/src/utils/edgeUtils.ts +787 -0
  326. package/src/utils/geom.ts +177 -0
  327. package/src/utils/graphDragService.ts +329 -0
  328. package/src/utils/highlightUtils.ts +162 -0
  329. package/src/utils/hittest.ts +135 -0
  330. package/src/utils/iconLoader.ts +105 -0
  331. package/src/utils/index.ts +20 -0
  332. package/src/utils/packgeMap.ts +1 -0
  333. package/src/utils/pinUtils.ts +484 -0
  334. package/src/utils/policy.ts +212 -0
  335. package/src/utils/zorder.ts +39 -0
  336. package/src/view/graph.vue +419 -0
  337. package/src/vite-env.d.ts +33 -0
@@ -0,0 +1,3937 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { ComputedRef } from 'vue';
4
+ import { DefineComponent } from 'vue';
5
+ import { ExtractPropTypes } from 'vue';
6
+ import { Plugin as Plugin_2 } from 'vue';
7
+ import { PropType } from 'vue';
8
+ import { PublicProps } from 'vue';
9
+ import { Ref } from 'vue';
10
+ import { StoreDefinition } from 'pinia';
11
+
12
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+
14
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+
23
+ export declare interface Bounds {
24
+ x?: number | undefined;
25
+ y?: number | undefined;
26
+ width?: number | undefined;
27
+ height?: number | undefined;
28
+ }
29
+
30
+ export declare interface Comparent {
31
+ keywords: string;
32
+ keywordsBounds?: string;
33
+ keywordsStyle?: string;
34
+ comparentLabels: TaggedValueLabel[];
35
+ }
36
+
37
+ declare interface CompartmentRecord {
38
+ bounds: Bounds;
39
+ modelId: string;
40
+ modelName: string;
41
+ comparentShapes: Shape[];
42
+ }
43
+
44
+ declare class EventBus {
45
+ private events;
46
+ on(event: string, callback: Function): void;
47
+ off(event: string, callback: Function): void;
48
+ emit(event: string, ...args: any[]): void;
49
+ once(event: string, callback: Function): void;
50
+ }
51
+
52
+ export declare const eventBus: EventBus;
53
+
54
+ export declare interface GraphEvents {
55
+ onShapeClick?: (node: Shape, event: MouseEvent) => void;
56
+ onShapeDoubleClick?: (node: Shape, event: MouseEvent) => void;
57
+ onEdgeClick?: (edge: Shape, event: MouseEvent) => void;
58
+ onDiagramClick?: (event: MouseEvent) => void;
59
+ onZoom?: (scale: number) => void;
60
+ onPan?: (x: number, y: number) => void;
61
+ }
62
+
63
+ export declare const GraphView: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
64
+ addShapeData: Shape;
65
+ connectShapeData: Shape;
66
+ lines: String[];
67
+ packages: string[];
68
+ diagram: String[];
69
+ taggedValueLabels: string[];
70
+ actionButtonShapeId?: string | undefined;
71
+ classMetaTypes: string[];
72
+ edgeCheck: boolean;
73
+ pins: string[];
74
+ referentialAttributeModel: string[];
75
+ ports: string[];
76
+ }>>, {
77
+ getBoundingClientRect: () => DOMRect | undefined;
78
+ updateShapes: (shapes: Shape[]) => void;
79
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: "id" | "modelId") => void;
80
+ continueExternalCreateDrag: (payload: {
81
+ clientX: number;
82
+ clientY: number;
83
+ }) => void;
84
+ finishExternalCreateDrag: (payload: {
85
+ clientX: number;
86
+ clientY: number;
87
+ }) => void;
88
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
89
+ "shapes-property": (value: {
90
+ selectedShape: Shape;
91
+ showPropertyPanel: boolean;
92
+ }) => void;
93
+ "shapes-edit-name": (value: {
94
+ shape: Shape;
95
+ newName: string;
96
+ }) => void;
97
+ "connect-end": (value: {
98
+ sourceId: string;
99
+ targetId: string;
100
+ sourcePoint: {
101
+ x: number;
102
+ y: number;
103
+ };
104
+ targetPoint: {
105
+ x: number;
106
+ y: number;
107
+ };
108
+ waypoints: {
109
+ x: number;
110
+ y: number;
111
+ }[];
112
+ }) => void;
113
+ "action-button-click": (value: string, shape: Shape) => void;
114
+ diagramDoubleClick: (data: any) => void;
115
+ "model-type-property-id-button-click": (value: string, shape: Shape) => void;
116
+ "action-button-add": (shape: Shape) => void;
117
+ "scale-changed": (scale: number) => void;
118
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
119
+ addShapeData: Shape;
120
+ connectShapeData: Shape;
121
+ lines: String[];
122
+ packages: string[];
123
+ diagram: String[];
124
+ taggedValueLabels: string[];
125
+ actionButtonShapeId?: string | undefined;
126
+ classMetaTypes: string[];
127
+ edgeCheck: boolean;
128
+ pins: string[];
129
+ referentialAttributeModel: string[];
130
+ ports: string[];
131
+ }>>> & Readonly<{
132
+ "onScale-changed"?: ((scale: number) => any) | undefined;
133
+ onDiagramDoubleClick?: ((data: any) => any) | undefined;
134
+ "onShapes-property"?: ((value: {
135
+ selectedShape: Shape;
136
+ showPropertyPanel: boolean;
137
+ }) => any) | undefined;
138
+ "onShapes-edit-name"?: ((value: {
139
+ shape: Shape;
140
+ newName: string;
141
+ }) => any) | undefined;
142
+ "onConnect-end"?: ((value: {
143
+ sourceId: string;
144
+ targetId: string;
145
+ sourcePoint: {
146
+ x: number;
147
+ y: number;
148
+ };
149
+ targetPoint: {
150
+ x: number;
151
+ y: number;
152
+ };
153
+ waypoints: {
154
+ x: number;
155
+ y: number;
156
+ }[];
157
+ }) => any) | undefined;
158
+ "onAction-button-click"?: ((value: string, shape: Shape) => any) | undefined;
159
+ "onModel-type-property-id-button-click"?: ((value: string, shape: Shape) => any) | undefined;
160
+ "onAction-button-add"?: ((shape: Shape) => any) | undefined;
161
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
162
+
163
+ declare const MxSoseGraphPlugin: Plugin_2<[]>;
164
+ export { MxSoseGraphPlugin }
165
+ export default MxSoseGraphPlugin;
166
+
167
+ export declare interface NameObject {
168
+ name: string;
169
+ value?: string;
170
+ type?: string;
171
+ defaultValue?: string;
172
+ [key: string]: any;
173
+ }
174
+
175
+ declare type Padding = number | {
176
+ top: number;
177
+ right: number;
178
+ bottom: number;
179
+ left: number;
180
+ };
181
+
182
+ declare interface scenarioMenu {
183
+ [key: string]: any;
184
+ }
185
+
186
+ declare interface scenarioMenu {
187
+ code: string;
188
+ name: string;
189
+ icon: string;
190
+ sourceModels: string[];
191
+ targetCreateModel: string;
192
+ targetModels: string[];
193
+ }
194
+
195
+ export declare interface Shape {
196
+ id: string;
197
+ diagramId: string;
198
+ parenShapeId: string;
199
+ shapeKey: string;
200
+ shapeType: 'shape' | 'edge' | 'pin' | 'diagram';
201
+ bounds: Bounds;
202
+ style?: Style;
203
+ keywords: string;
204
+ keywordsBounds?: Bounds;
205
+ keywordsStyle?: Style;
206
+ icon?: string;
207
+ modelId: string;
208
+ modelName: string;
209
+ names: string;
210
+ name: string;
211
+ nameBounds?: Bounds;
212
+ nameStyle?: Style;
213
+ direction?: string;
214
+ sourceId?: string;
215
+ targetId?: string;
216
+ waypointId?: string;
217
+ waypoints?: Waypoint[];
218
+ showKeywords: boolean;
219
+ showIcon: boolean;
220
+ showName: boolean;
221
+ showTaggedValues: boolean;
222
+ showComparents: boolean;
223
+ taggedValueLabels?: TaggedValueLabel[];
224
+ comparents?: CompartmentRecord[];
225
+ meta?: any;
226
+ scenarioMenus?: scenarioMenu[];
227
+ inert?: boolean | true;
228
+ sourceModels?: string[];
229
+ targetModels?: string[];
230
+ modelTypePropertyId: string;
231
+ targetCreateModel?: string;
232
+ sourceModelId?: string;
233
+ isMovableComparents: boolean;
234
+ }
235
+
236
+ export declare interface Style {
237
+ fontSize?: number;
238
+ fontFamily?: string;
239
+ fontWeight?: string;
240
+ color?: string;
241
+ backgroundColor?: string;
242
+ borderColor?: string;
243
+ borderWidth?: number;
244
+ borderRadius?: number;
245
+ padding?: Padding;
246
+ margin?: number;
247
+ zIndex?: number;
248
+ canvasBorderWidth?: number;
249
+ canvasBorderColor?: string;
250
+ canvasBorderStyle?: 'dashed' | 'solid' | 'dotted';
251
+ canvasNameFontSize?: number;
252
+ canvasNameFontFamily?: string;
253
+ canvasNameFontColor?: string;
254
+ gradientLeftColor?: string;
255
+ gradientRightColor?: string;
256
+ textAnchor?: string;
257
+ dominantBaseline?: string;
258
+ }
259
+
260
+ export declare interface TaggedValueLabel {
261
+ id: string;
262
+ modelId: string;
263
+ modelName: string;
264
+ names: string;
265
+ name: string;
266
+ nameBounds?: string;
267
+ nameStyle?: string;
268
+ }
269
+
270
+ export declare const useGraphStore: StoreDefinition<"graph", Pick<{
271
+ shapes: Ref<{
272
+ id: string;
273
+ diagramId: string;
274
+ parenShapeId: string;
275
+ shapeKey: string;
276
+ shapeType: "shape" | "edge" | "pin" | "diagram";
277
+ bounds: {
278
+ x?: number | undefined;
279
+ y?: number | undefined;
280
+ width?: number | undefined;
281
+ height?: number | undefined;
282
+ };
283
+ style?: {
284
+ fontSize?: number | undefined;
285
+ fontFamily?: string | undefined;
286
+ fontWeight?: string | undefined;
287
+ color?: string | undefined;
288
+ backgroundColor?: string | undefined;
289
+ borderColor?: string | undefined;
290
+ borderWidth?: number | undefined;
291
+ borderRadius?: number | undefined;
292
+ padding?: number | {
293
+ top: number;
294
+ right: number;
295
+ bottom: number;
296
+ left: number;
297
+ } | undefined;
298
+ margin?: number | undefined;
299
+ zIndex?: number | undefined;
300
+ canvasBorderWidth?: number | undefined;
301
+ canvasBorderColor?: string | undefined;
302
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
303
+ canvasNameFontSize?: number | undefined;
304
+ canvasNameFontFamily?: string | undefined;
305
+ canvasNameFontColor?: string | undefined;
306
+ gradientLeftColor?: string | undefined;
307
+ gradientRightColor?: string | undefined;
308
+ textAnchor?: string | undefined;
309
+ dominantBaseline?: string | undefined;
310
+ } | undefined;
311
+ keywords: string;
312
+ keywordsBounds?: {
313
+ x?: number | undefined;
314
+ y?: number | undefined;
315
+ width?: number | undefined;
316
+ height?: number | undefined;
317
+ } | undefined;
318
+ keywordsStyle?: {
319
+ fontSize?: number | undefined;
320
+ fontFamily?: string | undefined;
321
+ fontWeight?: string | undefined;
322
+ color?: string | undefined;
323
+ backgroundColor?: string | undefined;
324
+ borderColor?: string | undefined;
325
+ borderWidth?: number | undefined;
326
+ borderRadius?: number | undefined;
327
+ padding?: number | {
328
+ top: number;
329
+ right: number;
330
+ bottom: number;
331
+ left: number;
332
+ } | undefined;
333
+ margin?: number | undefined;
334
+ zIndex?: number | undefined;
335
+ canvasBorderWidth?: number | undefined;
336
+ canvasBorderColor?: string | undefined;
337
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
338
+ canvasNameFontSize?: number | undefined;
339
+ canvasNameFontFamily?: string | undefined;
340
+ canvasNameFontColor?: string | undefined;
341
+ gradientLeftColor?: string | undefined;
342
+ gradientRightColor?: string | undefined;
343
+ textAnchor?: string | undefined;
344
+ dominantBaseline?: string | undefined;
345
+ } | undefined;
346
+ icon?: string | undefined;
347
+ modelId: string;
348
+ modelName: string;
349
+ names: string;
350
+ name: string;
351
+ nameBounds?: {
352
+ x?: number | undefined;
353
+ y?: number | undefined;
354
+ width?: number | undefined;
355
+ height?: number | undefined;
356
+ } | undefined;
357
+ nameStyle?: {
358
+ fontSize?: number | undefined;
359
+ fontFamily?: string | undefined;
360
+ fontWeight?: string | undefined;
361
+ color?: string | undefined;
362
+ backgroundColor?: string | undefined;
363
+ borderColor?: string | undefined;
364
+ borderWidth?: number | undefined;
365
+ borderRadius?: number | undefined;
366
+ padding?: number | {
367
+ top: number;
368
+ right: number;
369
+ bottom: number;
370
+ left: number;
371
+ } | undefined;
372
+ margin?: number | undefined;
373
+ zIndex?: number | undefined;
374
+ canvasBorderWidth?: number | undefined;
375
+ canvasBorderColor?: string | undefined;
376
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
377
+ canvasNameFontSize?: number | undefined;
378
+ canvasNameFontFamily?: string | undefined;
379
+ canvasNameFontColor?: string | undefined;
380
+ gradientLeftColor?: string | undefined;
381
+ gradientRightColor?: string | undefined;
382
+ textAnchor?: string | undefined;
383
+ dominantBaseline?: string | undefined;
384
+ } | undefined;
385
+ direction?: string | undefined;
386
+ sourceId?: string | undefined;
387
+ targetId?: string | undefined;
388
+ waypointId?: string | undefined;
389
+ waypoints?: {
390
+ x: number;
391
+ y: number;
392
+ }[] | undefined;
393
+ showKeywords: boolean;
394
+ showIcon: boolean;
395
+ showName: boolean;
396
+ showTaggedValues: boolean;
397
+ showComparents: boolean;
398
+ taggedValueLabels?: {
399
+ id: string;
400
+ modelId: string;
401
+ modelName: string;
402
+ names: string;
403
+ name: string;
404
+ nameBounds?: string | undefined;
405
+ nameStyle?: string | undefined;
406
+ }[] | undefined;
407
+ comparents?: {
408
+ bounds: {
409
+ x?: number | undefined;
410
+ y?: number | undefined;
411
+ width?: number | undefined;
412
+ height?: number | undefined;
413
+ };
414
+ modelId: string;
415
+ modelName: string;
416
+ comparentShapes: any[];
417
+ }[] | undefined;
418
+ meta?: any;
419
+ scenarioMenus?: {
420
+ [x: string]: any;
421
+ code: string;
422
+ name: string;
423
+ icon: string;
424
+ sourceModels: string[];
425
+ targetCreateModel: string;
426
+ targetModels: string[];
427
+ }[] | undefined;
428
+ inert?: boolean | undefined;
429
+ sourceModels?: string[] | undefined;
430
+ targetModels?: string[] | undefined;
431
+ modelTypePropertyId: string;
432
+ targetCreateModel?: string | undefined;
433
+ sourceModelId?: string | undefined;
434
+ isMovableComparents: boolean;
435
+ }[], Shape[] | {
436
+ id: string;
437
+ diagramId: string;
438
+ parenShapeId: string;
439
+ shapeKey: string;
440
+ shapeType: "shape" | "edge" | "pin" | "diagram";
441
+ bounds: {
442
+ x?: number | undefined;
443
+ y?: number | undefined;
444
+ width?: number | undefined;
445
+ height?: number | undefined;
446
+ };
447
+ style?: {
448
+ fontSize?: number | undefined;
449
+ fontFamily?: string | undefined;
450
+ fontWeight?: string | undefined;
451
+ color?: string | undefined;
452
+ backgroundColor?: string | undefined;
453
+ borderColor?: string | undefined;
454
+ borderWidth?: number | undefined;
455
+ borderRadius?: number | undefined;
456
+ padding?: number | {
457
+ top: number;
458
+ right: number;
459
+ bottom: number;
460
+ left: number;
461
+ } | undefined;
462
+ margin?: number | undefined;
463
+ zIndex?: number | undefined;
464
+ canvasBorderWidth?: number | undefined;
465
+ canvasBorderColor?: string | undefined;
466
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
467
+ canvasNameFontSize?: number | undefined;
468
+ canvasNameFontFamily?: string | undefined;
469
+ canvasNameFontColor?: string | undefined;
470
+ gradientLeftColor?: string | undefined;
471
+ gradientRightColor?: string | undefined;
472
+ textAnchor?: string | undefined;
473
+ dominantBaseline?: string | undefined;
474
+ } | undefined;
475
+ keywords: string;
476
+ keywordsBounds?: {
477
+ x?: number | undefined;
478
+ y?: number | undefined;
479
+ width?: number | undefined;
480
+ height?: number | undefined;
481
+ } | undefined;
482
+ keywordsStyle?: {
483
+ fontSize?: number | undefined;
484
+ fontFamily?: string | undefined;
485
+ fontWeight?: string | undefined;
486
+ color?: string | undefined;
487
+ backgroundColor?: string | undefined;
488
+ borderColor?: string | undefined;
489
+ borderWidth?: number | undefined;
490
+ borderRadius?: number | undefined;
491
+ padding?: number | {
492
+ top: number;
493
+ right: number;
494
+ bottom: number;
495
+ left: number;
496
+ } | undefined;
497
+ margin?: number | undefined;
498
+ zIndex?: number | undefined;
499
+ canvasBorderWidth?: number | undefined;
500
+ canvasBorderColor?: string | undefined;
501
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
502
+ canvasNameFontSize?: number | undefined;
503
+ canvasNameFontFamily?: string | undefined;
504
+ canvasNameFontColor?: string | undefined;
505
+ gradientLeftColor?: string | undefined;
506
+ gradientRightColor?: string | undefined;
507
+ textAnchor?: string | undefined;
508
+ dominantBaseline?: string | undefined;
509
+ } | undefined;
510
+ icon?: string | undefined;
511
+ modelId: string;
512
+ modelName: string;
513
+ names: string;
514
+ name: string;
515
+ nameBounds?: {
516
+ x?: number | undefined;
517
+ y?: number | undefined;
518
+ width?: number | undefined;
519
+ height?: number | undefined;
520
+ } | undefined;
521
+ nameStyle?: {
522
+ fontSize?: number | undefined;
523
+ fontFamily?: string | undefined;
524
+ fontWeight?: string | undefined;
525
+ color?: string | undefined;
526
+ backgroundColor?: string | undefined;
527
+ borderColor?: string | undefined;
528
+ borderWidth?: number | undefined;
529
+ borderRadius?: number | undefined;
530
+ padding?: number | {
531
+ top: number;
532
+ right: number;
533
+ bottom: number;
534
+ left: number;
535
+ } | undefined;
536
+ margin?: number | undefined;
537
+ zIndex?: number | undefined;
538
+ canvasBorderWidth?: number | undefined;
539
+ canvasBorderColor?: string | undefined;
540
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
541
+ canvasNameFontSize?: number | undefined;
542
+ canvasNameFontFamily?: string | undefined;
543
+ canvasNameFontColor?: string | undefined;
544
+ gradientLeftColor?: string | undefined;
545
+ gradientRightColor?: string | undefined;
546
+ textAnchor?: string | undefined;
547
+ dominantBaseline?: string | undefined;
548
+ } | undefined;
549
+ direction?: string | undefined;
550
+ sourceId?: string | undefined;
551
+ targetId?: string | undefined;
552
+ waypointId?: string | undefined;
553
+ waypoints?: {
554
+ x: number;
555
+ y: number;
556
+ }[] | undefined;
557
+ showKeywords: boolean;
558
+ showIcon: boolean;
559
+ showName: boolean;
560
+ showTaggedValues: boolean;
561
+ showComparents: boolean;
562
+ taggedValueLabels?: {
563
+ id: string;
564
+ modelId: string;
565
+ modelName: string;
566
+ names: string;
567
+ name: string;
568
+ nameBounds?: string | undefined;
569
+ nameStyle?: string | undefined;
570
+ }[] | undefined;
571
+ comparents?: {
572
+ bounds: {
573
+ x?: number | undefined;
574
+ y?: number | undefined;
575
+ width?: number | undefined;
576
+ height?: number | undefined;
577
+ };
578
+ modelId: string;
579
+ modelName: string;
580
+ comparentShapes: any[];
581
+ }[] | undefined;
582
+ meta?: any;
583
+ scenarioMenus?: {
584
+ [x: string]: any;
585
+ code: string;
586
+ name: string;
587
+ icon: string;
588
+ sourceModels: string[];
589
+ targetCreateModel: string;
590
+ targetModels: string[];
591
+ }[] | undefined;
592
+ inert?: boolean | undefined;
593
+ sourceModels?: string[] | undefined;
594
+ targetModels?: string[] | undefined;
595
+ modelTypePropertyId: string;
596
+ targetCreateModel?: string | undefined;
597
+ sourceModelId?: string | undefined;
598
+ isMovableComparents: boolean;
599
+ }[]>;
600
+ pendingNestedIds: Ref<string[], string[]>;
601
+ selectedShape: Ref<{
602
+ id: string;
603
+ diagramId: string;
604
+ parenShapeId: string;
605
+ shapeKey: string;
606
+ shapeType: "shape" | "edge" | "pin" | "diagram";
607
+ bounds: {
608
+ x?: number | undefined;
609
+ y?: number | undefined;
610
+ width?: number | undefined;
611
+ height?: number | undefined;
612
+ };
613
+ style?: {
614
+ fontSize?: number | undefined;
615
+ fontFamily?: string | undefined;
616
+ fontWeight?: string | undefined;
617
+ color?: string | undefined;
618
+ backgroundColor?: string | undefined;
619
+ borderColor?: string | undefined;
620
+ borderWidth?: number | undefined;
621
+ borderRadius?: number | undefined;
622
+ padding?: number | {
623
+ top: number;
624
+ right: number;
625
+ bottom: number;
626
+ left: number;
627
+ } | undefined;
628
+ margin?: number | undefined;
629
+ zIndex?: number | undefined;
630
+ canvasBorderWidth?: number | undefined;
631
+ canvasBorderColor?: string | undefined;
632
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
633
+ canvasNameFontSize?: number | undefined;
634
+ canvasNameFontFamily?: string | undefined;
635
+ canvasNameFontColor?: string | undefined;
636
+ gradientLeftColor?: string | undefined;
637
+ gradientRightColor?: string | undefined;
638
+ textAnchor?: string | undefined;
639
+ dominantBaseline?: string | undefined;
640
+ } | undefined;
641
+ keywords: string;
642
+ keywordsBounds?: {
643
+ x?: number | undefined;
644
+ y?: number | undefined;
645
+ width?: number | undefined;
646
+ height?: number | undefined;
647
+ } | undefined;
648
+ keywordsStyle?: {
649
+ fontSize?: number | undefined;
650
+ fontFamily?: string | undefined;
651
+ fontWeight?: string | undefined;
652
+ color?: string | undefined;
653
+ backgroundColor?: string | undefined;
654
+ borderColor?: string | undefined;
655
+ borderWidth?: number | undefined;
656
+ borderRadius?: number | undefined;
657
+ padding?: number | {
658
+ top: number;
659
+ right: number;
660
+ bottom: number;
661
+ left: number;
662
+ } | undefined;
663
+ margin?: number | undefined;
664
+ zIndex?: number | undefined;
665
+ canvasBorderWidth?: number | undefined;
666
+ canvasBorderColor?: string | undefined;
667
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
668
+ canvasNameFontSize?: number | undefined;
669
+ canvasNameFontFamily?: string | undefined;
670
+ canvasNameFontColor?: string | undefined;
671
+ gradientLeftColor?: string | undefined;
672
+ gradientRightColor?: string | undefined;
673
+ textAnchor?: string | undefined;
674
+ dominantBaseline?: string | undefined;
675
+ } | undefined;
676
+ icon?: string | undefined;
677
+ modelId: string;
678
+ modelName: string;
679
+ names: string;
680
+ name: string;
681
+ nameBounds?: {
682
+ x?: number | undefined;
683
+ y?: number | undefined;
684
+ width?: number | undefined;
685
+ height?: number | undefined;
686
+ } | undefined;
687
+ nameStyle?: {
688
+ fontSize?: number | undefined;
689
+ fontFamily?: string | undefined;
690
+ fontWeight?: string | undefined;
691
+ color?: string | undefined;
692
+ backgroundColor?: string | undefined;
693
+ borderColor?: string | undefined;
694
+ borderWidth?: number | undefined;
695
+ borderRadius?: number | undefined;
696
+ padding?: number | {
697
+ top: number;
698
+ right: number;
699
+ bottom: number;
700
+ left: number;
701
+ } | undefined;
702
+ margin?: number | undefined;
703
+ zIndex?: number | undefined;
704
+ canvasBorderWidth?: number | undefined;
705
+ canvasBorderColor?: string | undefined;
706
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
707
+ canvasNameFontSize?: number | undefined;
708
+ canvasNameFontFamily?: string | undefined;
709
+ canvasNameFontColor?: string | undefined;
710
+ gradientLeftColor?: string | undefined;
711
+ gradientRightColor?: string | undefined;
712
+ textAnchor?: string | undefined;
713
+ dominantBaseline?: string | undefined;
714
+ } | undefined;
715
+ direction?: string | undefined;
716
+ sourceId?: string | undefined;
717
+ targetId?: string | undefined;
718
+ waypointId?: string | undefined;
719
+ waypoints?: {
720
+ x: number;
721
+ y: number;
722
+ }[] | undefined;
723
+ showKeywords: boolean;
724
+ showIcon: boolean;
725
+ showName: boolean;
726
+ showTaggedValues: boolean;
727
+ showComparents: boolean;
728
+ taggedValueLabels?: {
729
+ id: string;
730
+ modelId: string;
731
+ modelName: string;
732
+ names: string;
733
+ name: string;
734
+ nameBounds?: string | undefined;
735
+ nameStyle?: string | undefined;
736
+ }[] | undefined;
737
+ comparents?: {
738
+ bounds: {
739
+ x?: number | undefined;
740
+ y?: number | undefined;
741
+ width?: number | undefined;
742
+ height?: number | undefined;
743
+ };
744
+ modelId: string;
745
+ modelName: string;
746
+ comparentShapes: any[];
747
+ }[] | undefined;
748
+ meta?: any;
749
+ scenarioMenus?: {
750
+ [x: string]: any;
751
+ code: string;
752
+ name: string;
753
+ icon: string;
754
+ sourceModels: string[];
755
+ targetCreateModel: string;
756
+ targetModels: string[];
757
+ }[] | undefined;
758
+ inert?: boolean | undefined;
759
+ sourceModels?: string[] | undefined;
760
+ targetModels?: string[] | undefined;
761
+ modelTypePropertyId: string;
762
+ targetCreateModel?: string | undefined;
763
+ sourceModelId?: string | undefined;
764
+ isMovableComparents: boolean;
765
+ } | null, Shape | {
766
+ id: string;
767
+ diagramId: string;
768
+ parenShapeId: string;
769
+ shapeKey: string;
770
+ shapeType: "shape" | "edge" | "pin" | "diagram";
771
+ bounds: {
772
+ x?: number | undefined;
773
+ y?: number | undefined;
774
+ width?: number | undefined;
775
+ height?: number | undefined;
776
+ };
777
+ style?: {
778
+ fontSize?: number | undefined;
779
+ fontFamily?: string | undefined;
780
+ fontWeight?: string | undefined;
781
+ color?: string | undefined;
782
+ backgroundColor?: string | undefined;
783
+ borderColor?: string | undefined;
784
+ borderWidth?: number | undefined;
785
+ borderRadius?: number | undefined;
786
+ padding?: number | {
787
+ top: number;
788
+ right: number;
789
+ bottom: number;
790
+ left: number;
791
+ } | undefined;
792
+ margin?: number | undefined;
793
+ zIndex?: number | undefined;
794
+ canvasBorderWidth?: number | undefined;
795
+ canvasBorderColor?: string | undefined;
796
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
797
+ canvasNameFontSize?: number | undefined;
798
+ canvasNameFontFamily?: string | undefined;
799
+ canvasNameFontColor?: string | undefined;
800
+ gradientLeftColor?: string | undefined;
801
+ gradientRightColor?: string | undefined;
802
+ textAnchor?: string | undefined;
803
+ dominantBaseline?: string | undefined;
804
+ } | undefined;
805
+ keywords: string;
806
+ keywordsBounds?: {
807
+ x?: number | undefined;
808
+ y?: number | undefined;
809
+ width?: number | undefined;
810
+ height?: number | undefined;
811
+ } | undefined;
812
+ keywordsStyle?: {
813
+ fontSize?: number | undefined;
814
+ fontFamily?: string | undefined;
815
+ fontWeight?: string | undefined;
816
+ color?: string | undefined;
817
+ backgroundColor?: string | undefined;
818
+ borderColor?: string | undefined;
819
+ borderWidth?: number | undefined;
820
+ borderRadius?: number | undefined;
821
+ padding?: number | {
822
+ top: number;
823
+ right: number;
824
+ bottom: number;
825
+ left: number;
826
+ } | undefined;
827
+ margin?: number | undefined;
828
+ zIndex?: number | undefined;
829
+ canvasBorderWidth?: number | undefined;
830
+ canvasBorderColor?: string | undefined;
831
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
832
+ canvasNameFontSize?: number | undefined;
833
+ canvasNameFontFamily?: string | undefined;
834
+ canvasNameFontColor?: string | undefined;
835
+ gradientLeftColor?: string | undefined;
836
+ gradientRightColor?: string | undefined;
837
+ textAnchor?: string | undefined;
838
+ dominantBaseline?: string | undefined;
839
+ } | undefined;
840
+ icon?: string | undefined;
841
+ modelId: string;
842
+ modelName: string;
843
+ names: string;
844
+ name: string;
845
+ nameBounds?: {
846
+ x?: number | undefined;
847
+ y?: number | undefined;
848
+ width?: number | undefined;
849
+ height?: number | undefined;
850
+ } | undefined;
851
+ nameStyle?: {
852
+ fontSize?: number | undefined;
853
+ fontFamily?: string | undefined;
854
+ fontWeight?: string | undefined;
855
+ color?: string | undefined;
856
+ backgroundColor?: string | undefined;
857
+ borderColor?: string | undefined;
858
+ borderWidth?: number | undefined;
859
+ borderRadius?: number | undefined;
860
+ padding?: number | {
861
+ top: number;
862
+ right: number;
863
+ bottom: number;
864
+ left: number;
865
+ } | undefined;
866
+ margin?: number | undefined;
867
+ zIndex?: number | undefined;
868
+ canvasBorderWidth?: number | undefined;
869
+ canvasBorderColor?: string | undefined;
870
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
871
+ canvasNameFontSize?: number | undefined;
872
+ canvasNameFontFamily?: string | undefined;
873
+ canvasNameFontColor?: string | undefined;
874
+ gradientLeftColor?: string | undefined;
875
+ gradientRightColor?: string | undefined;
876
+ textAnchor?: string | undefined;
877
+ dominantBaseline?: string | undefined;
878
+ } | undefined;
879
+ direction?: string | undefined;
880
+ sourceId?: string | undefined;
881
+ targetId?: string | undefined;
882
+ waypointId?: string | undefined;
883
+ waypoints?: {
884
+ x: number;
885
+ y: number;
886
+ }[] | undefined;
887
+ showKeywords: boolean;
888
+ showIcon: boolean;
889
+ showName: boolean;
890
+ showTaggedValues: boolean;
891
+ showComparents: boolean;
892
+ taggedValueLabels?: {
893
+ id: string;
894
+ modelId: string;
895
+ modelName: string;
896
+ names: string;
897
+ name: string;
898
+ nameBounds?: string | undefined;
899
+ nameStyle?: string | undefined;
900
+ }[] | undefined;
901
+ comparents?: {
902
+ bounds: {
903
+ x?: number | undefined;
904
+ y?: number | undefined;
905
+ width?: number | undefined;
906
+ height?: number | undefined;
907
+ };
908
+ modelId: string;
909
+ modelName: string;
910
+ comparentShapes: any[];
911
+ }[] | undefined;
912
+ meta?: any;
913
+ scenarioMenus?: {
914
+ [x: string]: any;
915
+ code: string;
916
+ name: string;
917
+ icon: string;
918
+ sourceModels: string[];
919
+ targetCreateModel: string;
920
+ targetModels: string[];
921
+ }[] | undefined;
922
+ inert?: boolean | undefined;
923
+ sourceModels?: string[] | undefined;
924
+ targetModels?: string[] | undefined;
925
+ modelTypePropertyId: string;
926
+ targetCreateModel?: string | undefined;
927
+ sourceModelId?: string | undefined;
928
+ isMovableComparents: boolean;
929
+ } | null>;
930
+ diagramTitle: Ref<string, string>;
931
+ isDragging: Ref<boolean, boolean>;
932
+ draggingShapeId: Ref<string | null, string | null>;
933
+ dragOffset: Ref<{
934
+ x: number;
935
+ y: number;
936
+ } | null, {
937
+ x: number;
938
+ y: number;
939
+ } | {
940
+ x: number;
941
+ y: number;
942
+ } | null>;
943
+ diagrams: Ref<{
944
+ id: string;
945
+ diagramId: string;
946
+ parenShapeId: string;
947
+ shapeKey: string;
948
+ shapeType: "shape" | "edge" | "pin" | "diagram";
949
+ bounds: {
950
+ x?: number | undefined;
951
+ y?: number | undefined;
952
+ width?: number | undefined;
953
+ height?: number | undefined;
954
+ };
955
+ style?: {
956
+ fontSize?: number | undefined;
957
+ fontFamily?: string | undefined;
958
+ fontWeight?: string | undefined;
959
+ color?: string | undefined;
960
+ backgroundColor?: string | undefined;
961
+ borderColor?: string | undefined;
962
+ borderWidth?: number | undefined;
963
+ borderRadius?: number | undefined;
964
+ padding?: number | {
965
+ top: number;
966
+ right: number;
967
+ bottom: number;
968
+ left: number;
969
+ } | undefined;
970
+ margin?: number | undefined;
971
+ zIndex?: number | undefined;
972
+ canvasBorderWidth?: number | undefined;
973
+ canvasBorderColor?: string | undefined;
974
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
975
+ canvasNameFontSize?: number | undefined;
976
+ canvasNameFontFamily?: string | undefined;
977
+ canvasNameFontColor?: string | undefined;
978
+ gradientLeftColor?: string | undefined;
979
+ gradientRightColor?: string | undefined;
980
+ textAnchor?: string | undefined;
981
+ dominantBaseline?: string | undefined;
982
+ } | undefined;
983
+ keywords: string;
984
+ keywordsBounds?: {
985
+ x?: number | undefined;
986
+ y?: number | undefined;
987
+ width?: number | undefined;
988
+ height?: number | undefined;
989
+ } | undefined;
990
+ keywordsStyle?: {
991
+ fontSize?: number | undefined;
992
+ fontFamily?: string | undefined;
993
+ fontWeight?: string | undefined;
994
+ color?: string | undefined;
995
+ backgroundColor?: string | undefined;
996
+ borderColor?: string | undefined;
997
+ borderWidth?: number | undefined;
998
+ borderRadius?: number | undefined;
999
+ padding?: number | {
1000
+ top: number;
1001
+ right: number;
1002
+ bottom: number;
1003
+ left: number;
1004
+ } | undefined;
1005
+ margin?: number | undefined;
1006
+ zIndex?: number | undefined;
1007
+ canvasBorderWidth?: number | undefined;
1008
+ canvasBorderColor?: string | undefined;
1009
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1010
+ canvasNameFontSize?: number | undefined;
1011
+ canvasNameFontFamily?: string | undefined;
1012
+ canvasNameFontColor?: string | undefined;
1013
+ gradientLeftColor?: string | undefined;
1014
+ gradientRightColor?: string | undefined;
1015
+ textAnchor?: string | undefined;
1016
+ dominantBaseline?: string | undefined;
1017
+ } | undefined;
1018
+ icon?: string | undefined;
1019
+ modelId: string;
1020
+ modelName: string;
1021
+ names: string;
1022
+ name: string;
1023
+ nameBounds?: {
1024
+ x?: number | undefined;
1025
+ y?: number | undefined;
1026
+ width?: number | undefined;
1027
+ height?: number | undefined;
1028
+ } | undefined;
1029
+ nameStyle?: {
1030
+ fontSize?: number | undefined;
1031
+ fontFamily?: string | undefined;
1032
+ fontWeight?: string | undefined;
1033
+ color?: string | undefined;
1034
+ backgroundColor?: string | undefined;
1035
+ borderColor?: string | undefined;
1036
+ borderWidth?: number | undefined;
1037
+ borderRadius?: number | undefined;
1038
+ padding?: number | {
1039
+ top: number;
1040
+ right: number;
1041
+ bottom: number;
1042
+ left: number;
1043
+ } | undefined;
1044
+ margin?: number | undefined;
1045
+ zIndex?: number | undefined;
1046
+ canvasBorderWidth?: number | undefined;
1047
+ canvasBorderColor?: string | undefined;
1048
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1049
+ canvasNameFontSize?: number | undefined;
1050
+ canvasNameFontFamily?: string | undefined;
1051
+ canvasNameFontColor?: string | undefined;
1052
+ gradientLeftColor?: string | undefined;
1053
+ gradientRightColor?: string | undefined;
1054
+ textAnchor?: string | undefined;
1055
+ dominantBaseline?: string | undefined;
1056
+ } | undefined;
1057
+ direction?: string | undefined;
1058
+ sourceId?: string | undefined;
1059
+ targetId?: string | undefined;
1060
+ waypointId?: string | undefined;
1061
+ waypoints?: {
1062
+ x: number;
1063
+ y: number;
1064
+ }[] | undefined;
1065
+ showKeywords: boolean;
1066
+ showIcon: boolean;
1067
+ showName: boolean;
1068
+ showTaggedValues: boolean;
1069
+ showComparents: boolean;
1070
+ taggedValueLabels?: {
1071
+ id: string;
1072
+ modelId: string;
1073
+ modelName: string;
1074
+ names: string;
1075
+ name: string;
1076
+ nameBounds?: string | undefined;
1077
+ nameStyle?: string | undefined;
1078
+ }[] | undefined;
1079
+ comparents?: {
1080
+ bounds: {
1081
+ x?: number | undefined;
1082
+ y?: number | undefined;
1083
+ width?: number | undefined;
1084
+ height?: number | undefined;
1085
+ };
1086
+ modelId: string;
1087
+ modelName: string;
1088
+ comparentShapes: any[];
1089
+ }[] | undefined;
1090
+ meta?: any;
1091
+ scenarioMenus?: {
1092
+ [x: string]: any;
1093
+ code: string;
1094
+ name: string;
1095
+ icon: string;
1096
+ sourceModels: string[];
1097
+ targetCreateModel: string;
1098
+ targetModels: string[];
1099
+ }[] | undefined;
1100
+ inert?: boolean | undefined;
1101
+ sourceModels?: string[] | undefined;
1102
+ targetModels?: string[] | undefined;
1103
+ modelTypePropertyId: string;
1104
+ targetCreateModel?: string | undefined;
1105
+ sourceModelId?: string | undefined;
1106
+ isMovableComparents: boolean;
1107
+ }[], Shape[] | {
1108
+ id: string;
1109
+ diagramId: string;
1110
+ parenShapeId: string;
1111
+ shapeKey: string;
1112
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1113
+ bounds: {
1114
+ x?: number | undefined;
1115
+ y?: number | undefined;
1116
+ width?: number | undefined;
1117
+ height?: number | undefined;
1118
+ };
1119
+ style?: {
1120
+ fontSize?: number | undefined;
1121
+ fontFamily?: string | undefined;
1122
+ fontWeight?: string | undefined;
1123
+ color?: string | undefined;
1124
+ backgroundColor?: string | undefined;
1125
+ borderColor?: string | undefined;
1126
+ borderWidth?: number | undefined;
1127
+ borderRadius?: number | undefined;
1128
+ padding?: number | {
1129
+ top: number;
1130
+ right: number;
1131
+ bottom: number;
1132
+ left: number;
1133
+ } | undefined;
1134
+ margin?: number | undefined;
1135
+ zIndex?: number | undefined;
1136
+ canvasBorderWidth?: number | undefined;
1137
+ canvasBorderColor?: string | undefined;
1138
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1139
+ canvasNameFontSize?: number | undefined;
1140
+ canvasNameFontFamily?: string | undefined;
1141
+ canvasNameFontColor?: string | undefined;
1142
+ gradientLeftColor?: string | undefined;
1143
+ gradientRightColor?: string | undefined;
1144
+ textAnchor?: string | undefined;
1145
+ dominantBaseline?: string | undefined;
1146
+ } | undefined;
1147
+ keywords: string;
1148
+ keywordsBounds?: {
1149
+ x?: number | undefined;
1150
+ y?: number | undefined;
1151
+ width?: number | undefined;
1152
+ height?: number | undefined;
1153
+ } | undefined;
1154
+ keywordsStyle?: {
1155
+ fontSize?: number | undefined;
1156
+ fontFamily?: string | undefined;
1157
+ fontWeight?: string | undefined;
1158
+ color?: string | undefined;
1159
+ backgroundColor?: string | undefined;
1160
+ borderColor?: string | undefined;
1161
+ borderWidth?: number | undefined;
1162
+ borderRadius?: number | undefined;
1163
+ padding?: number | {
1164
+ top: number;
1165
+ right: number;
1166
+ bottom: number;
1167
+ left: number;
1168
+ } | undefined;
1169
+ margin?: number | undefined;
1170
+ zIndex?: number | undefined;
1171
+ canvasBorderWidth?: number | undefined;
1172
+ canvasBorderColor?: string | undefined;
1173
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1174
+ canvasNameFontSize?: number | undefined;
1175
+ canvasNameFontFamily?: string | undefined;
1176
+ canvasNameFontColor?: string | undefined;
1177
+ gradientLeftColor?: string | undefined;
1178
+ gradientRightColor?: string | undefined;
1179
+ textAnchor?: string | undefined;
1180
+ dominantBaseline?: string | undefined;
1181
+ } | undefined;
1182
+ icon?: string | undefined;
1183
+ modelId: string;
1184
+ modelName: string;
1185
+ names: string;
1186
+ name: string;
1187
+ nameBounds?: {
1188
+ x?: number | undefined;
1189
+ y?: number | undefined;
1190
+ width?: number | undefined;
1191
+ height?: number | undefined;
1192
+ } | undefined;
1193
+ nameStyle?: {
1194
+ fontSize?: number | undefined;
1195
+ fontFamily?: string | undefined;
1196
+ fontWeight?: string | undefined;
1197
+ color?: string | undefined;
1198
+ backgroundColor?: string | undefined;
1199
+ borderColor?: string | undefined;
1200
+ borderWidth?: number | undefined;
1201
+ borderRadius?: number | undefined;
1202
+ padding?: number | {
1203
+ top: number;
1204
+ right: number;
1205
+ bottom: number;
1206
+ left: number;
1207
+ } | undefined;
1208
+ margin?: number | undefined;
1209
+ zIndex?: number | undefined;
1210
+ canvasBorderWidth?: number | undefined;
1211
+ canvasBorderColor?: string | undefined;
1212
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1213
+ canvasNameFontSize?: number | undefined;
1214
+ canvasNameFontFamily?: string | undefined;
1215
+ canvasNameFontColor?: string | undefined;
1216
+ gradientLeftColor?: string | undefined;
1217
+ gradientRightColor?: string | undefined;
1218
+ textAnchor?: string | undefined;
1219
+ dominantBaseline?: string | undefined;
1220
+ } | undefined;
1221
+ direction?: string | undefined;
1222
+ sourceId?: string | undefined;
1223
+ targetId?: string | undefined;
1224
+ waypointId?: string | undefined;
1225
+ waypoints?: {
1226
+ x: number;
1227
+ y: number;
1228
+ }[] | undefined;
1229
+ showKeywords: boolean;
1230
+ showIcon: boolean;
1231
+ showName: boolean;
1232
+ showTaggedValues: boolean;
1233
+ showComparents: boolean;
1234
+ taggedValueLabels?: {
1235
+ id: string;
1236
+ modelId: string;
1237
+ modelName: string;
1238
+ names: string;
1239
+ name: string;
1240
+ nameBounds?: string | undefined;
1241
+ nameStyle?: string | undefined;
1242
+ }[] | undefined;
1243
+ comparents?: {
1244
+ bounds: {
1245
+ x?: number | undefined;
1246
+ y?: number | undefined;
1247
+ width?: number | undefined;
1248
+ height?: number | undefined;
1249
+ };
1250
+ modelId: string;
1251
+ modelName: string;
1252
+ comparentShapes: any[];
1253
+ }[] | undefined;
1254
+ meta?: any;
1255
+ scenarioMenus?: {
1256
+ [x: string]: any;
1257
+ code: string;
1258
+ name: string;
1259
+ icon: string;
1260
+ sourceModels: string[];
1261
+ targetCreateModel: string;
1262
+ targetModels: string[];
1263
+ }[] | undefined;
1264
+ inert?: boolean | undefined;
1265
+ sourceModels?: string[] | undefined;
1266
+ targetModels?: string[] | undefined;
1267
+ modelTypePropertyId: string;
1268
+ targetCreateModel?: string | undefined;
1269
+ sourceModelId?: string | undefined;
1270
+ isMovableComparents: boolean;
1271
+ }[]>;
1272
+ selectedIds: Ref<string[], string[]>;
1273
+ hoverContainerId: Ref<string | null, string | null>;
1274
+ hoverNestable: Ref<boolean | null, boolean | null>;
1275
+ currentDiagramId: Ref<string | null, string | null>;
1276
+ canDropOnCanvas: Ref<boolean, boolean>;
1277
+ taggedValueLabels: Ref<string[], string[]>;
1278
+ packagesTypes: Ref<string[], string[]>;
1279
+ classMetaTypes: Ref<string[], string[]>;
1280
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
1281
+ pinsTypes: Ref<string[], string[]>;
1282
+ portsTypes: Ref<string[], string[]>;
1283
+ shapeCount: ComputedRef<number>;
1284
+ hasSelectedShape: ComputedRef<boolean>;
1285
+ marqueeShapes: ComputedRef<Shape[]>;
1286
+ ghostShadow: ComputedRef<Shape[]>;
1287
+ scales: Ref<Record<string, number>, Record<string, number>>;
1288
+ activeDiagramId: Ref<string | null, string | null>;
1289
+ currentScale: ComputedRef<number>;
1290
+ addShape: (shape: Shape) => void;
1291
+ removeShape: (shapeId: string) => void;
1292
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
1293
+ selectShape: (shape: Shape | null) => void;
1294
+ setTitle: (title: string) => void;
1295
+ updateShapes: (newShapes: Shape[]) => void;
1296
+ clearAll: () => void;
1297
+ startDragShape: (shapeId: string, pointer: {
1298
+ x: number;
1299
+ y: number;
1300
+ }) => void;
1301
+ startDrag: (ids: string[], pointer: {
1302
+ x: number;
1303
+ y: number;
1304
+ }) => void;
1305
+ moveDraggedShape: (pointer: {
1306
+ x: number;
1307
+ y: number;
1308
+ }) => void;
1309
+ endDragShape: (source?: string) => Promise<void>;
1310
+ getShapes: () => {
1311
+ id: string;
1312
+ diagramId: string;
1313
+ parenShapeId: string;
1314
+ shapeKey: string;
1315
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1316
+ bounds: {
1317
+ x?: number | undefined;
1318
+ y?: number | undefined;
1319
+ width?: number | undefined;
1320
+ height?: number | undefined;
1321
+ };
1322
+ style?: {
1323
+ fontSize?: number | undefined;
1324
+ fontFamily?: string | undefined;
1325
+ fontWeight?: string | undefined;
1326
+ color?: string | undefined;
1327
+ backgroundColor?: string | undefined;
1328
+ borderColor?: string | undefined;
1329
+ borderWidth?: number | undefined;
1330
+ borderRadius?: number | undefined;
1331
+ padding?: number | {
1332
+ top: number;
1333
+ right: number;
1334
+ bottom: number;
1335
+ left: number;
1336
+ } | undefined;
1337
+ margin?: number | undefined;
1338
+ zIndex?: number | undefined;
1339
+ canvasBorderWidth?: number | undefined;
1340
+ canvasBorderColor?: string | undefined;
1341
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1342
+ canvasNameFontSize?: number | undefined;
1343
+ canvasNameFontFamily?: string | undefined;
1344
+ canvasNameFontColor?: string | undefined;
1345
+ gradientLeftColor?: string | undefined;
1346
+ gradientRightColor?: string | undefined;
1347
+ textAnchor?: string | undefined;
1348
+ dominantBaseline?: string | undefined;
1349
+ } | undefined;
1350
+ keywords: string;
1351
+ keywordsBounds?: {
1352
+ x?: number | undefined;
1353
+ y?: number | undefined;
1354
+ width?: number | undefined;
1355
+ height?: number | undefined;
1356
+ } | undefined;
1357
+ keywordsStyle?: {
1358
+ fontSize?: number | undefined;
1359
+ fontFamily?: string | undefined;
1360
+ fontWeight?: string | undefined;
1361
+ color?: string | undefined;
1362
+ backgroundColor?: string | undefined;
1363
+ borderColor?: string | undefined;
1364
+ borderWidth?: number | undefined;
1365
+ borderRadius?: number | undefined;
1366
+ padding?: number | {
1367
+ top: number;
1368
+ right: number;
1369
+ bottom: number;
1370
+ left: number;
1371
+ } | undefined;
1372
+ margin?: number | undefined;
1373
+ zIndex?: number | undefined;
1374
+ canvasBorderWidth?: number | undefined;
1375
+ canvasBorderColor?: string | undefined;
1376
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1377
+ canvasNameFontSize?: number | undefined;
1378
+ canvasNameFontFamily?: string | undefined;
1379
+ canvasNameFontColor?: string | undefined;
1380
+ gradientLeftColor?: string | undefined;
1381
+ gradientRightColor?: string | undefined;
1382
+ textAnchor?: string | undefined;
1383
+ dominantBaseline?: string | undefined;
1384
+ } | undefined;
1385
+ icon?: string | undefined;
1386
+ modelId: string;
1387
+ modelName: string;
1388
+ names: string;
1389
+ name: string;
1390
+ nameBounds?: {
1391
+ x?: number | undefined;
1392
+ y?: number | undefined;
1393
+ width?: number | undefined;
1394
+ height?: number | undefined;
1395
+ } | undefined;
1396
+ nameStyle?: {
1397
+ fontSize?: number | undefined;
1398
+ fontFamily?: string | undefined;
1399
+ fontWeight?: string | undefined;
1400
+ color?: string | undefined;
1401
+ backgroundColor?: string | undefined;
1402
+ borderColor?: string | undefined;
1403
+ borderWidth?: number | undefined;
1404
+ borderRadius?: number | undefined;
1405
+ padding?: number | {
1406
+ top: number;
1407
+ right: number;
1408
+ bottom: number;
1409
+ left: number;
1410
+ } | undefined;
1411
+ margin?: number | undefined;
1412
+ zIndex?: number | undefined;
1413
+ canvasBorderWidth?: number | undefined;
1414
+ canvasBorderColor?: string | undefined;
1415
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1416
+ canvasNameFontSize?: number | undefined;
1417
+ canvasNameFontFamily?: string | undefined;
1418
+ canvasNameFontColor?: string | undefined;
1419
+ gradientLeftColor?: string | undefined;
1420
+ gradientRightColor?: string | undefined;
1421
+ textAnchor?: string | undefined;
1422
+ dominantBaseline?: string | undefined;
1423
+ } | undefined;
1424
+ direction?: string | undefined;
1425
+ sourceId?: string | undefined;
1426
+ targetId?: string | undefined;
1427
+ waypointId?: string | undefined;
1428
+ waypoints?: {
1429
+ x: number;
1430
+ y: number;
1431
+ }[] | undefined;
1432
+ showKeywords: boolean;
1433
+ showIcon: boolean;
1434
+ showName: boolean;
1435
+ showTaggedValues: boolean;
1436
+ showComparents: boolean;
1437
+ taggedValueLabels?: {
1438
+ id: string;
1439
+ modelId: string;
1440
+ modelName: string;
1441
+ names: string;
1442
+ name: string;
1443
+ nameBounds?: string | undefined;
1444
+ nameStyle?: string | undefined;
1445
+ }[] | undefined;
1446
+ comparents?: {
1447
+ bounds: {
1448
+ x?: number | undefined;
1449
+ y?: number | undefined;
1450
+ width?: number | undefined;
1451
+ height?: number | undefined;
1452
+ };
1453
+ modelId: string;
1454
+ modelName: string;
1455
+ comparentShapes: any[];
1456
+ }[] | undefined;
1457
+ meta?: any;
1458
+ scenarioMenus?: {
1459
+ [x: string]: any;
1460
+ code: string;
1461
+ name: string;
1462
+ icon: string;
1463
+ sourceModels: string[];
1464
+ targetCreateModel: string;
1465
+ targetModels: string[];
1466
+ }[] | undefined;
1467
+ inert?: boolean | undefined;
1468
+ sourceModels?: string[] | undefined;
1469
+ targetModels?: string[] | undefined;
1470
+ modelTypePropertyId: string;
1471
+ targetCreateModel?: string | undefined;
1472
+ sourceModelId?: string | undefined;
1473
+ isMovableComparents: boolean;
1474
+ }[];
1475
+ addDiagram: (diagram: Shape) => void;
1476
+ setCurrentDiagramId: (id: string | null) => void;
1477
+ selectMany: (ids: string[]) => void;
1478
+ clearSelection: () => void;
1479
+ removeSelected: () => void;
1480
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
1481
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
1482
+ initializeAllEdgeEndpoints: () => void;
1483
+ endResizeShape: (id: string) => void;
1484
+ getScale: (diagramId?: string | null) => number;
1485
+ setScale: (newScale: number, diagramId?: string | null) => void;
1486
+ setActiveDiagramId: (id: string | null) => void;
1487
+ visibleShapes: ComputedRef<Shape[]>;
1488
+ externalCreatingId: Ref<string | null, string | null>;
1489
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
1490
+ }, "taggedValueLabels" | "shapes" | "selectedShape" | "pendingNestedIds" | "diagramTitle" | "isDragging" | "draggingShapeId" | "dragOffset" | "diagrams" | "selectedIds" | "hoverContainerId" | "hoverNestable" | "currentDiagramId" | "canDropOnCanvas" | "packagesTypes" | "classMetaTypes" | "ownerRequiredShapeKeys" | "pinsTypes" | "portsTypes" | "scales" | "activeDiagramId" | "externalCreatingId">, Pick<{
1491
+ shapes: Ref<{
1492
+ id: string;
1493
+ diagramId: string;
1494
+ parenShapeId: string;
1495
+ shapeKey: string;
1496
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1497
+ bounds: {
1498
+ x?: number | undefined;
1499
+ y?: number | undefined;
1500
+ width?: number | undefined;
1501
+ height?: number | undefined;
1502
+ };
1503
+ style?: {
1504
+ fontSize?: number | undefined;
1505
+ fontFamily?: string | undefined;
1506
+ fontWeight?: string | undefined;
1507
+ color?: string | undefined;
1508
+ backgroundColor?: string | undefined;
1509
+ borderColor?: string | undefined;
1510
+ borderWidth?: number | undefined;
1511
+ borderRadius?: number | undefined;
1512
+ padding?: number | {
1513
+ top: number;
1514
+ right: number;
1515
+ bottom: number;
1516
+ left: number;
1517
+ } | undefined;
1518
+ margin?: number | undefined;
1519
+ zIndex?: number | undefined;
1520
+ canvasBorderWidth?: number | undefined;
1521
+ canvasBorderColor?: string | undefined;
1522
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1523
+ canvasNameFontSize?: number | undefined;
1524
+ canvasNameFontFamily?: string | undefined;
1525
+ canvasNameFontColor?: string | undefined;
1526
+ gradientLeftColor?: string | undefined;
1527
+ gradientRightColor?: string | undefined;
1528
+ textAnchor?: string | undefined;
1529
+ dominantBaseline?: string | undefined;
1530
+ } | undefined;
1531
+ keywords: string;
1532
+ keywordsBounds?: {
1533
+ x?: number | undefined;
1534
+ y?: number | undefined;
1535
+ width?: number | undefined;
1536
+ height?: number | undefined;
1537
+ } | undefined;
1538
+ keywordsStyle?: {
1539
+ fontSize?: number | undefined;
1540
+ fontFamily?: string | undefined;
1541
+ fontWeight?: string | undefined;
1542
+ color?: string | undefined;
1543
+ backgroundColor?: string | undefined;
1544
+ borderColor?: string | undefined;
1545
+ borderWidth?: number | undefined;
1546
+ borderRadius?: number | undefined;
1547
+ padding?: number | {
1548
+ top: number;
1549
+ right: number;
1550
+ bottom: number;
1551
+ left: number;
1552
+ } | undefined;
1553
+ margin?: number | undefined;
1554
+ zIndex?: number | undefined;
1555
+ canvasBorderWidth?: number | undefined;
1556
+ canvasBorderColor?: string | undefined;
1557
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1558
+ canvasNameFontSize?: number | undefined;
1559
+ canvasNameFontFamily?: string | undefined;
1560
+ canvasNameFontColor?: string | undefined;
1561
+ gradientLeftColor?: string | undefined;
1562
+ gradientRightColor?: string | undefined;
1563
+ textAnchor?: string | undefined;
1564
+ dominantBaseline?: string | undefined;
1565
+ } | undefined;
1566
+ icon?: string | undefined;
1567
+ modelId: string;
1568
+ modelName: string;
1569
+ names: string;
1570
+ name: string;
1571
+ nameBounds?: {
1572
+ x?: number | undefined;
1573
+ y?: number | undefined;
1574
+ width?: number | undefined;
1575
+ height?: number | undefined;
1576
+ } | undefined;
1577
+ nameStyle?: {
1578
+ fontSize?: number | undefined;
1579
+ fontFamily?: string | undefined;
1580
+ fontWeight?: string | undefined;
1581
+ color?: string | undefined;
1582
+ backgroundColor?: string | undefined;
1583
+ borderColor?: string | undefined;
1584
+ borderWidth?: number | undefined;
1585
+ borderRadius?: number | undefined;
1586
+ padding?: number | {
1587
+ top: number;
1588
+ right: number;
1589
+ bottom: number;
1590
+ left: number;
1591
+ } | undefined;
1592
+ margin?: number | undefined;
1593
+ zIndex?: number | undefined;
1594
+ canvasBorderWidth?: number | undefined;
1595
+ canvasBorderColor?: string | undefined;
1596
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1597
+ canvasNameFontSize?: number | undefined;
1598
+ canvasNameFontFamily?: string | undefined;
1599
+ canvasNameFontColor?: string | undefined;
1600
+ gradientLeftColor?: string | undefined;
1601
+ gradientRightColor?: string | undefined;
1602
+ textAnchor?: string | undefined;
1603
+ dominantBaseline?: string | undefined;
1604
+ } | undefined;
1605
+ direction?: string | undefined;
1606
+ sourceId?: string | undefined;
1607
+ targetId?: string | undefined;
1608
+ waypointId?: string | undefined;
1609
+ waypoints?: {
1610
+ x: number;
1611
+ y: number;
1612
+ }[] | undefined;
1613
+ showKeywords: boolean;
1614
+ showIcon: boolean;
1615
+ showName: boolean;
1616
+ showTaggedValues: boolean;
1617
+ showComparents: boolean;
1618
+ taggedValueLabels?: {
1619
+ id: string;
1620
+ modelId: string;
1621
+ modelName: string;
1622
+ names: string;
1623
+ name: string;
1624
+ nameBounds?: string | undefined;
1625
+ nameStyle?: string | undefined;
1626
+ }[] | undefined;
1627
+ comparents?: {
1628
+ bounds: {
1629
+ x?: number | undefined;
1630
+ y?: number | undefined;
1631
+ width?: number | undefined;
1632
+ height?: number | undefined;
1633
+ };
1634
+ modelId: string;
1635
+ modelName: string;
1636
+ comparentShapes: any[];
1637
+ }[] | undefined;
1638
+ meta?: any;
1639
+ scenarioMenus?: {
1640
+ [x: string]: any;
1641
+ code: string;
1642
+ name: string;
1643
+ icon: string;
1644
+ sourceModels: string[];
1645
+ targetCreateModel: string;
1646
+ targetModels: string[];
1647
+ }[] | undefined;
1648
+ inert?: boolean | undefined;
1649
+ sourceModels?: string[] | undefined;
1650
+ targetModels?: string[] | undefined;
1651
+ modelTypePropertyId: string;
1652
+ targetCreateModel?: string | undefined;
1653
+ sourceModelId?: string | undefined;
1654
+ isMovableComparents: boolean;
1655
+ }[], Shape[] | {
1656
+ id: string;
1657
+ diagramId: string;
1658
+ parenShapeId: string;
1659
+ shapeKey: string;
1660
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1661
+ bounds: {
1662
+ x?: number | undefined;
1663
+ y?: number | undefined;
1664
+ width?: number | undefined;
1665
+ height?: number | undefined;
1666
+ };
1667
+ style?: {
1668
+ fontSize?: number | undefined;
1669
+ fontFamily?: string | undefined;
1670
+ fontWeight?: string | undefined;
1671
+ color?: string | undefined;
1672
+ backgroundColor?: string | undefined;
1673
+ borderColor?: string | undefined;
1674
+ borderWidth?: number | undefined;
1675
+ borderRadius?: number | undefined;
1676
+ padding?: number | {
1677
+ top: number;
1678
+ right: number;
1679
+ bottom: number;
1680
+ left: number;
1681
+ } | undefined;
1682
+ margin?: number | undefined;
1683
+ zIndex?: number | undefined;
1684
+ canvasBorderWidth?: number | undefined;
1685
+ canvasBorderColor?: string | undefined;
1686
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1687
+ canvasNameFontSize?: number | undefined;
1688
+ canvasNameFontFamily?: string | undefined;
1689
+ canvasNameFontColor?: string | undefined;
1690
+ gradientLeftColor?: string | undefined;
1691
+ gradientRightColor?: string | undefined;
1692
+ textAnchor?: string | undefined;
1693
+ dominantBaseline?: string | undefined;
1694
+ } | undefined;
1695
+ keywords: string;
1696
+ keywordsBounds?: {
1697
+ x?: number | undefined;
1698
+ y?: number | undefined;
1699
+ width?: number | undefined;
1700
+ height?: number | undefined;
1701
+ } | undefined;
1702
+ keywordsStyle?: {
1703
+ fontSize?: number | undefined;
1704
+ fontFamily?: string | undefined;
1705
+ fontWeight?: string | undefined;
1706
+ color?: string | undefined;
1707
+ backgroundColor?: string | undefined;
1708
+ borderColor?: string | undefined;
1709
+ borderWidth?: number | undefined;
1710
+ borderRadius?: number | undefined;
1711
+ padding?: number | {
1712
+ top: number;
1713
+ right: number;
1714
+ bottom: number;
1715
+ left: number;
1716
+ } | undefined;
1717
+ margin?: number | undefined;
1718
+ zIndex?: number | undefined;
1719
+ canvasBorderWidth?: number | undefined;
1720
+ canvasBorderColor?: string | undefined;
1721
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1722
+ canvasNameFontSize?: number | undefined;
1723
+ canvasNameFontFamily?: string | undefined;
1724
+ canvasNameFontColor?: string | undefined;
1725
+ gradientLeftColor?: string | undefined;
1726
+ gradientRightColor?: string | undefined;
1727
+ textAnchor?: string | undefined;
1728
+ dominantBaseline?: string | undefined;
1729
+ } | undefined;
1730
+ icon?: string | undefined;
1731
+ modelId: string;
1732
+ modelName: string;
1733
+ names: string;
1734
+ name: string;
1735
+ nameBounds?: {
1736
+ x?: number | undefined;
1737
+ y?: number | undefined;
1738
+ width?: number | undefined;
1739
+ height?: number | undefined;
1740
+ } | undefined;
1741
+ nameStyle?: {
1742
+ fontSize?: number | undefined;
1743
+ fontFamily?: string | undefined;
1744
+ fontWeight?: string | undefined;
1745
+ color?: string | undefined;
1746
+ backgroundColor?: string | undefined;
1747
+ borderColor?: string | undefined;
1748
+ borderWidth?: number | undefined;
1749
+ borderRadius?: number | undefined;
1750
+ padding?: number | {
1751
+ top: number;
1752
+ right: number;
1753
+ bottom: number;
1754
+ left: number;
1755
+ } | undefined;
1756
+ margin?: number | undefined;
1757
+ zIndex?: number | undefined;
1758
+ canvasBorderWidth?: number | undefined;
1759
+ canvasBorderColor?: string | undefined;
1760
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1761
+ canvasNameFontSize?: number | undefined;
1762
+ canvasNameFontFamily?: string | undefined;
1763
+ canvasNameFontColor?: string | undefined;
1764
+ gradientLeftColor?: string | undefined;
1765
+ gradientRightColor?: string | undefined;
1766
+ textAnchor?: string | undefined;
1767
+ dominantBaseline?: string | undefined;
1768
+ } | undefined;
1769
+ direction?: string | undefined;
1770
+ sourceId?: string | undefined;
1771
+ targetId?: string | undefined;
1772
+ waypointId?: string | undefined;
1773
+ waypoints?: {
1774
+ x: number;
1775
+ y: number;
1776
+ }[] | undefined;
1777
+ showKeywords: boolean;
1778
+ showIcon: boolean;
1779
+ showName: boolean;
1780
+ showTaggedValues: boolean;
1781
+ showComparents: boolean;
1782
+ taggedValueLabels?: {
1783
+ id: string;
1784
+ modelId: string;
1785
+ modelName: string;
1786
+ names: string;
1787
+ name: string;
1788
+ nameBounds?: string | undefined;
1789
+ nameStyle?: string | undefined;
1790
+ }[] | undefined;
1791
+ comparents?: {
1792
+ bounds: {
1793
+ x?: number | undefined;
1794
+ y?: number | undefined;
1795
+ width?: number | undefined;
1796
+ height?: number | undefined;
1797
+ };
1798
+ modelId: string;
1799
+ modelName: string;
1800
+ comparentShapes: any[];
1801
+ }[] | undefined;
1802
+ meta?: any;
1803
+ scenarioMenus?: {
1804
+ [x: string]: any;
1805
+ code: string;
1806
+ name: string;
1807
+ icon: string;
1808
+ sourceModels: string[];
1809
+ targetCreateModel: string;
1810
+ targetModels: string[];
1811
+ }[] | undefined;
1812
+ inert?: boolean | undefined;
1813
+ sourceModels?: string[] | undefined;
1814
+ targetModels?: string[] | undefined;
1815
+ modelTypePropertyId: string;
1816
+ targetCreateModel?: string | undefined;
1817
+ sourceModelId?: string | undefined;
1818
+ isMovableComparents: boolean;
1819
+ }[]>;
1820
+ pendingNestedIds: Ref<string[], string[]>;
1821
+ selectedShape: Ref<{
1822
+ id: string;
1823
+ diagramId: string;
1824
+ parenShapeId: string;
1825
+ shapeKey: string;
1826
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1827
+ bounds: {
1828
+ x?: number | undefined;
1829
+ y?: number | undefined;
1830
+ width?: number | undefined;
1831
+ height?: number | undefined;
1832
+ };
1833
+ style?: {
1834
+ fontSize?: number | undefined;
1835
+ fontFamily?: string | undefined;
1836
+ fontWeight?: string | undefined;
1837
+ color?: string | undefined;
1838
+ backgroundColor?: string | undefined;
1839
+ borderColor?: string | undefined;
1840
+ borderWidth?: number | undefined;
1841
+ borderRadius?: number | undefined;
1842
+ padding?: number | {
1843
+ top: number;
1844
+ right: number;
1845
+ bottom: number;
1846
+ left: number;
1847
+ } | undefined;
1848
+ margin?: number | undefined;
1849
+ zIndex?: number | undefined;
1850
+ canvasBorderWidth?: number | undefined;
1851
+ canvasBorderColor?: string | undefined;
1852
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1853
+ canvasNameFontSize?: number | undefined;
1854
+ canvasNameFontFamily?: string | undefined;
1855
+ canvasNameFontColor?: string | undefined;
1856
+ gradientLeftColor?: string | undefined;
1857
+ gradientRightColor?: string | undefined;
1858
+ textAnchor?: string | undefined;
1859
+ dominantBaseline?: string | undefined;
1860
+ } | undefined;
1861
+ keywords: string;
1862
+ keywordsBounds?: {
1863
+ x?: number | undefined;
1864
+ y?: number | undefined;
1865
+ width?: number | undefined;
1866
+ height?: number | undefined;
1867
+ } | undefined;
1868
+ keywordsStyle?: {
1869
+ fontSize?: number | undefined;
1870
+ fontFamily?: string | undefined;
1871
+ fontWeight?: string | undefined;
1872
+ color?: string | undefined;
1873
+ backgroundColor?: string | undefined;
1874
+ borderColor?: string | undefined;
1875
+ borderWidth?: number | undefined;
1876
+ borderRadius?: number | undefined;
1877
+ padding?: number | {
1878
+ top: number;
1879
+ right: number;
1880
+ bottom: number;
1881
+ left: number;
1882
+ } | undefined;
1883
+ margin?: number | undefined;
1884
+ zIndex?: number | undefined;
1885
+ canvasBorderWidth?: number | undefined;
1886
+ canvasBorderColor?: string | undefined;
1887
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1888
+ canvasNameFontSize?: number | undefined;
1889
+ canvasNameFontFamily?: string | undefined;
1890
+ canvasNameFontColor?: string | undefined;
1891
+ gradientLeftColor?: string | undefined;
1892
+ gradientRightColor?: string | undefined;
1893
+ textAnchor?: string | undefined;
1894
+ dominantBaseline?: string | undefined;
1895
+ } | undefined;
1896
+ icon?: string | undefined;
1897
+ modelId: string;
1898
+ modelName: string;
1899
+ names: string;
1900
+ name: string;
1901
+ nameBounds?: {
1902
+ x?: number | undefined;
1903
+ y?: number | undefined;
1904
+ width?: number | undefined;
1905
+ height?: number | undefined;
1906
+ } | undefined;
1907
+ nameStyle?: {
1908
+ fontSize?: number | undefined;
1909
+ fontFamily?: string | undefined;
1910
+ fontWeight?: string | undefined;
1911
+ color?: string | undefined;
1912
+ backgroundColor?: string | undefined;
1913
+ borderColor?: string | undefined;
1914
+ borderWidth?: number | undefined;
1915
+ borderRadius?: number | undefined;
1916
+ padding?: number | {
1917
+ top: number;
1918
+ right: number;
1919
+ bottom: number;
1920
+ left: number;
1921
+ } | undefined;
1922
+ margin?: number | undefined;
1923
+ zIndex?: number | undefined;
1924
+ canvasBorderWidth?: number | undefined;
1925
+ canvasBorderColor?: string | undefined;
1926
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1927
+ canvasNameFontSize?: number | undefined;
1928
+ canvasNameFontFamily?: string | undefined;
1929
+ canvasNameFontColor?: string | undefined;
1930
+ gradientLeftColor?: string | undefined;
1931
+ gradientRightColor?: string | undefined;
1932
+ textAnchor?: string | undefined;
1933
+ dominantBaseline?: string | undefined;
1934
+ } | undefined;
1935
+ direction?: string | undefined;
1936
+ sourceId?: string | undefined;
1937
+ targetId?: string | undefined;
1938
+ waypointId?: string | undefined;
1939
+ waypoints?: {
1940
+ x: number;
1941
+ y: number;
1942
+ }[] | undefined;
1943
+ showKeywords: boolean;
1944
+ showIcon: boolean;
1945
+ showName: boolean;
1946
+ showTaggedValues: boolean;
1947
+ showComparents: boolean;
1948
+ taggedValueLabels?: {
1949
+ id: string;
1950
+ modelId: string;
1951
+ modelName: string;
1952
+ names: string;
1953
+ name: string;
1954
+ nameBounds?: string | undefined;
1955
+ nameStyle?: string | undefined;
1956
+ }[] | undefined;
1957
+ comparents?: {
1958
+ bounds: {
1959
+ x?: number | undefined;
1960
+ y?: number | undefined;
1961
+ width?: number | undefined;
1962
+ height?: number | undefined;
1963
+ };
1964
+ modelId: string;
1965
+ modelName: string;
1966
+ comparentShapes: any[];
1967
+ }[] | undefined;
1968
+ meta?: any;
1969
+ scenarioMenus?: {
1970
+ [x: string]: any;
1971
+ code: string;
1972
+ name: string;
1973
+ icon: string;
1974
+ sourceModels: string[];
1975
+ targetCreateModel: string;
1976
+ targetModels: string[];
1977
+ }[] | undefined;
1978
+ inert?: boolean | undefined;
1979
+ sourceModels?: string[] | undefined;
1980
+ targetModels?: string[] | undefined;
1981
+ modelTypePropertyId: string;
1982
+ targetCreateModel?: string | undefined;
1983
+ sourceModelId?: string | undefined;
1984
+ isMovableComparents: boolean;
1985
+ } | null, Shape | {
1986
+ id: string;
1987
+ diagramId: string;
1988
+ parenShapeId: string;
1989
+ shapeKey: string;
1990
+ shapeType: "shape" | "edge" | "pin" | "diagram";
1991
+ bounds: {
1992
+ x?: number | undefined;
1993
+ y?: number | undefined;
1994
+ width?: number | undefined;
1995
+ height?: number | undefined;
1996
+ };
1997
+ style?: {
1998
+ fontSize?: number | undefined;
1999
+ fontFamily?: string | undefined;
2000
+ fontWeight?: string | undefined;
2001
+ color?: string | undefined;
2002
+ backgroundColor?: string | undefined;
2003
+ borderColor?: string | undefined;
2004
+ borderWidth?: number | undefined;
2005
+ borderRadius?: number | undefined;
2006
+ padding?: number | {
2007
+ top: number;
2008
+ right: number;
2009
+ bottom: number;
2010
+ left: number;
2011
+ } | undefined;
2012
+ margin?: number | undefined;
2013
+ zIndex?: number | undefined;
2014
+ canvasBorderWidth?: number | undefined;
2015
+ canvasBorderColor?: string | undefined;
2016
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2017
+ canvasNameFontSize?: number | undefined;
2018
+ canvasNameFontFamily?: string | undefined;
2019
+ canvasNameFontColor?: string | undefined;
2020
+ gradientLeftColor?: string | undefined;
2021
+ gradientRightColor?: string | undefined;
2022
+ textAnchor?: string | undefined;
2023
+ dominantBaseline?: string | undefined;
2024
+ } | undefined;
2025
+ keywords: string;
2026
+ keywordsBounds?: {
2027
+ x?: number | undefined;
2028
+ y?: number | undefined;
2029
+ width?: number | undefined;
2030
+ height?: number | undefined;
2031
+ } | undefined;
2032
+ keywordsStyle?: {
2033
+ fontSize?: number | undefined;
2034
+ fontFamily?: string | undefined;
2035
+ fontWeight?: string | undefined;
2036
+ color?: string | undefined;
2037
+ backgroundColor?: string | undefined;
2038
+ borderColor?: string | undefined;
2039
+ borderWidth?: number | undefined;
2040
+ borderRadius?: number | undefined;
2041
+ padding?: number | {
2042
+ top: number;
2043
+ right: number;
2044
+ bottom: number;
2045
+ left: number;
2046
+ } | undefined;
2047
+ margin?: number | undefined;
2048
+ zIndex?: number | undefined;
2049
+ canvasBorderWidth?: number | undefined;
2050
+ canvasBorderColor?: string | undefined;
2051
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2052
+ canvasNameFontSize?: number | undefined;
2053
+ canvasNameFontFamily?: string | undefined;
2054
+ canvasNameFontColor?: string | undefined;
2055
+ gradientLeftColor?: string | undefined;
2056
+ gradientRightColor?: string | undefined;
2057
+ textAnchor?: string | undefined;
2058
+ dominantBaseline?: string | undefined;
2059
+ } | undefined;
2060
+ icon?: string | undefined;
2061
+ modelId: string;
2062
+ modelName: string;
2063
+ names: string;
2064
+ name: string;
2065
+ nameBounds?: {
2066
+ x?: number | undefined;
2067
+ y?: number | undefined;
2068
+ width?: number | undefined;
2069
+ height?: number | undefined;
2070
+ } | undefined;
2071
+ nameStyle?: {
2072
+ fontSize?: number | undefined;
2073
+ fontFamily?: string | undefined;
2074
+ fontWeight?: string | undefined;
2075
+ color?: string | undefined;
2076
+ backgroundColor?: string | undefined;
2077
+ borderColor?: string | undefined;
2078
+ borderWidth?: number | undefined;
2079
+ borderRadius?: number | undefined;
2080
+ padding?: number | {
2081
+ top: number;
2082
+ right: number;
2083
+ bottom: number;
2084
+ left: number;
2085
+ } | undefined;
2086
+ margin?: number | undefined;
2087
+ zIndex?: number | undefined;
2088
+ canvasBorderWidth?: number | undefined;
2089
+ canvasBorderColor?: string | undefined;
2090
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2091
+ canvasNameFontSize?: number | undefined;
2092
+ canvasNameFontFamily?: string | undefined;
2093
+ canvasNameFontColor?: string | undefined;
2094
+ gradientLeftColor?: string | undefined;
2095
+ gradientRightColor?: string | undefined;
2096
+ textAnchor?: string | undefined;
2097
+ dominantBaseline?: string | undefined;
2098
+ } | undefined;
2099
+ direction?: string | undefined;
2100
+ sourceId?: string | undefined;
2101
+ targetId?: string | undefined;
2102
+ waypointId?: string | undefined;
2103
+ waypoints?: {
2104
+ x: number;
2105
+ y: number;
2106
+ }[] | undefined;
2107
+ showKeywords: boolean;
2108
+ showIcon: boolean;
2109
+ showName: boolean;
2110
+ showTaggedValues: boolean;
2111
+ showComparents: boolean;
2112
+ taggedValueLabels?: {
2113
+ id: string;
2114
+ modelId: string;
2115
+ modelName: string;
2116
+ names: string;
2117
+ name: string;
2118
+ nameBounds?: string | undefined;
2119
+ nameStyle?: string | undefined;
2120
+ }[] | undefined;
2121
+ comparents?: {
2122
+ bounds: {
2123
+ x?: number | undefined;
2124
+ y?: number | undefined;
2125
+ width?: number | undefined;
2126
+ height?: number | undefined;
2127
+ };
2128
+ modelId: string;
2129
+ modelName: string;
2130
+ comparentShapes: any[];
2131
+ }[] | undefined;
2132
+ meta?: any;
2133
+ scenarioMenus?: {
2134
+ [x: string]: any;
2135
+ code: string;
2136
+ name: string;
2137
+ icon: string;
2138
+ sourceModels: string[];
2139
+ targetCreateModel: string;
2140
+ targetModels: string[];
2141
+ }[] | undefined;
2142
+ inert?: boolean | undefined;
2143
+ sourceModels?: string[] | undefined;
2144
+ targetModels?: string[] | undefined;
2145
+ modelTypePropertyId: string;
2146
+ targetCreateModel?: string | undefined;
2147
+ sourceModelId?: string | undefined;
2148
+ isMovableComparents: boolean;
2149
+ } | null>;
2150
+ diagramTitle: Ref<string, string>;
2151
+ isDragging: Ref<boolean, boolean>;
2152
+ draggingShapeId: Ref<string | null, string | null>;
2153
+ dragOffset: Ref<{
2154
+ x: number;
2155
+ y: number;
2156
+ } | null, {
2157
+ x: number;
2158
+ y: number;
2159
+ } | {
2160
+ x: number;
2161
+ y: number;
2162
+ } | null>;
2163
+ diagrams: Ref<{
2164
+ id: string;
2165
+ diagramId: string;
2166
+ parenShapeId: string;
2167
+ shapeKey: string;
2168
+ shapeType: "shape" | "edge" | "pin" | "diagram";
2169
+ bounds: {
2170
+ x?: number | undefined;
2171
+ y?: number | undefined;
2172
+ width?: number | undefined;
2173
+ height?: number | undefined;
2174
+ };
2175
+ style?: {
2176
+ fontSize?: number | undefined;
2177
+ fontFamily?: string | undefined;
2178
+ fontWeight?: string | undefined;
2179
+ color?: string | undefined;
2180
+ backgroundColor?: string | undefined;
2181
+ borderColor?: string | undefined;
2182
+ borderWidth?: number | undefined;
2183
+ borderRadius?: number | undefined;
2184
+ padding?: number | {
2185
+ top: number;
2186
+ right: number;
2187
+ bottom: number;
2188
+ left: number;
2189
+ } | undefined;
2190
+ margin?: number | undefined;
2191
+ zIndex?: number | undefined;
2192
+ canvasBorderWidth?: number | undefined;
2193
+ canvasBorderColor?: string | undefined;
2194
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2195
+ canvasNameFontSize?: number | undefined;
2196
+ canvasNameFontFamily?: string | undefined;
2197
+ canvasNameFontColor?: string | undefined;
2198
+ gradientLeftColor?: string | undefined;
2199
+ gradientRightColor?: string | undefined;
2200
+ textAnchor?: string | undefined;
2201
+ dominantBaseline?: string | undefined;
2202
+ } | undefined;
2203
+ keywords: string;
2204
+ keywordsBounds?: {
2205
+ x?: number | undefined;
2206
+ y?: number | undefined;
2207
+ width?: number | undefined;
2208
+ height?: number | undefined;
2209
+ } | undefined;
2210
+ keywordsStyle?: {
2211
+ fontSize?: number | undefined;
2212
+ fontFamily?: string | undefined;
2213
+ fontWeight?: string | undefined;
2214
+ color?: string | undefined;
2215
+ backgroundColor?: string | undefined;
2216
+ borderColor?: string | undefined;
2217
+ borderWidth?: number | undefined;
2218
+ borderRadius?: number | undefined;
2219
+ padding?: number | {
2220
+ top: number;
2221
+ right: number;
2222
+ bottom: number;
2223
+ left: number;
2224
+ } | undefined;
2225
+ margin?: number | undefined;
2226
+ zIndex?: number | undefined;
2227
+ canvasBorderWidth?: number | undefined;
2228
+ canvasBorderColor?: string | undefined;
2229
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2230
+ canvasNameFontSize?: number | undefined;
2231
+ canvasNameFontFamily?: string | undefined;
2232
+ canvasNameFontColor?: string | undefined;
2233
+ gradientLeftColor?: string | undefined;
2234
+ gradientRightColor?: string | undefined;
2235
+ textAnchor?: string | undefined;
2236
+ dominantBaseline?: string | undefined;
2237
+ } | undefined;
2238
+ icon?: string | undefined;
2239
+ modelId: string;
2240
+ modelName: string;
2241
+ names: string;
2242
+ name: string;
2243
+ nameBounds?: {
2244
+ x?: number | undefined;
2245
+ y?: number | undefined;
2246
+ width?: number | undefined;
2247
+ height?: number | undefined;
2248
+ } | undefined;
2249
+ nameStyle?: {
2250
+ fontSize?: number | undefined;
2251
+ fontFamily?: string | undefined;
2252
+ fontWeight?: string | undefined;
2253
+ color?: string | undefined;
2254
+ backgroundColor?: string | undefined;
2255
+ borderColor?: string | undefined;
2256
+ borderWidth?: number | undefined;
2257
+ borderRadius?: number | undefined;
2258
+ padding?: number | {
2259
+ top: number;
2260
+ right: number;
2261
+ bottom: number;
2262
+ left: number;
2263
+ } | undefined;
2264
+ margin?: number | undefined;
2265
+ zIndex?: number | undefined;
2266
+ canvasBorderWidth?: number | undefined;
2267
+ canvasBorderColor?: string | undefined;
2268
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2269
+ canvasNameFontSize?: number | undefined;
2270
+ canvasNameFontFamily?: string | undefined;
2271
+ canvasNameFontColor?: string | undefined;
2272
+ gradientLeftColor?: string | undefined;
2273
+ gradientRightColor?: string | undefined;
2274
+ textAnchor?: string | undefined;
2275
+ dominantBaseline?: string | undefined;
2276
+ } | undefined;
2277
+ direction?: string | undefined;
2278
+ sourceId?: string | undefined;
2279
+ targetId?: string | undefined;
2280
+ waypointId?: string | undefined;
2281
+ waypoints?: {
2282
+ x: number;
2283
+ y: number;
2284
+ }[] | undefined;
2285
+ showKeywords: boolean;
2286
+ showIcon: boolean;
2287
+ showName: boolean;
2288
+ showTaggedValues: boolean;
2289
+ showComparents: boolean;
2290
+ taggedValueLabels?: {
2291
+ id: string;
2292
+ modelId: string;
2293
+ modelName: string;
2294
+ names: string;
2295
+ name: string;
2296
+ nameBounds?: string | undefined;
2297
+ nameStyle?: string | undefined;
2298
+ }[] | undefined;
2299
+ comparents?: {
2300
+ bounds: {
2301
+ x?: number | undefined;
2302
+ y?: number | undefined;
2303
+ width?: number | undefined;
2304
+ height?: number | undefined;
2305
+ };
2306
+ modelId: string;
2307
+ modelName: string;
2308
+ comparentShapes: any[];
2309
+ }[] | undefined;
2310
+ meta?: any;
2311
+ scenarioMenus?: {
2312
+ [x: string]: any;
2313
+ code: string;
2314
+ name: string;
2315
+ icon: string;
2316
+ sourceModels: string[];
2317
+ targetCreateModel: string;
2318
+ targetModels: string[];
2319
+ }[] | undefined;
2320
+ inert?: boolean | undefined;
2321
+ sourceModels?: string[] | undefined;
2322
+ targetModels?: string[] | undefined;
2323
+ modelTypePropertyId: string;
2324
+ targetCreateModel?: string | undefined;
2325
+ sourceModelId?: string | undefined;
2326
+ isMovableComparents: boolean;
2327
+ }[], Shape[] | {
2328
+ id: string;
2329
+ diagramId: string;
2330
+ parenShapeId: string;
2331
+ shapeKey: string;
2332
+ shapeType: "shape" | "edge" | "pin" | "diagram";
2333
+ bounds: {
2334
+ x?: number | undefined;
2335
+ y?: number | undefined;
2336
+ width?: number | undefined;
2337
+ height?: number | undefined;
2338
+ };
2339
+ style?: {
2340
+ fontSize?: number | undefined;
2341
+ fontFamily?: string | undefined;
2342
+ fontWeight?: string | undefined;
2343
+ color?: string | undefined;
2344
+ backgroundColor?: string | undefined;
2345
+ borderColor?: string | undefined;
2346
+ borderWidth?: number | undefined;
2347
+ borderRadius?: number | undefined;
2348
+ padding?: number | {
2349
+ top: number;
2350
+ right: number;
2351
+ bottom: number;
2352
+ left: number;
2353
+ } | undefined;
2354
+ margin?: number | undefined;
2355
+ zIndex?: number | undefined;
2356
+ canvasBorderWidth?: number | undefined;
2357
+ canvasBorderColor?: string | undefined;
2358
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2359
+ canvasNameFontSize?: number | undefined;
2360
+ canvasNameFontFamily?: string | undefined;
2361
+ canvasNameFontColor?: string | undefined;
2362
+ gradientLeftColor?: string | undefined;
2363
+ gradientRightColor?: string | undefined;
2364
+ textAnchor?: string | undefined;
2365
+ dominantBaseline?: string | undefined;
2366
+ } | undefined;
2367
+ keywords: string;
2368
+ keywordsBounds?: {
2369
+ x?: number | undefined;
2370
+ y?: number | undefined;
2371
+ width?: number | undefined;
2372
+ height?: number | undefined;
2373
+ } | undefined;
2374
+ keywordsStyle?: {
2375
+ fontSize?: number | undefined;
2376
+ fontFamily?: string | undefined;
2377
+ fontWeight?: string | undefined;
2378
+ color?: string | undefined;
2379
+ backgroundColor?: string | undefined;
2380
+ borderColor?: string | undefined;
2381
+ borderWidth?: number | undefined;
2382
+ borderRadius?: number | undefined;
2383
+ padding?: number | {
2384
+ top: number;
2385
+ right: number;
2386
+ bottom: number;
2387
+ left: number;
2388
+ } | undefined;
2389
+ margin?: number | undefined;
2390
+ zIndex?: number | undefined;
2391
+ canvasBorderWidth?: number | undefined;
2392
+ canvasBorderColor?: string | undefined;
2393
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2394
+ canvasNameFontSize?: number | undefined;
2395
+ canvasNameFontFamily?: string | undefined;
2396
+ canvasNameFontColor?: string | undefined;
2397
+ gradientLeftColor?: string | undefined;
2398
+ gradientRightColor?: string | undefined;
2399
+ textAnchor?: string | undefined;
2400
+ dominantBaseline?: string | undefined;
2401
+ } | undefined;
2402
+ icon?: string | undefined;
2403
+ modelId: string;
2404
+ modelName: string;
2405
+ names: string;
2406
+ name: string;
2407
+ nameBounds?: {
2408
+ x?: number | undefined;
2409
+ y?: number | undefined;
2410
+ width?: number | undefined;
2411
+ height?: number | undefined;
2412
+ } | undefined;
2413
+ nameStyle?: {
2414
+ fontSize?: number | undefined;
2415
+ fontFamily?: string | undefined;
2416
+ fontWeight?: string | undefined;
2417
+ color?: string | undefined;
2418
+ backgroundColor?: string | undefined;
2419
+ borderColor?: string | undefined;
2420
+ borderWidth?: number | undefined;
2421
+ borderRadius?: number | undefined;
2422
+ padding?: number | {
2423
+ top: number;
2424
+ right: number;
2425
+ bottom: number;
2426
+ left: number;
2427
+ } | undefined;
2428
+ margin?: number | undefined;
2429
+ zIndex?: number | undefined;
2430
+ canvasBorderWidth?: number | undefined;
2431
+ canvasBorderColor?: string | undefined;
2432
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2433
+ canvasNameFontSize?: number | undefined;
2434
+ canvasNameFontFamily?: string | undefined;
2435
+ canvasNameFontColor?: string | undefined;
2436
+ gradientLeftColor?: string | undefined;
2437
+ gradientRightColor?: string | undefined;
2438
+ textAnchor?: string | undefined;
2439
+ dominantBaseline?: string | undefined;
2440
+ } | undefined;
2441
+ direction?: string | undefined;
2442
+ sourceId?: string | undefined;
2443
+ targetId?: string | undefined;
2444
+ waypointId?: string | undefined;
2445
+ waypoints?: {
2446
+ x: number;
2447
+ y: number;
2448
+ }[] | undefined;
2449
+ showKeywords: boolean;
2450
+ showIcon: boolean;
2451
+ showName: boolean;
2452
+ showTaggedValues: boolean;
2453
+ showComparents: boolean;
2454
+ taggedValueLabels?: {
2455
+ id: string;
2456
+ modelId: string;
2457
+ modelName: string;
2458
+ names: string;
2459
+ name: string;
2460
+ nameBounds?: string | undefined;
2461
+ nameStyle?: string | undefined;
2462
+ }[] | undefined;
2463
+ comparents?: {
2464
+ bounds: {
2465
+ x?: number | undefined;
2466
+ y?: number | undefined;
2467
+ width?: number | undefined;
2468
+ height?: number | undefined;
2469
+ };
2470
+ modelId: string;
2471
+ modelName: string;
2472
+ comparentShapes: any[];
2473
+ }[] | undefined;
2474
+ meta?: any;
2475
+ scenarioMenus?: {
2476
+ [x: string]: any;
2477
+ code: string;
2478
+ name: string;
2479
+ icon: string;
2480
+ sourceModels: string[];
2481
+ targetCreateModel: string;
2482
+ targetModels: string[];
2483
+ }[] | undefined;
2484
+ inert?: boolean | undefined;
2485
+ sourceModels?: string[] | undefined;
2486
+ targetModels?: string[] | undefined;
2487
+ modelTypePropertyId: string;
2488
+ targetCreateModel?: string | undefined;
2489
+ sourceModelId?: string | undefined;
2490
+ isMovableComparents: boolean;
2491
+ }[]>;
2492
+ selectedIds: Ref<string[], string[]>;
2493
+ hoverContainerId: Ref<string | null, string | null>;
2494
+ hoverNestable: Ref<boolean | null, boolean | null>;
2495
+ currentDiagramId: Ref<string | null, string | null>;
2496
+ canDropOnCanvas: Ref<boolean, boolean>;
2497
+ taggedValueLabels: Ref<string[], string[]>;
2498
+ packagesTypes: Ref<string[], string[]>;
2499
+ classMetaTypes: Ref<string[], string[]>;
2500
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
2501
+ pinsTypes: Ref<string[], string[]>;
2502
+ portsTypes: Ref<string[], string[]>;
2503
+ shapeCount: ComputedRef<number>;
2504
+ hasSelectedShape: ComputedRef<boolean>;
2505
+ marqueeShapes: ComputedRef<Shape[]>;
2506
+ ghostShadow: ComputedRef<Shape[]>;
2507
+ scales: Ref<Record<string, number>, Record<string, number>>;
2508
+ activeDiagramId: Ref<string | null, string | null>;
2509
+ currentScale: ComputedRef<number>;
2510
+ addShape: (shape: Shape) => void;
2511
+ removeShape: (shapeId: string) => void;
2512
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
2513
+ selectShape: (shape: Shape | null) => void;
2514
+ setTitle: (title: string) => void;
2515
+ updateShapes: (newShapes: Shape[]) => void;
2516
+ clearAll: () => void;
2517
+ startDragShape: (shapeId: string, pointer: {
2518
+ x: number;
2519
+ y: number;
2520
+ }) => void;
2521
+ startDrag: (ids: string[], pointer: {
2522
+ x: number;
2523
+ y: number;
2524
+ }) => void;
2525
+ moveDraggedShape: (pointer: {
2526
+ x: number;
2527
+ y: number;
2528
+ }) => void;
2529
+ endDragShape: (source?: string) => Promise<void>;
2530
+ getShapes: () => {
2531
+ id: string;
2532
+ diagramId: string;
2533
+ parenShapeId: string;
2534
+ shapeKey: string;
2535
+ shapeType: "shape" | "edge" | "pin" | "diagram";
2536
+ bounds: {
2537
+ x?: number | undefined;
2538
+ y?: number | undefined;
2539
+ width?: number | undefined;
2540
+ height?: number | undefined;
2541
+ };
2542
+ style?: {
2543
+ fontSize?: number | undefined;
2544
+ fontFamily?: string | undefined;
2545
+ fontWeight?: string | undefined;
2546
+ color?: string | undefined;
2547
+ backgroundColor?: string | undefined;
2548
+ borderColor?: string | undefined;
2549
+ borderWidth?: number | undefined;
2550
+ borderRadius?: number | undefined;
2551
+ padding?: number | {
2552
+ top: number;
2553
+ right: number;
2554
+ bottom: number;
2555
+ left: number;
2556
+ } | undefined;
2557
+ margin?: number | undefined;
2558
+ zIndex?: number | undefined;
2559
+ canvasBorderWidth?: number | undefined;
2560
+ canvasBorderColor?: string | undefined;
2561
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2562
+ canvasNameFontSize?: number | undefined;
2563
+ canvasNameFontFamily?: string | undefined;
2564
+ canvasNameFontColor?: string | undefined;
2565
+ gradientLeftColor?: string | undefined;
2566
+ gradientRightColor?: string | undefined;
2567
+ textAnchor?: string | undefined;
2568
+ dominantBaseline?: string | undefined;
2569
+ } | undefined;
2570
+ keywords: string;
2571
+ keywordsBounds?: {
2572
+ x?: number | undefined;
2573
+ y?: number | undefined;
2574
+ width?: number | undefined;
2575
+ height?: number | undefined;
2576
+ } | undefined;
2577
+ keywordsStyle?: {
2578
+ fontSize?: number | undefined;
2579
+ fontFamily?: string | undefined;
2580
+ fontWeight?: string | undefined;
2581
+ color?: string | undefined;
2582
+ backgroundColor?: string | undefined;
2583
+ borderColor?: string | undefined;
2584
+ borderWidth?: number | undefined;
2585
+ borderRadius?: number | undefined;
2586
+ padding?: number | {
2587
+ top: number;
2588
+ right: number;
2589
+ bottom: number;
2590
+ left: number;
2591
+ } | undefined;
2592
+ margin?: number | undefined;
2593
+ zIndex?: number | undefined;
2594
+ canvasBorderWidth?: number | undefined;
2595
+ canvasBorderColor?: string | undefined;
2596
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2597
+ canvasNameFontSize?: number | undefined;
2598
+ canvasNameFontFamily?: string | undefined;
2599
+ canvasNameFontColor?: string | undefined;
2600
+ gradientLeftColor?: string | undefined;
2601
+ gradientRightColor?: string | undefined;
2602
+ textAnchor?: string | undefined;
2603
+ dominantBaseline?: string | undefined;
2604
+ } | undefined;
2605
+ icon?: string | undefined;
2606
+ modelId: string;
2607
+ modelName: string;
2608
+ names: string;
2609
+ name: string;
2610
+ nameBounds?: {
2611
+ x?: number | undefined;
2612
+ y?: number | undefined;
2613
+ width?: number | undefined;
2614
+ height?: number | undefined;
2615
+ } | undefined;
2616
+ nameStyle?: {
2617
+ fontSize?: number | undefined;
2618
+ fontFamily?: string | undefined;
2619
+ fontWeight?: string | undefined;
2620
+ color?: string | undefined;
2621
+ backgroundColor?: string | undefined;
2622
+ borderColor?: string | undefined;
2623
+ borderWidth?: number | undefined;
2624
+ borderRadius?: number | undefined;
2625
+ padding?: number | {
2626
+ top: number;
2627
+ right: number;
2628
+ bottom: number;
2629
+ left: number;
2630
+ } | undefined;
2631
+ margin?: number | undefined;
2632
+ zIndex?: number | undefined;
2633
+ canvasBorderWidth?: number | undefined;
2634
+ canvasBorderColor?: string | undefined;
2635
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2636
+ canvasNameFontSize?: number | undefined;
2637
+ canvasNameFontFamily?: string | undefined;
2638
+ canvasNameFontColor?: string | undefined;
2639
+ gradientLeftColor?: string | undefined;
2640
+ gradientRightColor?: string | undefined;
2641
+ textAnchor?: string | undefined;
2642
+ dominantBaseline?: string | undefined;
2643
+ } | undefined;
2644
+ direction?: string | undefined;
2645
+ sourceId?: string | undefined;
2646
+ targetId?: string | undefined;
2647
+ waypointId?: string | undefined;
2648
+ waypoints?: {
2649
+ x: number;
2650
+ y: number;
2651
+ }[] | undefined;
2652
+ showKeywords: boolean;
2653
+ showIcon: boolean;
2654
+ showName: boolean;
2655
+ showTaggedValues: boolean;
2656
+ showComparents: boolean;
2657
+ taggedValueLabels?: {
2658
+ id: string;
2659
+ modelId: string;
2660
+ modelName: string;
2661
+ names: string;
2662
+ name: string;
2663
+ nameBounds?: string | undefined;
2664
+ nameStyle?: string | undefined;
2665
+ }[] | undefined;
2666
+ comparents?: {
2667
+ bounds: {
2668
+ x?: number | undefined;
2669
+ y?: number | undefined;
2670
+ width?: number | undefined;
2671
+ height?: number | undefined;
2672
+ };
2673
+ modelId: string;
2674
+ modelName: string;
2675
+ comparentShapes: any[];
2676
+ }[] | undefined;
2677
+ meta?: any;
2678
+ scenarioMenus?: {
2679
+ [x: string]: any;
2680
+ code: string;
2681
+ name: string;
2682
+ icon: string;
2683
+ sourceModels: string[];
2684
+ targetCreateModel: string;
2685
+ targetModels: string[];
2686
+ }[] | undefined;
2687
+ inert?: boolean | undefined;
2688
+ sourceModels?: string[] | undefined;
2689
+ targetModels?: string[] | undefined;
2690
+ modelTypePropertyId: string;
2691
+ targetCreateModel?: string | undefined;
2692
+ sourceModelId?: string | undefined;
2693
+ isMovableComparents: boolean;
2694
+ }[];
2695
+ addDiagram: (diagram: Shape) => void;
2696
+ setCurrentDiagramId: (id: string | null) => void;
2697
+ selectMany: (ids: string[]) => void;
2698
+ clearSelection: () => void;
2699
+ removeSelected: () => void;
2700
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
2701
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
2702
+ initializeAllEdgeEndpoints: () => void;
2703
+ endResizeShape: (id: string) => void;
2704
+ getScale: (diagramId?: string | null) => number;
2705
+ setScale: (newScale: number, diagramId?: string | null) => void;
2706
+ setActiveDiagramId: (id: string | null) => void;
2707
+ visibleShapes: ComputedRef<Shape[]>;
2708
+ externalCreatingId: Ref<string | null, string | null>;
2709
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
2710
+ }, "shapeCount" | "hasSelectedShape" | "marqueeShapes" | "ghostShadow" | "currentScale" | "visibleShapes">, Pick<{
2711
+ shapes: Ref<{
2712
+ id: string;
2713
+ diagramId: string;
2714
+ parenShapeId: string;
2715
+ shapeKey: string;
2716
+ shapeType: "shape" | "edge" | "pin" | "diagram";
2717
+ bounds: {
2718
+ x?: number | undefined;
2719
+ y?: number | undefined;
2720
+ width?: number | undefined;
2721
+ height?: number | undefined;
2722
+ };
2723
+ style?: {
2724
+ fontSize?: number | undefined;
2725
+ fontFamily?: string | undefined;
2726
+ fontWeight?: string | undefined;
2727
+ color?: string | undefined;
2728
+ backgroundColor?: string | undefined;
2729
+ borderColor?: string | undefined;
2730
+ borderWidth?: number | undefined;
2731
+ borderRadius?: number | undefined;
2732
+ padding?: number | {
2733
+ top: number;
2734
+ right: number;
2735
+ bottom: number;
2736
+ left: number;
2737
+ } | undefined;
2738
+ margin?: number | undefined;
2739
+ zIndex?: number | undefined;
2740
+ canvasBorderWidth?: number | undefined;
2741
+ canvasBorderColor?: string | undefined;
2742
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2743
+ canvasNameFontSize?: number | undefined;
2744
+ canvasNameFontFamily?: string | undefined;
2745
+ canvasNameFontColor?: string | undefined;
2746
+ gradientLeftColor?: string | undefined;
2747
+ gradientRightColor?: string | undefined;
2748
+ textAnchor?: string | undefined;
2749
+ dominantBaseline?: string | undefined;
2750
+ } | undefined;
2751
+ keywords: string;
2752
+ keywordsBounds?: {
2753
+ x?: number | undefined;
2754
+ y?: number | undefined;
2755
+ width?: number | undefined;
2756
+ height?: number | undefined;
2757
+ } | undefined;
2758
+ keywordsStyle?: {
2759
+ fontSize?: number | undefined;
2760
+ fontFamily?: string | undefined;
2761
+ fontWeight?: string | undefined;
2762
+ color?: string | undefined;
2763
+ backgroundColor?: string | undefined;
2764
+ borderColor?: string | undefined;
2765
+ borderWidth?: number | undefined;
2766
+ borderRadius?: number | undefined;
2767
+ padding?: number | {
2768
+ top: number;
2769
+ right: number;
2770
+ bottom: number;
2771
+ left: number;
2772
+ } | undefined;
2773
+ margin?: number | undefined;
2774
+ zIndex?: number | undefined;
2775
+ canvasBorderWidth?: number | undefined;
2776
+ canvasBorderColor?: string | undefined;
2777
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2778
+ canvasNameFontSize?: number | undefined;
2779
+ canvasNameFontFamily?: string | undefined;
2780
+ canvasNameFontColor?: string | undefined;
2781
+ gradientLeftColor?: string | undefined;
2782
+ gradientRightColor?: string | undefined;
2783
+ textAnchor?: string | undefined;
2784
+ dominantBaseline?: string | undefined;
2785
+ } | undefined;
2786
+ icon?: string | undefined;
2787
+ modelId: string;
2788
+ modelName: string;
2789
+ names: string;
2790
+ name: string;
2791
+ nameBounds?: {
2792
+ x?: number | undefined;
2793
+ y?: number | undefined;
2794
+ width?: number | undefined;
2795
+ height?: number | undefined;
2796
+ } | undefined;
2797
+ nameStyle?: {
2798
+ fontSize?: number | undefined;
2799
+ fontFamily?: string | undefined;
2800
+ fontWeight?: string | undefined;
2801
+ color?: string | undefined;
2802
+ backgroundColor?: string | undefined;
2803
+ borderColor?: string | undefined;
2804
+ borderWidth?: number | undefined;
2805
+ borderRadius?: number | undefined;
2806
+ padding?: number | {
2807
+ top: number;
2808
+ right: number;
2809
+ bottom: number;
2810
+ left: number;
2811
+ } | undefined;
2812
+ margin?: number | undefined;
2813
+ zIndex?: number | undefined;
2814
+ canvasBorderWidth?: number | undefined;
2815
+ canvasBorderColor?: string | undefined;
2816
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2817
+ canvasNameFontSize?: number | undefined;
2818
+ canvasNameFontFamily?: string | undefined;
2819
+ canvasNameFontColor?: string | undefined;
2820
+ gradientLeftColor?: string | undefined;
2821
+ gradientRightColor?: string | undefined;
2822
+ textAnchor?: string | undefined;
2823
+ dominantBaseline?: string | undefined;
2824
+ } | undefined;
2825
+ direction?: string | undefined;
2826
+ sourceId?: string | undefined;
2827
+ targetId?: string | undefined;
2828
+ waypointId?: string | undefined;
2829
+ waypoints?: {
2830
+ x: number;
2831
+ y: number;
2832
+ }[] | undefined;
2833
+ showKeywords: boolean;
2834
+ showIcon: boolean;
2835
+ showName: boolean;
2836
+ showTaggedValues: boolean;
2837
+ showComparents: boolean;
2838
+ taggedValueLabels?: {
2839
+ id: string;
2840
+ modelId: string;
2841
+ modelName: string;
2842
+ names: string;
2843
+ name: string;
2844
+ nameBounds?: string | undefined;
2845
+ nameStyle?: string | undefined;
2846
+ }[] | undefined;
2847
+ comparents?: {
2848
+ bounds: {
2849
+ x?: number | undefined;
2850
+ y?: number | undefined;
2851
+ width?: number | undefined;
2852
+ height?: number | undefined;
2853
+ };
2854
+ modelId: string;
2855
+ modelName: string;
2856
+ comparentShapes: any[];
2857
+ }[] | undefined;
2858
+ meta?: any;
2859
+ scenarioMenus?: {
2860
+ [x: string]: any;
2861
+ code: string;
2862
+ name: string;
2863
+ icon: string;
2864
+ sourceModels: string[];
2865
+ targetCreateModel: string;
2866
+ targetModels: string[];
2867
+ }[] | undefined;
2868
+ inert?: boolean | undefined;
2869
+ sourceModels?: string[] | undefined;
2870
+ targetModels?: string[] | undefined;
2871
+ modelTypePropertyId: string;
2872
+ targetCreateModel?: string | undefined;
2873
+ sourceModelId?: string | undefined;
2874
+ isMovableComparents: boolean;
2875
+ }[], Shape[] | {
2876
+ id: string;
2877
+ diagramId: string;
2878
+ parenShapeId: string;
2879
+ shapeKey: string;
2880
+ shapeType: "shape" | "edge" | "pin" | "diagram";
2881
+ bounds: {
2882
+ x?: number | undefined;
2883
+ y?: number | undefined;
2884
+ width?: number | undefined;
2885
+ height?: number | undefined;
2886
+ };
2887
+ style?: {
2888
+ fontSize?: number | undefined;
2889
+ fontFamily?: string | undefined;
2890
+ fontWeight?: string | undefined;
2891
+ color?: string | undefined;
2892
+ backgroundColor?: string | undefined;
2893
+ borderColor?: string | undefined;
2894
+ borderWidth?: number | undefined;
2895
+ borderRadius?: number | undefined;
2896
+ padding?: number | {
2897
+ top: number;
2898
+ right: number;
2899
+ bottom: number;
2900
+ left: number;
2901
+ } | undefined;
2902
+ margin?: number | undefined;
2903
+ zIndex?: number | undefined;
2904
+ canvasBorderWidth?: number | undefined;
2905
+ canvasBorderColor?: string | undefined;
2906
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2907
+ canvasNameFontSize?: number | undefined;
2908
+ canvasNameFontFamily?: string | undefined;
2909
+ canvasNameFontColor?: string | undefined;
2910
+ gradientLeftColor?: string | undefined;
2911
+ gradientRightColor?: string | undefined;
2912
+ textAnchor?: string | undefined;
2913
+ dominantBaseline?: string | undefined;
2914
+ } | undefined;
2915
+ keywords: string;
2916
+ keywordsBounds?: {
2917
+ x?: number | undefined;
2918
+ y?: number | undefined;
2919
+ width?: number | undefined;
2920
+ height?: number | undefined;
2921
+ } | undefined;
2922
+ keywordsStyle?: {
2923
+ fontSize?: number | undefined;
2924
+ fontFamily?: string | undefined;
2925
+ fontWeight?: string | undefined;
2926
+ color?: string | undefined;
2927
+ backgroundColor?: string | undefined;
2928
+ borderColor?: string | undefined;
2929
+ borderWidth?: number | undefined;
2930
+ borderRadius?: number | undefined;
2931
+ padding?: number | {
2932
+ top: number;
2933
+ right: number;
2934
+ bottom: number;
2935
+ left: number;
2936
+ } | undefined;
2937
+ margin?: number | undefined;
2938
+ zIndex?: number | undefined;
2939
+ canvasBorderWidth?: number | undefined;
2940
+ canvasBorderColor?: string | undefined;
2941
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2942
+ canvasNameFontSize?: number | undefined;
2943
+ canvasNameFontFamily?: string | undefined;
2944
+ canvasNameFontColor?: string | undefined;
2945
+ gradientLeftColor?: string | undefined;
2946
+ gradientRightColor?: string | undefined;
2947
+ textAnchor?: string | undefined;
2948
+ dominantBaseline?: string | undefined;
2949
+ } | undefined;
2950
+ icon?: string | undefined;
2951
+ modelId: string;
2952
+ modelName: string;
2953
+ names: string;
2954
+ name: string;
2955
+ nameBounds?: {
2956
+ x?: number | undefined;
2957
+ y?: number | undefined;
2958
+ width?: number | undefined;
2959
+ height?: number | undefined;
2960
+ } | undefined;
2961
+ nameStyle?: {
2962
+ fontSize?: number | undefined;
2963
+ fontFamily?: string | undefined;
2964
+ fontWeight?: string | undefined;
2965
+ color?: string | undefined;
2966
+ backgroundColor?: string | undefined;
2967
+ borderColor?: string | undefined;
2968
+ borderWidth?: number | undefined;
2969
+ borderRadius?: number | undefined;
2970
+ padding?: number | {
2971
+ top: number;
2972
+ right: number;
2973
+ bottom: number;
2974
+ left: number;
2975
+ } | undefined;
2976
+ margin?: number | undefined;
2977
+ zIndex?: number | undefined;
2978
+ canvasBorderWidth?: number | undefined;
2979
+ canvasBorderColor?: string | undefined;
2980
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2981
+ canvasNameFontSize?: number | undefined;
2982
+ canvasNameFontFamily?: string | undefined;
2983
+ canvasNameFontColor?: string | undefined;
2984
+ gradientLeftColor?: string | undefined;
2985
+ gradientRightColor?: string | undefined;
2986
+ textAnchor?: string | undefined;
2987
+ dominantBaseline?: string | undefined;
2988
+ } | undefined;
2989
+ direction?: string | undefined;
2990
+ sourceId?: string | undefined;
2991
+ targetId?: string | undefined;
2992
+ waypointId?: string | undefined;
2993
+ waypoints?: {
2994
+ x: number;
2995
+ y: number;
2996
+ }[] | undefined;
2997
+ showKeywords: boolean;
2998
+ showIcon: boolean;
2999
+ showName: boolean;
3000
+ showTaggedValues: boolean;
3001
+ showComparents: boolean;
3002
+ taggedValueLabels?: {
3003
+ id: string;
3004
+ modelId: string;
3005
+ modelName: string;
3006
+ names: string;
3007
+ name: string;
3008
+ nameBounds?: string | undefined;
3009
+ nameStyle?: string | undefined;
3010
+ }[] | undefined;
3011
+ comparents?: {
3012
+ bounds: {
3013
+ x?: number | undefined;
3014
+ y?: number | undefined;
3015
+ width?: number | undefined;
3016
+ height?: number | undefined;
3017
+ };
3018
+ modelId: string;
3019
+ modelName: string;
3020
+ comparentShapes: any[];
3021
+ }[] | undefined;
3022
+ meta?: any;
3023
+ scenarioMenus?: {
3024
+ [x: string]: any;
3025
+ code: string;
3026
+ name: string;
3027
+ icon: string;
3028
+ sourceModels: string[];
3029
+ targetCreateModel: string;
3030
+ targetModels: string[];
3031
+ }[] | undefined;
3032
+ inert?: boolean | undefined;
3033
+ sourceModels?: string[] | undefined;
3034
+ targetModels?: string[] | undefined;
3035
+ modelTypePropertyId: string;
3036
+ targetCreateModel?: string | undefined;
3037
+ sourceModelId?: string | undefined;
3038
+ isMovableComparents: boolean;
3039
+ }[]>;
3040
+ pendingNestedIds: Ref<string[], string[]>;
3041
+ selectedShape: Ref<{
3042
+ id: string;
3043
+ diagramId: string;
3044
+ parenShapeId: string;
3045
+ shapeKey: string;
3046
+ shapeType: "shape" | "edge" | "pin" | "diagram";
3047
+ bounds: {
3048
+ x?: number | undefined;
3049
+ y?: number | undefined;
3050
+ width?: number | undefined;
3051
+ height?: number | undefined;
3052
+ };
3053
+ style?: {
3054
+ fontSize?: number | undefined;
3055
+ fontFamily?: string | undefined;
3056
+ fontWeight?: string | undefined;
3057
+ color?: string | undefined;
3058
+ backgroundColor?: string | undefined;
3059
+ borderColor?: string | undefined;
3060
+ borderWidth?: number | undefined;
3061
+ borderRadius?: number | undefined;
3062
+ padding?: number | {
3063
+ top: number;
3064
+ right: number;
3065
+ bottom: number;
3066
+ left: number;
3067
+ } | undefined;
3068
+ margin?: number | undefined;
3069
+ zIndex?: number | undefined;
3070
+ canvasBorderWidth?: number | undefined;
3071
+ canvasBorderColor?: string | undefined;
3072
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3073
+ canvasNameFontSize?: number | undefined;
3074
+ canvasNameFontFamily?: string | undefined;
3075
+ canvasNameFontColor?: string | undefined;
3076
+ gradientLeftColor?: string | undefined;
3077
+ gradientRightColor?: string | undefined;
3078
+ textAnchor?: string | undefined;
3079
+ dominantBaseline?: string | undefined;
3080
+ } | undefined;
3081
+ keywords: string;
3082
+ keywordsBounds?: {
3083
+ x?: number | undefined;
3084
+ y?: number | undefined;
3085
+ width?: number | undefined;
3086
+ height?: number | undefined;
3087
+ } | undefined;
3088
+ keywordsStyle?: {
3089
+ fontSize?: number | undefined;
3090
+ fontFamily?: string | undefined;
3091
+ fontWeight?: string | undefined;
3092
+ color?: string | undefined;
3093
+ backgroundColor?: string | undefined;
3094
+ borderColor?: string | undefined;
3095
+ borderWidth?: number | undefined;
3096
+ borderRadius?: number | undefined;
3097
+ padding?: number | {
3098
+ top: number;
3099
+ right: number;
3100
+ bottom: number;
3101
+ left: number;
3102
+ } | undefined;
3103
+ margin?: number | undefined;
3104
+ zIndex?: number | undefined;
3105
+ canvasBorderWidth?: number | undefined;
3106
+ canvasBorderColor?: string | undefined;
3107
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3108
+ canvasNameFontSize?: number | undefined;
3109
+ canvasNameFontFamily?: string | undefined;
3110
+ canvasNameFontColor?: string | undefined;
3111
+ gradientLeftColor?: string | undefined;
3112
+ gradientRightColor?: string | undefined;
3113
+ textAnchor?: string | undefined;
3114
+ dominantBaseline?: string | undefined;
3115
+ } | undefined;
3116
+ icon?: string | undefined;
3117
+ modelId: string;
3118
+ modelName: string;
3119
+ names: string;
3120
+ name: string;
3121
+ nameBounds?: {
3122
+ x?: number | undefined;
3123
+ y?: number | undefined;
3124
+ width?: number | undefined;
3125
+ height?: number | undefined;
3126
+ } | undefined;
3127
+ nameStyle?: {
3128
+ fontSize?: number | undefined;
3129
+ fontFamily?: string | undefined;
3130
+ fontWeight?: string | undefined;
3131
+ color?: string | undefined;
3132
+ backgroundColor?: string | undefined;
3133
+ borderColor?: string | undefined;
3134
+ borderWidth?: number | undefined;
3135
+ borderRadius?: number | undefined;
3136
+ padding?: number | {
3137
+ top: number;
3138
+ right: number;
3139
+ bottom: number;
3140
+ left: number;
3141
+ } | undefined;
3142
+ margin?: number | undefined;
3143
+ zIndex?: number | undefined;
3144
+ canvasBorderWidth?: number | undefined;
3145
+ canvasBorderColor?: string | undefined;
3146
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3147
+ canvasNameFontSize?: number | undefined;
3148
+ canvasNameFontFamily?: string | undefined;
3149
+ canvasNameFontColor?: string | undefined;
3150
+ gradientLeftColor?: string | undefined;
3151
+ gradientRightColor?: string | undefined;
3152
+ textAnchor?: string | undefined;
3153
+ dominantBaseline?: string | undefined;
3154
+ } | undefined;
3155
+ direction?: string | undefined;
3156
+ sourceId?: string | undefined;
3157
+ targetId?: string | undefined;
3158
+ waypointId?: string | undefined;
3159
+ waypoints?: {
3160
+ x: number;
3161
+ y: number;
3162
+ }[] | undefined;
3163
+ showKeywords: boolean;
3164
+ showIcon: boolean;
3165
+ showName: boolean;
3166
+ showTaggedValues: boolean;
3167
+ showComparents: boolean;
3168
+ taggedValueLabels?: {
3169
+ id: string;
3170
+ modelId: string;
3171
+ modelName: string;
3172
+ names: string;
3173
+ name: string;
3174
+ nameBounds?: string | undefined;
3175
+ nameStyle?: string | undefined;
3176
+ }[] | undefined;
3177
+ comparents?: {
3178
+ bounds: {
3179
+ x?: number | undefined;
3180
+ y?: number | undefined;
3181
+ width?: number | undefined;
3182
+ height?: number | undefined;
3183
+ };
3184
+ modelId: string;
3185
+ modelName: string;
3186
+ comparentShapes: any[];
3187
+ }[] | undefined;
3188
+ meta?: any;
3189
+ scenarioMenus?: {
3190
+ [x: string]: any;
3191
+ code: string;
3192
+ name: string;
3193
+ icon: string;
3194
+ sourceModels: string[];
3195
+ targetCreateModel: string;
3196
+ targetModels: string[];
3197
+ }[] | undefined;
3198
+ inert?: boolean | undefined;
3199
+ sourceModels?: string[] | undefined;
3200
+ targetModels?: string[] | undefined;
3201
+ modelTypePropertyId: string;
3202
+ targetCreateModel?: string | undefined;
3203
+ sourceModelId?: string | undefined;
3204
+ isMovableComparents: boolean;
3205
+ } | null, Shape | {
3206
+ id: string;
3207
+ diagramId: string;
3208
+ parenShapeId: string;
3209
+ shapeKey: string;
3210
+ shapeType: "shape" | "edge" | "pin" | "diagram";
3211
+ bounds: {
3212
+ x?: number | undefined;
3213
+ y?: number | undefined;
3214
+ width?: number | undefined;
3215
+ height?: number | undefined;
3216
+ };
3217
+ style?: {
3218
+ fontSize?: number | undefined;
3219
+ fontFamily?: string | undefined;
3220
+ fontWeight?: string | undefined;
3221
+ color?: string | undefined;
3222
+ backgroundColor?: string | undefined;
3223
+ borderColor?: string | undefined;
3224
+ borderWidth?: number | undefined;
3225
+ borderRadius?: number | undefined;
3226
+ padding?: number | {
3227
+ top: number;
3228
+ right: number;
3229
+ bottom: number;
3230
+ left: number;
3231
+ } | undefined;
3232
+ margin?: number | undefined;
3233
+ zIndex?: number | undefined;
3234
+ canvasBorderWidth?: number | undefined;
3235
+ canvasBorderColor?: string | undefined;
3236
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3237
+ canvasNameFontSize?: number | undefined;
3238
+ canvasNameFontFamily?: string | undefined;
3239
+ canvasNameFontColor?: string | undefined;
3240
+ gradientLeftColor?: string | undefined;
3241
+ gradientRightColor?: string | undefined;
3242
+ textAnchor?: string | undefined;
3243
+ dominantBaseline?: string | undefined;
3244
+ } | undefined;
3245
+ keywords: string;
3246
+ keywordsBounds?: {
3247
+ x?: number | undefined;
3248
+ y?: number | undefined;
3249
+ width?: number | undefined;
3250
+ height?: number | undefined;
3251
+ } | undefined;
3252
+ keywordsStyle?: {
3253
+ fontSize?: number | undefined;
3254
+ fontFamily?: string | undefined;
3255
+ fontWeight?: string | undefined;
3256
+ color?: string | undefined;
3257
+ backgroundColor?: string | undefined;
3258
+ borderColor?: string | undefined;
3259
+ borderWidth?: number | undefined;
3260
+ borderRadius?: number | undefined;
3261
+ padding?: number | {
3262
+ top: number;
3263
+ right: number;
3264
+ bottom: number;
3265
+ left: number;
3266
+ } | undefined;
3267
+ margin?: number | undefined;
3268
+ zIndex?: number | undefined;
3269
+ canvasBorderWidth?: number | undefined;
3270
+ canvasBorderColor?: string | undefined;
3271
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3272
+ canvasNameFontSize?: number | undefined;
3273
+ canvasNameFontFamily?: string | undefined;
3274
+ canvasNameFontColor?: string | undefined;
3275
+ gradientLeftColor?: string | undefined;
3276
+ gradientRightColor?: string | undefined;
3277
+ textAnchor?: string | undefined;
3278
+ dominantBaseline?: string | undefined;
3279
+ } | undefined;
3280
+ icon?: string | undefined;
3281
+ modelId: string;
3282
+ modelName: string;
3283
+ names: string;
3284
+ name: string;
3285
+ nameBounds?: {
3286
+ x?: number | undefined;
3287
+ y?: number | undefined;
3288
+ width?: number | undefined;
3289
+ height?: number | undefined;
3290
+ } | undefined;
3291
+ nameStyle?: {
3292
+ fontSize?: number | undefined;
3293
+ fontFamily?: string | undefined;
3294
+ fontWeight?: string | undefined;
3295
+ color?: string | undefined;
3296
+ backgroundColor?: string | undefined;
3297
+ borderColor?: string | undefined;
3298
+ borderWidth?: number | undefined;
3299
+ borderRadius?: number | undefined;
3300
+ padding?: number | {
3301
+ top: number;
3302
+ right: number;
3303
+ bottom: number;
3304
+ left: number;
3305
+ } | undefined;
3306
+ margin?: number | undefined;
3307
+ zIndex?: number | undefined;
3308
+ canvasBorderWidth?: number | undefined;
3309
+ canvasBorderColor?: string | undefined;
3310
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3311
+ canvasNameFontSize?: number | undefined;
3312
+ canvasNameFontFamily?: string | undefined;
3313
+ canvasNameFontColor?: string | undefined;
3314
+ gradientLeftColor?: string | undefined;
3315
+ gradientRightColor?: string | undefined;
3316
+ textAnchor?: string | undefined;
3317
+ dominantBaseline?: string | undefined;
3318
+ } | undefined;
3319
+ direction?: string | undefined;
3320
+ sourceId?: string | undefined;
3321
+ targetId?: string | undefined;
3322
+ waypointId?: string | undefined;
3323
+ waypoints?: {
3324
+ x: number;
3325
+ y: number;
3326
+ }[] | undefined;
3327
+ showKeywords: boolean;
3328
+ showIcon: boolean;
3329
+ showName: boolean;
3330
+ showTaggedValues: boolean;
3331
+ showComparents: boolean;
3332
+ taggedValueLabels?: {
3333
+ id: string;
3334
+ modelId: string;
3335
+ modelName: string;
3336
+ names: string;
3337
+ name: string;
3338
+ nameBounds?: string | undefined;
3339
+ nameStyle?: string | undefined;
3340
+ }[] | undefined;
3341
+ comparents?: {
3342
+ bounds: {
3343
+ x?: number | undefined;
3344
+ y?: number | undefined;
3345
+ width?: number | undefined;
3346
+ height?: number | undefined;
3347
+ };
3348
+ modelId: string;
3349
+ modelName: string;
3350
+ comparentShapes: any[];
3351
+ }[] | undefined;
3352
+ meta?: any;
3353
+ scenarioMenus?: {
3354
+ [x: string]: any;
3355
+ code: string;
3356
+ name: string;
3357
+ icon: string;
3358
+ sourceModels: string[];
3359
+ targetCreateModel: string;
3360
+ targetModels: string[];
3361
+ }[] | undefined;
3362
+ inert?: boolean | undefined;
3363
+ sourceModels?: string[] | undefined;
3364
+ targetModels?: string[] | undefined;
3365
+ modelTypePropertyId: string;
3366
+ targetCreateModel?: string | undefined;
3367
+ sourceModelId?: string | undefined;
3368
+ isMovableComparents: boolean;
3369
+ } | null>;
3370
+ diagramTitle: Ref<string, string>;
3371
+ isDragging: Ref<boolean, boolean>;
3372
+ draggingShapeId: Ref<string | null, string | null>;
3373
+ dragOffset: Ref<{
3374
+ x: number;
3375
+ y: number;
3376
+ } | null, {
3377
+ x: number;
3378
+ y: number;
3379
+ } | {
3380
+ x: number;
3381
+ y: number;
3382
+ } | null>;
3383
+ diagrams: Ref<{
3384
+ id: string;
3385
+ diagramId: string;
3386
+ parenShapeId: string;
3387
+ shapeKey: string;
3388
+ shapeType: "shape" | "edge" | "pin" | "diagram";
3389
+ bounds: {
3390
+ x?: number | undefined;
3391
+ y?: number | undefined;
3392
+ width?: number | undefined;
3393
+ height?: number | undefined;
3394
+ };
3395
+ style?: {
3396
+ fontSize?: number | undefined;
3397
+ fontFamily?: string | undefined;
3398
+ fontWeight?: string | undefined;
3399
+ color?: string | undefined;
3400
+ backgroundColor?: string | undefined;
3401
+ borderColor?: string | undefined;
3402
+ borderWidth?: number | undefined;
3403
+ borderRadius?: number | undefined;
3404
+ padding?: number | {
3405
+ top: number;
3406
+ right: number;
3407
+ bottom: number;
3408
+ left: number;
3409
+ } | undefined;
3410
+ margin?: number | undefined;
3411
+ zIndex?: number | undefined;
3412
+ canvasBorderWidth?: number | undefined;
3413
+ canvasBorderColor?: string | undefined;
3414
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3415
+ canvasNameFontSize?: number | undefined;
3416
+ canvasNameFontFamily?: string | undefined;
3417
+ canvasNameFontColor?: string | undefined;
3418
+ gradientLeftColor?: string | undefined;
3419
+ gradientRightColor?: string | undefined;
3420
+ textAnchor?: string | undefined;
3421
+ dominantBaseline?: string | undefined;
3422
+ } | undefined;
3423
+ keywords: string;
3424
+ keywordsBounds?: {
3425
+ x?: number | undefined;
3426
+ y?: number | undefined;
3427
+ width?: number | undefined;
3428
+ height?: number | undefined;
3429
+ } | undefined;
3430
+ keywordsStyle?: {
3431
+ fontSize?: number | undefined;
3432
+ fontFamily?: string | undefined;
3433
+ fontWeight?: string | undefined;
3434
+ color?: string | undefined;
3435
+ backgroundColor?: string | undefined;
3436
+ borderColor?: string | undefined;
3437
+ borderWidth?: number | undefined;
3438
+ borderRadius?: number | undefined;
3439
+ padding?: number | {
3440
+ top: number;
3441
+ right: number;
3442
+ bottom: number;
3443
+ left: number;
3444
+ } | undefined;
3445
+ margin?: number | undefined;
3446
+ zIndex?: number | undefined;
3447
+ canvasBorderWidth?: number | undefined;
3448
+ canvasBorderColor?: string | undefined;
3449
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3450
+ canvasNameFontSize?: number | undefined;
3451
+ canvasNameFontFamily?: string | undefined;
3452
+ canvasNameFontColor?: string | undefined;
3453
+ gradientLeftColor?: string | undefined;
3454
+ gradientRightColor?: string | undefined;
3455
+ textAnchor?: string | undefined;
3456
+ dominantBaseline?: string | undefined;
3457
+ } | undefined;
3458
+ icon?: string | undefined;
3459
+ modelId: string;
3460
+ modelName: string;
3461
+ names: string;
3462
+ name: string;
3463
+ nameBounds?: {
3464
+ x?: number | undefined;
3465
+ y?: number | undefined;
3466
+ width?: number | undefined;
3467
+ height?: number | undefined;
3468
+ } | undefined;
3469
+ nameStyle?: {
3470
+ fontSize?: number | undefined;
3471
+ fontFamily?: string | undefined;
3472
+ fontWeight?: string | undefined;
3473
+ color?: string | undefined;
3474
+ backgroundColor?: string | undefined;
3475
+ borderColor?: string | undefined;
3476
+ borderWidth?: number | undefined;
3477
+ borderRadius?: number | undefined;
3478
+ padding?: number | {
3479
+ top: number;
3480
+ right: number;
3481
+ bottom: number;
3482
+ left: number;
3483
+ } | undefined;
3484
+ margin?: number | undefined;
3485
+ zIndex?: number | undefined;
3486
+ canvasBorderWidth?: number | undefined;
3487
+ canvasBorderColor?: string | undefined;
3488
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3489
+ canvasNameFontSize?: number | undefined;
3490
+ canvasNameFontFamily?: string | undefined;
3491
+ canvasNameFontColor?: string | undefined;
3492
+ gradientLeftColor?: string | undefined;
3493
+ gradientRightColor?: string | undefined;
3494
+ textAnchor?: string | undefined;
3495
+ dominantBaseline?: string | undefined;
3496
+ } | undefined;
3497
+ direction?: string | undefined;
3498
+ sourceId?: string | undefined;
3499
+ targetId?: string | undefined;
3500
+ waypointId?: string | undefined;
3501
+ waypoints?: {
3502
+ x: number;
3503
+ y: number;
3504
+ }[] | undefined;
3505
+ showKeywords: boolean;
3506
+ showIcon: boolean;
3507
+ showName: boolean;
3508
+ showTaggedValues: boolean;
3509
+ showComparents: boolean;
3510
+ taggedValueLabels?: {
3511
+ id: string;
3512
+ modelId: string;
3513
+ modelName: string;
3514
+ names: string;
3515
+ name: string;
3516
+ nameBounds?: string | undefined;
3517
+ nameStyle?: string | undefined;
3518
+ }[] | undefined;
3519
+ comparents?: {
3520
+ bounds: {
3521
+ x?: number | undefined;
3522
+ y?: number | undefined;
3523
+ width?: number | undefined;
3524
+ height?: number | undefined;
3525
+ };
3526
+ modelId: string;
3527
+ modelName: string;
3528
+ comparentShapes: any[];
3529
+ }[] | undefined;
3530
+ meta?: any;
3531
+ scenarioMenus?: {
3532
+ [x: string]: any;
3533
+ code: string;
3534
+ name: string;
3535
+ icon: string;
3536
+ sourceModels: string[];
3537
+ targetCreateModel: string;
3538
+ targetModels: string[];
3539
+ }[] | undefined;
3540
+ inert?: boolean | undefined;
3541
+ sourceModels?: string[] | undefined;
3542
+ targetModels?: string[] | undefined;
3543
+ modelTypePropertyId: string;
3544
+ targetCreateModel?: string | undefined;
3545
+ sourceModelId?: string | undefined;
3546
+ isMovableComparents: boolean;
3547
+ }[], Shape[] | {
3548
+ id: string;
3549
+ diagramId: string;
3550
+ parenShapeId: string;
3551
+ shapeKey: string;
3552
+ shapeType: "shape" | "edge" | "pin" | "diagram";
3553
+ bounds: {
3554
+ x?: number | undefined;
3555
+ y?: number | undefined;
3556
+ width?: number | undefined;
3557
+ height?: number | undefined;
3558
+ };
3559
+ style?: {
3560
+ fontSize?: number | undefined;
3561
+ fontFamily?: string | undefined;
3562
+ fontWeight?: string | undefined;
3563
+ color?: string | undefined;
3564
+ backgroundColor?: string | undefined;
3565
+ borderColor?: string | undefined;
3566
+ borderWidth?: number | undefined;
3567
+ borderRadius?: number | undefined;
3568
+ padding?: number | {
3569
+ top: number;
3570
+ right: number;
3571
+ bottom: number;
3572
+ left: number;
3573
+ } | undefined;
3574
+ margin?: number | undefined;
3575
+ zIndex?: number | undefined;
3576
+ canvasBorderWidth?: number | undefined;
3577
+ canvasBorderColor?: string | undefined;
3578
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3579
+ canvasNameFontSize?: number | undefined;
3580
+ canvasNameFontFamily?: string | undefined;
3581
+ canvasNameFontColor?: string | undefined;
3582
+ gradientLeftColor?: string | undefined;
3583
+ gradientRightColor?: string | undefined;
3584
+ textAnchor?: string | undefined;
3585
+ dominantBaseline?: string | undefined;
3586
+ } | undefined;
3587
+ keywords: string;
3588
+ keywordsBounds?: {
3589
+ x?: number | undefined;
3590
+ y?: number | undefined;
3591
+ width?: number | undefined;
3592
+ height?: number | undefined;
3593
+ } | undefined;
3594
+ keywordsStyle?: {
3595
+ fontSize?: number | undefined;
3596
+ fontFamily?: string | undefined;
3597
+ fontWeight?: string | undefined;
3598
+ color?: string | undefined;
3599
+ backgroundColor?: string | undefined;
3600
+ borderColor?: string | undefined;
3601
+ borderWidth?: number | undefined;
3602
+ borderRadius?: number | undefined;
3603
+ padding?: number | {
3604
+ top: number;
3605
+ right: number;
3606
+ bottom: number;
3607
+ left: number;
3608
+ } | undefined;
3609
+ margin?: number | undefined;
3610
+ zIndex?: number | undefined;
3611
+ canvasBorderWidth?: number | undefined;
3612
+ canvasBorderColor?: string | undefined;
3613
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3614
+ canvasNameFontSize?: number | undefined;
3615
+ canvasNameFontFamily?: string | undefined;
3616
+ canvasNameFontColor?: string | undefined;
3617
+ gradientLeftColor?: string | undefined;
3618
+ gradientRightColor?: string | undefined;
3619
+ textAnchor?: string | undefined;
3620
+ dominantBaseline?: string | undefined;
3621
+ } | undefined;
3622
+ icon?: string | undefined;
3623
+ modelId: string;
3624
+ modelName: string;
3625
+ names: string;
3626
+ name: string;
3627
+ nameBounds?: {
3628
+ x?: number | undefined;
3629
+ y?: number | undefined;
3630
+ width?: number | undefined;
3631
+ height?: number | undefined;
3632
+ } | undefined;
3633
+ nameStyle?: {
3634
+ fontSize?: number | undefined;
3635
+ fontFamily?: string | undefined;
3636
+ fontWeight?: string | undefined;
3637
+ color?: string | undefined;
3638
+ backgroundColor?: string | undefined;
3639
+ borderColor?: string | undefined;
3640
+ borderWidth?: number | undefined;
3641
+ borderRadius?: number | undefined;
3642
+ padding?: number | {
3643
+ top: number;
3644
+ right: number;
3645
+ bottom: number;
3646
+ left: number;
3647
+ } | undefined;
3648
+ margin?: number | undefined;
3649
+ zIndex?: number | undefined;
3650
+ canvasBorderWidth?: number | undefined;
3651
+ canvasBorderColor?: string | undefined;
3652
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3653
+ canvasNameFontSize?: number | undefined;
3654
+ canvasNameFontFamily?: string | undefined;
3655
+ canvasNameFontColor?: string | undefined;
3656
+ gradientLeftColor?: string | undefined;
3657
+ gradientRightColor?: string | undefined;
3658
+ textAnchor?: string | undefined;
3659
+ dominantBaseline?: string | undefined;
3660
+ } | undefined;
3661
+ direction?: string | undefined;
3662
+ sourceId?: string | undefined;
3663
+ targetId?: string | undefined;
3664
+ waypointId?: string | undefined;
3665
+ waypoints?: {
3666
+ x: number;
3667
+ y: number;
3668
+ }[] | undefined;
3669
+ showKeywords: boolean;
3670
+ showIcon: boolean;
3671
+ showName: boolean;
3672
+ showTaggedValues: boolean;
3673
+ showComparents: boolean;
3674
+ taggedValueLabels?: {
3675
+ id: string;
3676
+ modelId: string;
3677
+ modelName: string;
3678
+ names: string;
3679
+ name: string;
3680
+ nameBounds?: string | undefined;
3681
+ nameStyle?: string | undefined;
3682
+ }[] | undefined;
3683
+ comparents?: {
3684
+ bounds: {
3685
+ x?: number | undefined;
3686
+ y?: number | undefined;
3687
+ width?: number | undefined;
3688
+ height?: number | undefined;
3689
+ };
3690
+ modelId: string;
3691
+ modelName: string;
3692
+ comparentShapes: any[];
3693
+ }[] | undefined;
3694
+ meta?: any;
3695
+ scenarioMenus?: {
3696
+ [x: string]: any;
3697
+ code: string;
3698
+ name: string;
3699
+ icon: string;
3700
+ sourceModels: string[];
3701
+ targetCreateModel: string;
3702
+ targetModels: string[];
3703
+ }[] | undefined;
3704
+ inert?: boolean | undefined;
3705
+ sourceModels?: string[] | undefined;
3706
+ targetModels?: string[] | undefined;
3707
+ modelTypePropertyId: string;
3708
+ targetCreateModel?: string | undefined;
3709
+ sourceModelId?: string | undefined;
3710
+ isMovableComparents: boolean;
3711
+ }[]>;
3712
+ selectedIds: Ref<string[], string[]>;
3713
+ hoverContainerId: Ref<string | null, string | null>;
3714
+ hoverNestable: Ref<boolean | null, boolean | null>;
3715
+ currentDiagramId: Ref<string | null, string | null>;
3716
+ canDropOnCanvas: Ref<boolean, boolean>;
3717
+ taggedValueLabels: Ref<string[], string[]>;
3718
+ packagesTypes: Ref<string[], string[]>;
3719
+ classMetaTypes: Ref<string[], string[]>;
3720
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
3721
+ pinsTypes: Ref<string[], string[]>;
3722
+ portsTypes: Ref<string[], string[]>;
3723
+ shapeCount: ComputedRef<number>;
3724
+ hasSelectedShape: ComputedRef<boolean>;
3725
+ marqueeShapes: ComputedRef<Shape[]>;
3726
+ ghostShadow: ComputedRef<Shape[]>;
3727
+ scales: Ref<Record<string, number>, Record<string, number>>;
3728
+ activeDiagramId: Ref<string | null, string | null>;
3729
+ currentScale: ComputedRef<number>;
3730
+ addShape: (shape: Shape) => void;
3731
+ removeShape: (shapeId: string) => void;
3732
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
3733
+ selectShape: (shape: Shape | null) => void;
3734
+ setTitle: (title: string) => void;
3735
+ updateShapes: (newShapes: Shape[]) => void;
3736
+ clearAll: () => void;
3737
+ startDragShape: (shapeId: string, pointer: {
3738
+ x: number;
3739
+ y: number;
3740
+ }) => void;
3741
+ startDrag: (ids: string[], pointer: {
3742
+ x: number;
3743
+ y: number;
3744
+ }) => void;
3745
+ moveDraggedShape: (pointer: {
3746
+ x: number;
3747
+ y: number;
3748
+ }) => void;
3749
+ endDragShape: (source?: string) => Promise<void>;
3750
+ getShapes: () => {
3751
+ id: string;
3752
+ diagramId: string;
3753
+ parenShapeId: string;
3754
+ shapeKey: string;
3755
+ shapeType: "shape" | "edge" | "pin" | "diagram";
3756
+ bounds: {
3757
+ x?: number | undefined;
3758
+ y?: number | undefined;
3759
+ width?: number | undefined;
3760
+ height?: number | undefined;
3761
+ };
3762
+ style?: {
3763
+ fontSize?: number | undefined;
3764
+ fontFamily?: string | undefined;
3765
+ fontWeight?: string | undefined;
3766
+ color?: string | undefined;
3767
+ backgroundColor?: string | undefined;
3768
+ borderColor?: string | undefined;
3769
+ borderWidth?: number | undefined;
3770
+ borderRadius?: number | undefined;
3771
+ padding?: number | {
3772
+ top: number;
3773
+ right: number;
3774
+ bottom: number;
3775
+ left: number;
3776
+ } | undefined;
3777
+ margin?: number | undefined;
3778
+ zIndex?: number | undefined;
3779
+ canvasBorderWidth?: number | undefined;
3780
+ canvasBorderColor?: string | undefined;
3781
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3782
+ canvasNameFontSize?: number | undefined;
3783
+ canvasNameFontFamily?: string | undefined;
3784
+ canvasNameFontColor?: string | undefined;
3785
+ gradientLeftColor?: string | undefined;
3786
+ gradientRightColor?: string | undefined;
3787
+ textAnchor?: string | undefined;
3788
+ dominantBaseline?: string | undefined;
3789
+ } | undefined;
3790
+ keywords: string;
3791
+ keywordsBounds?: {
3792
+ x?: number | undefined;
3793
+ y?: number | undefined;
3794
+ width?: number | undefined;
3795
+ height?: number | undefined;
3796
+ } | undefined;
3797
+ keywordsStyle?: {
3798
+ fontSize?: number | undefined;
3799
+ fontFamily?: string | undefined;
3800
+ fontWeight?: string | undefined;
3801
+ color?: string | undefined;
3802
+ backgroundColor?: string | undefined;
3803
+ borderColor?: string | undefined;
3804
+ borderWidth?: number | undefined;
3805
+ borderRadius?: number | undefined;
3806
+ padding?: number | {
3807
+ top: number;
3808
+ right: number;
3809
+ bottom: number;
3810
+ left: number;
3811
+ } | undefined;
3812
+ margin?: number | undefined;
3813
+ zIndex?: number | undefined;
3814
+ canvasBorderWidth?: number | undefined;
3815
+ canvasBorderColor?: string | undefined;
3816
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3817
+ canvasNameFontSize?: number | undefined;
3818
+ canvasNameFontFamily?: string | undefined;
3819
+ canvasNameFontColor?: string | undefined;
3820
+ gradientLeftColor?: string | undefined;
3821
+ gradientRightColor?: string | undefined;
3822
+ textAnchor?: string | undefined;
3823
+ dominantBaseline?: string | undefined;
3824
+ } | undefined;
3825
+ icon?: string | undefined;
3826
+ modelId: string;
3827
+ modelName: string;
3828
+ names: string;
3829
+ name: string;
3830
+ nameBounds?: {
3831
+ x?: number | undefined;
3832
+ y?: number | undefined;
3833
+ width?: number | undefined;
3834
+ height?: number | undefined;
3835
+ } | undefined;
3836
+ nameStyle?: {
3837
+ fontSize?: number | undefined;
3838
+ fontFamily?: string | undefined;
3839
+ fontWeight?: string | undefined;
3840
+ color?: string | undefined;
3841
+ backgroundColor?: string | undefined;
3842
+ borderColor?: string | undefined;
3843
+ borderWidth?: number | undefined;
3844
+ borderRadius?: number | undefined;
3845
+ padding?: number | {
3846
+ top: number;
3847
+ right: number;
3848
+ bottom: number;
3849
+ left: number;
3850
+ } | undefined;
3851
+ margin?: number | undefined;
3852
+ zIndex?: number | undefined;
3853
+ canvasBorderWidth?: number | undefined;
3854
+ canvasBorderColor?: string | undefined;
3855
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3856
+ canvasNameFontSize?: number | undefined;
3857
+ canvasNameFontFamily?: string | undefined;
3858
+ canvasNameFontColor?: string | undefined;
3859
+ gradientLeftColor?: string | undefined;
3860
+ gradientRightColor?: string | undefined;
3861
+ textAnchor?: string | undefined;
3862
+ dominantBaseline?: string | undefined;
3863
+ } | undefined;
3864
+ direction?: string | undefined;
3865
+ sourceId?: string | undefined;
3866
+ targetId?: string | undefined;
3867
+ waypointId?: string | undefined;
3868
+ waypoints?: {
3869
+ x: number;
3870
+ y: number;
3871
+ }[] | undefined;
3872
+ showKeywords: boolean;
3873
+ showIcon: boolean;
3874
+ showName: boolean;
3875
+ showTaggedValues: boolean;
3876
+ showComparents: boolean;
3877
+ taggedValueLabels?: {
3878
+ id: string;
3879
+ modelId: string;
3880
+ modelName: string;
3881
+ names: string;
3882
+ name: string;
3883
+ nameBounds?: string | undefined;
3884
+ nameStyle?: string | undefined;
3885
+ }[] | undefined;
3886
+ comparents?: {
3887
+ bounds: {
3888
+ x?: number | undefined;
3889
+ y?: number | undefined;
3890
+ width?: number | undefined;
3891
+ height?: number | undefined;
3892
+ };
3893
+ modelId: string;
3894
+ modelName: string;
3895
+ comparentShapes: any[];
3896
+ }[] | undefined;
3897
+ meta?: any;
3898
+ scenarioMenus?: {
3899
+ [x: string]: any;
3900
+ code: string;
3901
+ name: string;
3902
+ icon: string;
3903
+ sourceModels: string[];
3904
+ targetCreateModel: string;
3905
+ targetModels: string[];
3906
+ }[] | undefined;
3907
+ inert?: boolean | undefined;
3908
+ sourceModels?: string[] | undefined;
3909
+ targetModels?: string[] | undefined;
3910
+ modelTypePropertyId: string;
3911
+ targetCreateModel?: string | undefined;
3912
+ sourceModelId?: string | undefined;
3913
+ isMovableComparents: boolean;
3914
+ }[];
3915
+ addDiagram: (diagram: Shape) => void;
3916
+ setCurrentDiagramId: (id: string | null) => void;
3917
+ selectMany: (ids: string[]) => void;
3918
+ clearSelection: () => void;
3919
+ removeSelected: () => void;
3920
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
3921
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
3922
+ initializeAllEdgeEndpoints: () => void;
3923
+ endResizeShape: (id: string) => void;
3924
+ getScale: (diagramId?: string | null) => number;
3925
+ setScale: (newScale: number, diagramId?: string | null) => void;
3926
+ setActiveDiagramId: (id: string | null) => void;
3927
+ visibleShapes: ComputedRef<Shape[]>;
3928
+ externalCreatingId: Ref<string | null, string | null>;
3929
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
3930
+ }, "addShape" | "removeShape" | "updateShape" | "selectShape" | "setTitle" | "updateShapes" | "clearAll" | "startDragShape" | "startDrag" | "moveDraggedShape" | "endDragShape" | "getShapes" | "addDiagram" | "setCurrentDiagramId" | "selectMany" | "clearSelection" | "removeSelected" | "finalCheckCanNest" | "setHoverState" | "initializeAllEdgeEndpoints" | "endResizeShape" | "getScale" | "setScale" | "setActiveDiagramId" | "expandParentAndEmitSizeUpdateByChild">>;
3931
+
3932
+ declare interface Waypoint {
3933
+ x: number;
3934
+ y: number;
3935
+ }
3936
+
3937
+ export { }