@moxa/graph 1.4.1 → 2.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 (239) hide show
  1. package/assets/worker-CJB7i_ev.js +13 -0
  2. package/index.cjs +237 -4020
  3. package/index.d.ts +0 -5
  4. package/index.d.ts.map +1 -1
  5. package/index.js +53881 -70284
  6. package/lib/edge/custom/index.d.ts +4 -0
  7. package/lib/edge/custom/index.d.ts.map +1 -0
  8. package/lib/edge/custom/line-edge.d.ts +16 -0
  9. package/lib/edge/custom/line-edge.d.ts.map +1 -0
  10. package/lib/edge/custom/polyline-edge.d.ts +19 -0
  11. package/lib/edge/custom/polyline-edge.d.ts.map +1 -0
  12. package/lib/edge/custom/quadratic-edge.d.ts +16 -0
  13. package/lib/edge/custom/quadratic-edge.d.ts.map +1 -0
  14. package/lib/edge/helper/custom-edge.helper.d.ts +12 -0
  15. package/lib/edge/helper/custom-edge.helper.d.ts.map +1 -0
  16. package/lib/edge/helper/edge-g6.mapper.d.ts +18 -0
  17. package/lib/edge/helper/edge-g6.mapper.d.ts.map +1 -0
  18. package/lib/edge/helper/edge.mapper.d.ts +17 -0
  19. package/lib/edge/helper/edge.mapper.d.ts.map +1 -0
  20. package/lib/edge/helper/edge.theme.d.ts +9 -0
  21. package/lib/edge/helper/edge.theme.d.ts.map +1 -0
  22. package/lib/edge/helper/index.d.ts +5 -0
  23. package/lib/edge/helper/index.d.ts.map +1 -0
  24. package/lib/edge/index.d.ts +2 -10
  25. package/lib/edge/index.d.ts.map +1 -1
  26. package/lib/graph/graph.d.ts +73 -407
  27. package/lib/graph/graph.d.ts.map +1 -1
  28. package/lib/graph/graph.mapper.d.ts +15 -0
  29. package/lib/graph/graph.mapper.d.ts.map +1 -0
  30. package/lib/graph/index.d.ts +1 -0
  31. package/lib/graph/index.d.ts.map +1 -1
  32. package/lib/group/custom/device-group.d.ts +32 -0
  33. package/lib/group/custom/device-group.d.ts.map +1 -0
  34. package/lib/group/custom/index.d.ts +2 -0
  35. package/lib/group/custom/index.d.ts.map +1 -0
  36. package/lib/group/helper/group-g6.mapper.d.ts +7 -0
  37. package/lib/group/helper/group-g6.mapper.d.ts.map +1 -0
  38. package/lib/group/helper/group.mapper.d.ts +8 -0
  39. package/lib/group/helper/group.mapper.d.ts.map +1 -0
  40. package/lib/group/helper/index.d.ts +3 -0
  41. package/lib/group/helper/index.d.ts.map +1 -0
  42. package/lib/group/index.d.ts +2 -3
  43. package/lib/group/index.d.ts.map +1 -1
  44. package/lib/interaction/brush-select.d.ts +6 -0
  45. package/lib/interaction/brush-select.d.ts.map +1 -0
  46. package/lib/interaction/click-select.d.ts +5 -72
  47. package/lib/interaction/click-select.d.ts.map +1 -1
  48. package/lib/interaction/collapse-expand.d.ts +6 -0
  49. package/lib/interaction/collapse-expand.d.ts.map +1 -0
  50. package/lib/interaction/create-edge.d.ts +6 -0
  51. package/lib/interaction/create-edge.d.ts.map +1 -0
  52. package/lib/interaction/drag-canvas.d.ts +6 -0
  53. package/lib/interaction/drag-canvas.d.ts.map +1 -0
  54. package/lib/interaction/drag-element.d.ts +6 -0
  55. package/lib/interaction/drag-element.d.ts.map +1 -0
  56. package/lib/interaction/focus-element.d.ts +6 -0
  57. package/lib/interaction/focus-element.d.ts.map +1 -0
  58. package/lib/interaction/helper/behavior.mapper.d.ts +6 -0
  59. package/lib/interaction/helper/behavior.mapper.d.ts.map +1 -0
  60. package/lib/interaction/helper/index.d.ts +2 -0
  61. package/lib/interaction/helper/index.d.ts.map +1 -0
  62. package/lib/interaction/hover-activate.d.ts +5 -46
  63. package/lib/interaction/hover-activate.d.ts.map +1 -1
  64. package/lib/interaction/index.d.ts +1 -5
  65. package/lib/interaction/index.d.ts.map +1 -1
  66. package/lib/interaction/scroll-canvas.d.ts +6 -0
  67. package/lib/interaction/scroll-canvas.d.ts.map +1 -0
  68. package/lib/interaction/select-all.d.ts +14 -0
  69. package/lib/interaction/select-all.d.ts.map +1 -0
  70. package/lib/interaction/zoom-canvas.d.ts +6 -0
  71. package/lib/interaction/zoom-canvas.d.ts.map +1 -0
  72. package/lib/layout/grid.d.ts +12 -0
  73. package/lib/layout/grid.d.ts.map +1 -0
  74. package/lib/layout/helper/index.d.ts +2 -0
  75. package/lib/layout/helper/index.d.ts.map +1 -0
  76. package/lib/layout/helper/layout.mapper.d.ts +5 -0
  77. package/lib/layout/helper/layout.mapper.d.ts.map +1 -0
  78. package/lib/layout/index.d.ts +5 -4
  79. package/lib/layout/index.d.ts.map +1 -1
  80. package/lib/layout/mesh.d.ts +10 -0
  81. package/lib/layout/mesh.d.ts.map +1 -0
  82. package/lib/layout/ring.d.ts +10 -0
  83. package/lib/layout/ring.d.ts.map +1 -0
  84. package/lib/layout/tree.d.ts +12 -0
  85. package/lib/layout/tree.d.ts.map +1 -0
  86. package/lib/model/behavior.model.d.ts +45 -18
  87. package/lib/model/behavior.model.d.ts.map +1 -1
  88. package/lib/model/edge.model.d.ts +20 -43
  89. package/lib/model/edge.model.d.ts.map +1 -1
  90. package/lib/model/event.model.d.ts +207 -2
  91. package/lib/model/event.model.d.ts.map +1 -1
  92. package/lib/model/graph.model.d.ts +14 -55
  93. package/lib/model/graph.model.d.ts.map +1 -1
  94. package/lib/model/group.model.d.ts +7 -29
  95. package/lib/model/group.model.d.ts.map +1 -1
  96. package/lib/model/icon.model.d.ts +1 -1
  97. package/lib/model/icon.model.d.ts.map +1 -1
  98. package/lib/model/label.model.d.ts +0 -2
  99. package/lib/model/label.model.d.ts.map +1 -1
  100. package/lib/model/layout.model.d.ts +14 -22
  101. package/lib/model/layout.model.d.ts.map +1 -1
  102. package/lib/model/node.model.d.ts +7 -32
  103. package/lib/model/node.model.d.ts.map +1 -1
  104. package/lib/model/plugin.model.d.ts +11 -40
  105. package/lib/model/plugin.model.d.ts.map +1 -1
  106. package/lib/model/theme.model.d.ts +2 -6
  107. package/lib/model/theme.model.d.ts.map +1 -1
  108. package/lib/node/custom/device-node.d.ts +30 -0
  109. package/lib/node/custom/device-node.d.ts.map +1 -0
  110. package/lib/node/custom/index.d.ts +2 -0
  111. package/lib/node/custom/index.d.ts.map +1 -0
  112. package/lib/node/helper/icon-style.d.ts +4 -0
  113. package/lib/node/helper/icon-style.d.ts.map +1 -0
  114. package/lib/node/helper/index.d.ts +5 -0
  115. package/lib/node/helper/index.d.ts.map +1 -0
  116. package/lib/node/helper/key-style.d.ts +5 -0
  117. package/lib/node/helper/key-style.d.ts.map +1 -0
  118. package/lib/node/helper/node-g6.mapper.d.ts +13 -0
  119. package/lib/node/helper/node-g6.mapper.d.ts.map +1 -0
  120. package/lib/node/helper/node.mapper.d.ts +23 -0
  121. package/lib/node/helper/node.mapper.d.ts.map +1 -0
  122. package/lib/node/index.d.ts +2 -3
  123. package/lib/node/index.d.ts.map +1 -1
  124. package/lib/plugin/_minimap.d.ts +1 -0
  125. package/lib/plugin/_minimap.d.ts.map +1 -0
  126. package/lib/plugin/context-menu.d.ts +5 -0
  127. package/lib/plugin/context-menu.d.ts.map +1 -0
  128. package/lib/plugin/graph-background.d.ts +26 -19
  129. package/lib/plugin/graph-background.d.ts.map +1 -1
  130. package/lib/plugin/helper/index.d.ts +2 -0
  131. package/lib/plugin/helper/index.d.ts.map +1 -0
  132. package/lib/plugin/helper/plugin.mapper.d.ts +7 -0
  133. package/lib/plugin/helper/plugin.mapper.d.ts.map +1 -0
  134. package/lib/plugin/history.d.ts +5 -0
  135. package/lib/plugin/history.d.ts.map +1 -0
  136. package/lib/plugin/index.d.ts +3 -2
  137. package/lib/plugin/index.d.ts.map +1 -1
  138. package/lib/plugin/toolbar.d.ts +4 -2
  139. package/lib/plugin/toolbar.d.ts.map +1 -1
  140. package/lib/plugin/tooltip.d.ts +9 -97
  141. package/lib/plugin/tooltip.d.ts.map +1 -1
  142. package/lib/themes/dark.d.ts +3 -0
  143. package/lib/themes/dark.d.ts.map +1 -0
  144. package/lib/themes/index.d.ts +3 -3
  145. package/lib/themes/index.d.ts.map +1 -1
  146. package/lib/themes/light.d.ts +3 -0
  147. package/lib/themes/light.d.ts.map +1 -0
  148. package/lib/themes/light.theme.d.ts +3 -0
  149. package/lib/themes/light.theme.d.ts.map +1 -0
  150. package/lib/themes/theme.mapper.d.ts +65 -0
  151. package/lib/themes/theme.mapper.d.ts.map +1 -0
  152. package/lib/utils/edge.helper.d.ts +19 -0
  153. package/lib/utils/edge.helper.d.ts.map +1 -0
  154. package/lib/utils/graph.helper.d.ts +4 -0
  155. package/lib/utils/graph.helper.d.ts.map +1 -0
  156. package/lib/utils/index.d.ts +4 -0
  157. package/lib/utils/index.d.ts.map +1 -1
  158. package/lib/utils/rect.helper.d.ts +16 -0
  159. package/lib/utils/rect.helper.d.ts.map +1 -0
  160. package/lib/utils/state.helper.d.ts +1 -1
  161. package/lib/utils/state.helper.d.ts.map +1 -1
  162. package/lib/utils/tree.helper.d.ts +4 -0
  163. package/lib/utils/tree.helper.d.ts.map +1 -0
  164. package/package.json +2 -2
  165. package/assets/worker-DNGSJ4Eg.js +0 -13
  166. package/lib/data/data.d.ts +0 -2
  167. package/lib/data/data.d.ts.map +0 -1
  168. package/lib/data/index.d.ts +0 -2
  169. package/lib/data/index.d.ts.map +0 -1
  170. package/lib/edge/cubic-edge.d.ts +0 -47
  171. package/lib/edge/cubic-edge.d.ts.map +0 -1
  172. package/lib/edge/edge.controller.d.ts +0 -19
  173. package/lib/edge/edge.controller.d.ts.map +0 -1
  174. package/lib/edge/edge.helper.d.ts +0 -6
  175. package/lib/edge/edge.helper.d.ts.map +0 -1
  176. package/lib/edge/line-edge.d.ts +0 -28
  177. package/lib/edge/line-edge.d.ts.map +0 -1
  178. package/lib/edge/loop-edge.d.ts +0 -34
  179. package/lib/edge/loop-edge.d.ts.map +0 -1
  180. package/lib/edge/multi-label-edge-base.d.ts +0 -84
  181. package/lib/edge/multi-label-edge-base.d.ts.map +0 -1
  182. package/lib/edge/polyline-edge.d.ts +0 -40
  183. package/lib/edge/polyline-edge.d.ts.map +0 -1
  184. package/lib/edge/quadratic-edge.d.ts +0 -41
  185. package/lib/edge/quadratic-edge.d.ts.map +0 -1
  186. package/lib/graph/extendGraph.d.ts +0 -25
  187. package/lib/graph/extendGraph.d.ts.map +0 -1
  188. package/lib/group/device-group.d.ts +0 -179
  189. package/lib/group/device-group.d.ts.map +0 -1
  190. package/lib/group/group.controller.d.ts +0 -17
  191. package/lib/group/group.controller.d.ts.map +0 -1
  192. package/lib/group/group.helper.d.ts +0 -5
  193. package/lib/group/group.helper.d.ts.map +0 -1
  194. package/lib/interaction/collapse-expand-combo.d.ts +0 -26
  195. package/lib/interaction/collapse-expand-combo.d.ts.map +0 -1
  196. package/lib/interaction/drag-item.d.ts +0 -17
  197. package/lib/interaction/drag-item.d.ts.map +0 -1
  198. package/lib/interaction/interaction.controller.d.ts +0 -18
  199. package/lib/interaction/interaction.controller.d.ts.map +0 -1
  200. package/lib/interaction/mapping/edge-mapping.behavior.d.ts +0 -4
  201. package/lib/interaction/mapping/edge-mapping.behavior.d.ts.map +0 -1
  202. package/lib/interaction/mapping/graph-mapping.behavior.d.ts +0 -43
  203. package/lib/interaction/mapping/graph-mapping.behavior.d.ts.map +0 -1
  204. package/lib/interaction/mapping/group-mapping.behavior.d.ts +0 -4
  205. package/lib/interaction/mapping/group-mapping.behavior.d.ts.map +0 -1
  206. package/lib/interaction/mapping/node-mapping.behavior.d.ts +0 -4
  207. package/lib/interaction/mapping/node-mapping.behavior.d.ts.map +0 -1
  208. package/lib/interaction/select-all-item.behavior.d.ts +0 -6
  209. package/lib/interaction/select-all-item.behavior.d.ts.map +0 -1
  210. package/lib/layout/grid-layout.d.ts +0 -4
  211. package/lib/layout/grid-layout.d.ts.map +0 -1
  212. package/lib/layout/layout.mapper.d.ts +0 -4
  213. package/lib/layout/layout.mapper.d.ts.map +0 -1
  214. package/lib/layout/mesh-layout.d.ts +0 -4
  215. package/lib/layout/mesh-layout.d.ts.map +0 -1
  216. package/lib/layout/tree-layout.d.ts +0 -4
  217. package/lib/layout/tree-layout.d.ts.map +0 -1
  218. package/lib/node/device-node.d.ts +0 -172
  219. package/lib/node/device-node.d.ts.map +0 -1
  220. package/lib/node/node.controller.d.ts +0 -18
  221. package/lib/node/node.controller.d.ts.map +0 -1
  222. package/lib/node/node.helper.d.ts +0 -5
  223. package/lib/node/node.helper.d.ts.map +0 -1
  224. package/lib/plugin/minimap.d.ts +0 -3
  225. package/lib/plugin/minimap.d.ts.map +0 -1
  226. package/lib/plugin/plugin.mapper.d.ts +0 -4
  227. package/lib/plugin/plugin.mapper.d.ts.map +0 -1
  228. package/lib/themes/dark/dark.theme.d.ts +0 -4
  229. package/lib/themes/dark/dark.theme.d.ts.map +0 -1
  230. package/lib/themes/dark/index.d.ts +0 -2
  231. package/lib/themes/dark/index.d.ts.map +0 -1
  232. package/lib/themes/dark/node-dark.theme.d.ts +0 -3
  233. package/lib/themes/dark/node-dark.theme.d.ts.map +0 -1
  234. package/lib/themes/light/index.d.ts +0 -2
  235. package/lib/themes/light/index.d.ts.map +0 -1
  236. package/lib/themes/light/light.theme.d.ts +0 -4
  237. package/lib/themes/light/light.theme.d.ts.map +0 -1
  238. package/lib/themes/light/node-light.theme.d.ts +0 -3
  239. package/lib/themes/light/node-light.theme.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/plugin.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,IAAI;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAA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ib/model/plugin.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,oBAAY,QAAQ;IAClB,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,gBAAgB,oBAAoB;CACrC;AAED,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,kBAAkB,CAAC;AAEzD,MAAM,MAAM,gBAAgB,CAC1B,CAAC,SAAS,kBAAkB,GAAG,GAAG,EAClC,CAAC,SAAS,kBAAkB,GAAG,GAAG,IAChC,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC"}
@@ -1,7 +1,3 @@
1
- export interface MxThemeConfig {
2
- type: 'light' | 'dark';
3
- }
4
- export interface MxThemeItemConfig {
5
- dataType?: 'default';
6
- }
1
+ export type MxUserThemeType = 'light' | 'dark';
2
+ export type MxThemeType = `mx-${MxUserThemeType}`;
7
3
  //# sourceMappingURL=theme.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/theme.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
1
+ {"version":3,"file":"theme.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/theme.model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG,MAAM,eAAe,EAAE,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { CircleStyleProps as GCircleStyleProps, Group, Image, ImageStyleProps, Rect, RectStyleProps, Text, TextStyleProps } from '@antv/g';
2
+ import { Circle, CircleStyleProps, IconStyleProps, State } from '@antv/g6';
3
+ import { MxNodeConfig, MxNodeLabel } from '../../../index.ts';
4
+ export interface DeviceNodeStyleProps extends CircleStyleProps {
5
+ title: boolean;
6
+ highlight: MxNodeConfig['highlight'];
7
+ labelStatus: MxNodeLabel['status'];
8
+ iconOffsetX: number;
9
+ iconOffsetY: number;
10
+ }
11
+ export declare class DeviceNode extends Circle {
12
+ get nodeData(): import("@antv/g6").NodeLikeData | null;
13
+ get states(): State[];
14
+ get isNodeExist(): boolean;
15
+ private getElementOffsets;
16
+ getKeyStyle(attrs: Required<DeviceNodeStyleProps>): GCircleStyleProps;
17
+ getHaloStyle(attrs: Required<DeviceNodeStyleProps>): GCircleStyleProps | false;
18
+ getIconStyle(attrs: Required<DeviceNodeStyleProps>): IconStyleProps;
19
+ getLabelStyle(attrs: Required<DeviceNodeStyleProps>): TextStyleProps;
20
+ getTitleStyle(attrs: Required<DeviceNodeStyleProps>): TextStyleProps | false;
21
+ getStatusStyle(attrs: Required<DeviceNodeStyleProps>): ImageStyleProps | false;
22
+ getTitleBackgroundStyle(attrs: Required<DeviceNodeStyleProps>): RectStyleProps | false;
23
+ getLabelBackgroundStyle(attrs: Required<DeviceNodeStyleProps>): RectStyleProps | false;
24
+ drawTitleShape(attrs: Required<DeviceNodeStyleProps>, container: Group): Text | undefined;
25
+ drawStatusShape(attrs: Required<DeviceNodeStyleProps>, container: Group): Image | undefined;
26
+ drawTitleBackgroundShape(attrs: Required<DeviceNodeStyleProps>, container: Group): Rect | undefined;
27
+ drawLabelBackgroundShape(attrs: Required<DeviceNodeStyleProps>, container: Group): Rect | undefined;
28
+ render(attrs: Required<DeviceNodeStyleProps>, container: Group): void;
29
+ }
30
+ //# sourceMappingURL=device-node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-node.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/custom/device-node.ts"],"names":[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KAAK;IAezB,uBAAuB,CACrB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GACpC,cAAc,GAAG,KAAK;IAmCzB,cAAc,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;IAItE,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;IASvE,wBAAwB,CACtB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,SAAS,EAAE,KAAK;IAUlB,wBAAwB,CACtB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,SAAS,EAAE,KAAK;IAUT,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;CAOxE"}
@@ -0,0 +1,2 @@
1
+ export * from './device-node';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/custom/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MxGraph, MxNodeLabel } from '../../../index.ts';
2
+ export declare const getIconSrc: (graph: MxGraph, icon: string, color: string) => HTMLImageElement;
3
+ export declare const getStatusIconSrc: (graph: MxGraph, status: MxNodeLabel['status'], token: any) => HTMLImageElement | "";
4
+ //# sourceMappingURL=icon-style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-style.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/icon-style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEtE,eAAO,MAAM,UAAU,UAAW,OAAO,QAAQ,MAAM,SAAS,MAAM,qBAErE,CAAC;AAEF,eAAO,MAAM,gBAAgB,UACpB,OAAO,UACN,WAAW,CAAC,QAAQ,CAAC,SACtB,GAAG,0BAWX,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './icon-style';
2
+ export * from './key-style';
3
+ export * from './node-g6.mapper';
4
+ export * from './node.mapper';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseStyleProps } from '@antv/g';
2
+ import { State } from '@antv/g6';
3
+ import { MxNodeConfig, MxUserThemeType } from '../../model/index.ts';
4
+ export declare const getKeyStyleByTheme: (states: State[], status?: MxNodeConfig['highlight'], theme?: MxUserThemeType) => BaseStyleProps;
5
+ //# sourceMappingURL=key-style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-style.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/key-style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIjE,eAAO,MAAM,kBAAkB,WACrB,KAAK,EAAE,WACN,YAAY,CAAC,WAAW,CAAC,UAC1B,eAAe,KACtB,cAwFF,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { NodeData } from '@antv/g6';
2
+ import { PartialNodeLikeData } from '@antv/g6/lib/types';
3
+ import { MxNodeConfig, MxNodeData } from '../../model/index.ts';
4
+ export declare const G6NodeMapper: {
5
+ toNodeData: (node: PartialNodeLikeData<NodeData>) => MxNodeData;
6
+ toCommonStyle: (style: NodeData['style']) => Partial<MxNodeConfig>;
7
+ toNodeType: (type: NodeData['type']) => Partial<MxNodeConfig>;
8
+ toPosition: (style: NodeData['style']) => Partial<MxNodeConfig>;
9
+ toTitleData: (style: NodeData['style']) => Partial<MxNodeConfig>;
10
+ toLabelData: (style: NodeData['style']) => Partial<MxNodeConfig>;
11
+ toIconData: (style: NodeData['style']) => Partial<MxNodeConfig>;
12
+ };
13
+ //# sourceMappingURL=node-g6.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-g6.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/node-g6.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAiB,MAAM,UAAU,CAAC;AACnE,OAAO,EAAuB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAEL,YAAY,EACZ,UAAU,EAGX,MAAM,kBAAkB,CAAC;AA2I1B,eAAO,MAAM,YAAY;uBAzIC,oBAAoB,QAAQ,CAAC,KAAG,UAAU;2BA2BtC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;uBAW7C,QAAQ,CAAC,MAAM,CAAC,KAAG,QAAQ,YAAY,CAAC;wBAWvC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;yBAUxC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;yBAgCzC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;wBAgC1C,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;CAsBnE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { NodeData } from '@antv/g6';
2
+ import { NodeStyle } from '@antv/g6/lib/spec/element/node';
3
+ import { MxNodeConfig, MxPartialNodeData } from '../../model/index.ts';
4
+ export declare const MxNodeMapper: {
5
+ toNodeData: (node: MxPartialNodeData, options?: {
6
+ full: boolean;
7
+ }) => NodeData;
8
+ toCommonStyle: (config: MxNodeConfig, options?: {
9
+ full: boolean;
10
+ }) => NodeStyle;
11
+ toNodeType: (type: MxNodeConfig['type']) => Partial<NodeData>;
12
+ toPosition: (point: MxNodeConfig['point']) => NodeStyle;
13
+ toTitleData: (title: MxNodeConfig['title'], options?: {
14
+ full: boolean;
15
+ }) => NodeStyle;
16
+ toLabelData: (label: MxNodeConfig['label'], options?: {
17
+ full: boolean;
18
+ }) => NodeStyle;
19
+ toIconData: (icon: MxNodeConfig['icon'], options?: {
20
+ full: boolean;
21
+ }) => NodeStyle;
22
+ };
23
+ //# sourceMappingURL=node.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/node.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA+B,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAqLnE,eAAO,MAAM,YAAY;uBAlLjB,iBAAiB,YACb;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAC1B,QAAQ;4BAiCD,YAAY,YACV;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAC1B,SAAS;uBAec,YAAY,CAAC,MAAM,CAAC,KAAG,QAAQ,QAAQ,CAAC;wBAYvC,YAAY,CAAC,OAAO,CAAC,KAAG,SAAS;yBAWnD,YAAY,CAAC,OAAO,CAAC,YAClB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAC1B,SAAS;yBAoCH,YAAY,CAAC,OAAO,CAAC,YAClB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAC1B,SAAS;uBAoCJ,YAAY,CAAC,MAAM,CAAC,YAChB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAC1B,SAAS;CAiCX,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './device-node';
2
- export * from './node.controller';
3
- export * from './node.helper';
1
+ export * from './custom';
2
+ export * from './helper';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=_minimap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_minimap.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/_minimap.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { BasePluginOptions, ContextmenuOptions } from '@antv/g6';
2
+ import { MxPluginFunction } from '../model';
3
+ export type MxContextMenuOptions = BasePluginOptions;
4
+ export declare const getContextMenuOptions: MxPluginFunction<MxContextMenuOptions, ContextmenuOptions>;
5
+ //# sourceMappingURL=context-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/context-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAY,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAErD,eAAO,MAAM,qBAAqB,EAAE,gBAAgB,CAClD,oBAAoB,EACpB,kBAAkB,CAMnB,CAAC"}
@@ -1,24 +1,31 @@
1
- import { IGraph, IPluginBaseConfig } from '@antv/g6';
2
- import { Plugin } from '@antv/g6/lib/types/plugin';
3
- import { GraphTransformOptions } from '@antv/g6/lib/types/view';
4
- import { MxGraphBackgroundConfig } from '../model';
5
- export type GraphBackgroundConfig = MxGraphBackgroundConfig & IPluginBaseConfig;
6
- export declare class GraphBackground extends Plugin {
7
- private container;
8
- private canvas;
9
- private canvasSize;
10
- private followGraphSize;
11
- constructor(options?: GraphBackgroundConfig);
12
- getDefaultCfgs(): GraphBackgroundConfig;
13
- init(graph: IGraph): void;
14
- getEvents(): {
15
- aftersetsize: (e: any) => void;
16
- viewportchange: (e: GraphTransformOptions) => void;
1
+ import { Image } from '@antv/g';
2
+ import type { BasePluginOptions, IElementEvent, RuntimeContext } from '@antv/g6';
3
+ import { BasePlugin } from '@antv/g6';
4
+ import { MxPluginFunction } from '../model';
5
+ interface MxGraphBackgroundOptions extends BasePluginOptions {
6
+ type: 'graphBackground';
7
+ url?: string;
8
+ width?: number;
9
+ height?: number;
10
+ position?: string;
11
+ begin?: {
12
+ x: number;
13
+ y: number;
17
14
  };
18
- initCanvas(): any;
19
- private onGraphSetSize;
20
- private onViewportChange;
15
+ }
16
+ export declare const getGraphBackgroundOptions: MxPluginFunction<MxGraphBackgroundOptions, MxGraphBackgroundOptions>;
17
+ export declare class MxGraphBackground extends BasePlugin<MxGraphBackgroundOptions> {
18
+ static defaultOptions: Partial<MxGraphBackgroundOptions>;
19
+ imageNode: Image | undefined;
20
+ constructor(context: RuntimeContext, options: MxGraphBackgroundOptions);
21
+ private getEvents;
22
+ update(options: Partial<MxGraphBackgroundOptions>): void;
21
23
  setBackgroundImage(): void;
24
+ private bindEvents;
25
+ private unbindEvents;
26
+ onViewPortChange(e: IElementEvent): void;
27
+ onGraphSizeChange(e: IElementEvent): void;
22
28
  destroy(): void;
23
29
  }
30
+ export {};
24
31
  //# sourceMappingURL=graph-background.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graph-background.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/graph-background.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAA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KAAE,CAAC;CAClC;AAED,eAAO,MAAM,yBAAyB,EAAE,gBAAgB,CACtD,wBAAwB,EACxB,wBAAwB,CAQzB,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,UAAU,CAAC,wBAAwB,CAAC;IACzE,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAKtD;IACF,SAAS,EAAE,KAAK,GAAG,SAAS,CAAa;gBAE7B,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,wBAAwB;IAUtE,OAAO,CAAC,SAAS;IAMD,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC;IAKjE,kBAAkB;IAyBlB,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,YAAY;IASpB,gBAAgB,CAAC,CAAC,EAAE,aAAa;IAIjC,iBAAiB,CAAC,CAAC,EAAE,aAAa;IAIzB,OAAO,IAAI,IAAI;CAKzB"}
@@ -0,0 +1,2 @@
1
+ export * from './plugin.mapper';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/plugin/helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { CustomPluginOption } from '@antv/g6';
2
+ import { MxGraph } from '../../graph';
3
+ import { MxPlugin, MxPluginFunction, MxUserPlugin } from '../../model';
4
+ export declare const DEFAULT_PLUGINS: MxPlugin[];
5
+ export declare const PLUGIN_MAPPER: Record<MxPlugin, MxPluginFunction>;
6
+ export declare const getPlugins: (graph: MxGraph, plugins: MxUserPlugin[]) => CustomPluginOption[];
7
+ //# sourceMappingURL=plugin.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/plugin/helper/plugin.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAOvE,eAAO,MAAM,eAAe,EAAE,QAAQ,EAAuB,CAAC;AAE9D,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAM5D,CAAC;AAEF,eAAO,MAAM,UAAU,UACd,OAAO,WACL,YAAY,EAAE,KACtB,kBAAkB,EAOpB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BasePluginOptions, HistoryOptions } from '@antv/g6';
2
+ import { MxPluginFunction } from '../model';
3
+ export type MxHistoryOptions = BasePluginOptions;
4
+ export declare const getHistoryOptions: MxPluginFunction<MxHistoryOptions, HistoryOptions>;
5
+ //# sourceMappingURL=history.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAW,cAAc,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAY,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAC9C,gBAAgB,EAChB,cAAc,CAYf,CAAC"}
@@ -1,6 +1,7 @@
1
+ export * from './context-menu';
1
2
  export * from './graph-background';
2
- export * from './minimap';
3
- export * from './plugin.mapper';
3
+ export * from './helper';
4
+ export * from './history';
4
5
  export * from './toolbar';
5
6
  export * from './tooltip';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
@@ -1,3 +1,5 @@
1
- import { G6PluginConfig, MxPluginConfig } from '../model';
2
- export declare function convertToolbarConfig(data: MxPluginConfig): G6PluginConfig;
1
+ import { BasePluginOptions, ToolbarOptions } from '@antv/g6';
2
+ import { MxPluginFunction } from '../model';
3
+ export type MxToolbarOptions = BasePluginOptions;
4
+ export declare const getToolbarOptions: MxPluginFunction<MxToolbarOptions, ToolbarOptions>;
3
5
  //# sourceMappingURL=toolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/toolbar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1D,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CA0CzE"}
1
+ {"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/toolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAY,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAC9C,gBAAgB,EAChB,cAAc,CA0Cf,CAAC"}
@@ -1,98 +1,10 @@
1
- import { G6PluginConfig, MxPluginConfig } from '../model';
2
- import { IG6GraphEvent, IGraph, IPluginBaseConfig } from '@antv/g6';
3
- import { Plugin } from '@antv/g6/lib/types/plugin';
4
- type Placement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'leftTop' | 'topRight' | 'rightTop' | 'bottomLeft' | 'leftBottom' | 'bottomRight' | 'rightBottom';
5
- /**
6
- * The `TooltipConfig` interface contains the following properties:
7
-
8
- - `getContent`: An optional function for getting the content of the tooltip. It takes an optional argument of type `IG6GraphEvent`, and returns a value of type HTMLElement, string, or Promise (resolving to HTMLElement or string).
9
- - `offsetX`: An optional number representing the offset of the tooltip in the X direction.
10
- - `offsetY`: An optional number representing the offset of the tooltip in the Y direction.
11
- - `shouldBegin`: An optional function for determining whether the tooltip should be displayed. It takes an optional argument of type `IG6GraphEvent`, and returns a boolean value.
12
- - `itemTypes`: An optional array of strings representing the types of items for which the tooltip is allowed to be displayed. The possible values are 'node', 'edge', 'combo', and 'canvas'.
13
- - `trigger`: An optional string, either 'pointerenter' or 'click', representing the event type that triggers the display of the tooltip.
14
- - `fixToNode`: An optional array of two numbers, a string representing a placement, or undefined, representing how to fix the tooltip to a node.
15
- - `loadingContent`: An optional HTMLElement or string representing the loading DOM.
16
-
17
- */
18
- export interface TooltipConfig extends IPluginBaseConfig {
19
- /** Function for getting tooltip content */
20
- getContent?: (evt?: IG6GraphEvent) => HTMLElement | string | Promise<HTMLElement | string>;
21
- /** Offset of tooltip in X direction */
22
- offsetX?: number;
23
- /** Offset of tooltip in Y direction */
24
- offsetY?: number;
25
- /** Determine whether to display tooltip */
26
- shouldBegin?: (evt?: IG6GraphEvent) => boolean;
27
- /** Types of items for which tooltip is allowed to be displayed */
28
- itemTypes?: ('node' | 'edge' | 'combo' | 'canvas')[];
29
- /** Event type that triggers display of tooltip */
30
- trigger?: 'pointerenter' | 'click';
31
- /** How to fix tooltip to node */
32
- fixToNode?: [number, number] | Placement | undefined;
33
- /** Loading DOM */
34
- loadingContent?: HTMLElement | string;
35
- }
36
- export declare class Tooltip extends Plugin {
37
- private tooltip;
38
- private container;
39
- private currentTarget;
40
- private asyncTooltip;
41
- private currentAsyncTarget;
42
- private hidenTimer;
43
- constructor(options?: TooltipConfig);
44
- getDefaultCfgs(): TooltipConfig;
45
- getEvents(): {
46
- 'node:click': (e: IG6GraphEvent) => void;
47
- 'edge:click': (e: IG6GraphEvent) => void;
48
- 'combo:click': (e: IG6GraphEvent) => void;
49
- 'canvas:click': () => void;
50
- afterremoveitem: () => void;
51
- contextmenu: () => void;
52
- drag: () => void;
53
- 'node:pointerenter'?: undefined;
54
- 'node:pointerleave'?: undefined;
55
- 'node:pointermove'?: undefined;
56
- 'edge:pointerenter'?: undefined;
57
- 'edge:pointerleave'?: undefined;
58
- 'edge:pointermove'?: undefined;
59
- 'combo:pointerenter'?: undefined;
60
- 'combo:pointerleave'?: undefined;
61
- 'combo:pointermove'?: undefined;
62
- 'node:drag'?: undefined;
63
- } | {
64
- 'node:pointerenter': (e: IG6GraphEvent) => void;
65
- 'node:pointerleave': () => void;
66
- 'node:pointermove': (e: IG6GraphEvent) => void;
67
- 'edge:pointerenter': (e: IG6GraphEvent) => void;
68
- 'edge:pointerleave': () => void;
69
- 'edge:pointermove': (e: IG6GraphEvent) => void;
70
- 'combo:pointerenter': (e: IG6GraphEvent) => void;
71
- 'combo:pointerleave': () => void;
72
- 'combo:pointermove': (e: IG6GraphEvent) => void;
73
- afterremoveitem: () => void;
74
- contextmenu: () => void;
75
- 'node:drag': () => void;
76
- 'node:click'?: undefined;
77
- 'edge:click'?: undefined;
78
- 'combo:click'?: undefined;
79
- 'canvas:click'?: undefined;
80
- drag?: undefined;
81
- };
82
- init(graph: IGraph): void;
83
- onClick(e: IG6GraphEvent): void;
84
- onPointerEnter(e: IG6GraphEvent): void;
85
- onPointerMove(e: IG6GraphEvent): void;
86
- onPointerLeave(): void;
87
- clearContainer(): void;
88
- showTooltip(e: IG6GraphEvent): Promise<void>;
89
- hideTooltip(): void;
90
- updatePosition(e: IG6GraphEvent): {
91
- x: number;
92
- y: number;
93
- };
94
- destroy(): void;
95
- }
96
- export declare function convertTooltipConfig(data: MxPluginConfig): G6PluginConfig;
97
- export {};
1
+ import { BasePluginOptions, ContextmenuOptions } from '@antv/g6';
2
+ import { MxItemType, MxPluginFunction } from '../model';
3
+ export type MxTooltipOptions = BasePluginOptions & {
4
+ enable?: boolean;
5
+ trigger?: ContextmenuOptions['trigger'];
6
+ itemTypes?: MxItemType[];
7
+ render?: (e: any) => string;
8
+ };
9
+ export declare const getTooltipOptions: MxPluginFunction<MxTooltipOptions, ContextmenuOptions>;
98
10
  //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1D,OAAO,EAAM,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAoCnD,KAAK,SAAS,GACV,KAAK,GACL,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,aAAa,CAAC;AAElB;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,2CAA2C;IAC3C,UAAU,CAAC,EAAE,CACX,GAAG,CAAC,EAAE,aAAa,KAChB,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,MAAM,CAAC,CAAC;IAC1D,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,aAAa,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AE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,UAAU,EAAY,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,UAAU,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAC9C,gBAAgB,EAChB,kBAAkB,CA8BnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@antv/g6/lib/themes/types';
2
+ export declare const DARK_THEME: Theme;
3
+ //# sourceMappingURL=dark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/dark.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGlD,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ThemeOptionsOf } from '@antv/g6/lib/types/theme';
2
- import { MxThemeConfig, T } from '../model';
3
- export declare const createTheme: (themeConfig?: MxThemeConfig) => ThemeOptionsOf<T>;
1
+ export * from './dark';
2
+ export * from './light';
3
+ export * from './theme.mapper';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAQ5C,eAAO,MAAM,WAAW,iBAAkB,aAAa,KAAG,eAAe,CAAC,CAQzE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@antv/g6/lib/themes/types';
2
+ export declare const LIGHT_THEME: Theme;
3
+ //# sourceMappingURL=light.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/light.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGlD,eAAO,MAAM,WAAW,EAAE,KAGzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@antv/g6/lib/themes/types';
2
+ export declare const LIGHT_THEME: Theme;
3
+ //# sourceMappingURL=light.theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.theme.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/light.theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { MxThemeType, MxUserThemeType } from '../model';
2
+ export declare const THEME_MAPPER: Record<MxUserThemeType, MxThemeType>;
3
+ export declare const getThemeType: (theme: MxUserThemeType) => "mx-light" | "mx-dark";
4
+ export declare const getThemeTokens: (theme: MxUserThemeType) => {
5
+ "background-neutral-default": string;
6
+ "text-neutral-default": string;
7
+ "text-neutral-default-subtle": string;
8
+ "background-neutral-subtle": string;
9
+ "background-neutral-inverse": string;
10
+ "text-neutral-inverse": string;
11
+ "icon-primary-default": string;
12
+ "icon-error-default": string;
13
+ "icon-warning-default": string;
14
+ "icon-success-default": string;
15
+ "icon-info-default": string;
16
+ "border-primary-default": string;
17
+ "border-error-default": string;
18
+ "border-warning-default": string;
19
+ "border-success-default": string;
20
+ "border-info-default": string;
21
+ "path/outline-neutral-default": string;
22
+ "guides/outline-accent": string;
23
+ "background-primary-default": string;
24
+ "background-primary-hovered": string;
25
+ "background-neutral-hovered": string;
26
+ "background-error-default": string;
27
+ "background-error-hovered": string;
28
+ "background-warning-default": string;
29
+ "background-warning-hovered": string;
30
+ "background-success-default": string;
31
+ "background-success-hovered": string;
32
+ "background-info-default": string;
33
+ "background-info-hovered": string;
34
+ } | {
35
+ "background-neutral-default": string;
36
+ "text-neutral-default": string;
37
+ "text-neutral-default-subtle": string;
38
+ "background-neutral-subtle": string;
39
+ "background-neutral-inverse": string;
40
+ "text-neutral-inverse": string;
41
+ "icon-primary-default": string;
42
+ "icon-error-default": string;
43
+ "icon-warning-default": string;
44
+ "icon-success-default": string;
45
+ "icon-info-default": string;
46
+ "border-primary-default": string;
47
+ "border-error-default": string;
48
+ "border-warning-default": string;
49
+ "border-success-default": string;
50
+ "border-info-default": string;
51
+ "path/outline-neutral-default": string;
52
+ "guides/outline-accent": string;
53
+ "background-primary-default": string;
54
+ "background-primary-hovered": string;
55
+ "background-neutral-hovered": string;
56
+ "background-error-default": string;
57
+ "background-error-hovered": string;
58
+ "background-warning-default": string;
59
+ "background-warning-hovered": string;
60
+ "background-success-default": string;
61
+ "background-success-hovered": string;
62
+ "background-info-default": string;
63
+ "background-info-hovered": string;
64
+ };
65
+ //# sourceMappingURL=theme.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.mapper.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/theme.mapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,eAAe,EAAE,WAAW,CAG7D,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,eAAe,2BAElD,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEpD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { DisplayObject, Line, Path } from '@antv/g';
2
+ import { Node, Point } from '@antv/g6';
3
+ export declare const LABEL_ARROW_ICON_SIZE: number[];
4
+ export declare const MIDDLE_ARROW_ICON_SIZE: number[];
5
+ export declare const getLabelPadding: (startArrow: boolean, endArrow: boolean) => [number, number, number, number];
6
+ export declare const getArrowOffset: (labelShape: DisplayObject, type: 'start' | 'end', padding: [number, number, number, number], revert: boolean) => [number, number];
7
+ export declare const getDistance: (x1: number, y1: number, x2: number, y2: number) => number;
8
+ export declare const isRevert: (keyShape: Line | Path) => boolean;
9
+ export declare const getEndpoints: (sourceNode: Node, targetNode: Node) => false | [Point, Point];
10
+ export declare function isHorizontal(keyShape: Line | Path, ratio: number): boolean;
11
+ export declare const getAngle: (keyShape: Line | Path, ratio: number) => number;
12
+ export declare const getLabelPosition: (key: Line | Path, ratio: number, offsetX?: number, offsetY?: number) => {
13
+ translate: {
14
+ x: number;
15
+ y: number;
16
+ };
17
+ rotate: number;
18
+ };
19
+ //# sourceMappingURL=edge.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edge.helper.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/edge.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMvC,eAAO,MAAM,qBAAqB,UAAW,CAAC;AAC9C,eAAO,MAAM,sBAAsB,UAAW,CAAC;AAE/C,eAAO,MAAM,eAAe,eACd,OAAO,YACT,OAAO,KAChB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAYjC,CAAC;AAEF,eAAO,MAAM,cAAc,eACb,aAAa,QACnB,OAAO,GAAG,KAAK,WACZ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,UACjC,OAAO,KACd,CAAC,MAAM,EAAE,MAAM,CA6BjB,CAAC;AAEF,eAAO,MAAM,WAAW,OAClB,MAAM,MACN,MAAM,MACN,MAAM,MACN,MAAM,KACT,MAKF,CAAC;AAEF,eAAO,MAAM,QAAQ,aAAc,IAAI,GAAG,IAAI,KAAG,OAIhD,CAAC;AAEF,eAAO,MAAM,YAAY,eAAgB,IAAI,cAAc,IAAI,2BAS9D,CAAC;AAEF,wBAAgB,YAAY,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAI1E;AAED,eAAO,MAAM,QAAQ,aAAc,IAAI,GAAG,IAAI,SAAS,MAAM,KAAG,MAI/D,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,IAAI,GAAG,IAAI,SACT,MAAM;;;;;;CAqBd,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseElementStyleProps } from '@antv/g6';
2
+ import { MxGraph } from '../graph';
3
+ export declare const getMxGraph: (attrs: BaseElementStyleProps) => MxGraph;
4
+ //# sourceMappingURL=graph.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.helper.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/graph.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,eAAO,MAAM,UAAU,UAAW,qBAAqB,KAAG,OAGzD,CAAC"}
@@ -1,3 +1,7 @@
1
+ export * from './edge.helper';
2
+ export * from './graph.helper';
1
3
  export * from './icon.helper';
4
+ export * from './rect.helper';
2
5
  export * from './state.helper';
6
+ export * from './tree.helper';
3
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}