tvision-charts-component 3.3.24

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 (520) hide show
  1. package/README.md +40 -0
  2. package/dist/esm/_type/chart.d.ts +6 -0
  3. package/dist/esm/_type/chart.js +2 -0
  4. package/dist/esm/_type/chart.js.map +1 -0
  5. package/dist/esm/_type/data.d.ts +40 -0
  6. package/dist/esm/_type/data.js +2 -0
  7. package/dist/esm/_type/data.js.map +1 -0
  8. package/dist/esm/_type/index.d.ts +3 -0
  9. package/dist/esm/_type/index.js +4 -0
  10. package/dist/esm/_type/index.js.map +1 -0
  11. package/dist/esm/_type/options.d.ts +83 -0
  12. package/dist/esm/_type/options.js +2 -0
  13. package/dist/esm/_type/options.js.map +1 -0
  14. package/dist/esm/basicBar/README.md +79 -0
  15. package/dist/esm/basicBar/_example/Basic.d.ts +1 -0
  16. package/dist/esm/basicBar/_example/Basic.js +29 -0
  17. package/dist/esm/basicBar/_example/Basic.js.map +1 -0
  18. package/dist/esm/basicBar/_example/Basic.jsx +32 -0
  19. package/dist/esm/basicBar/_example/CustomColorSingleBar.d.ts +1 -0
  20. package/dist/esm/basicBar/_example/CustomColorSingleBar.js +58 -0
  21. package/dist/esm/basicBar/_example/CustomColorSingleBar.js.map +1 -0
  22. package/dist/esm/basicBar/_example/CustomColorSingleBar.jsx +66 -0
  23. package/dist/esm/basicBar/_example/FixedWidthBar.d.ts +1 -0
  24. package/dist/esm/basicBar/_example/FixedWidthBar.js +57 -0
  25. package/dist/esm/basicBar/_example/FixedWidthBar.js.map +1 -0
  26. package/dist/esm/basicBar/_example/FixedWidthBar.jsx +92 -0
  27. package/dist/esm/basicBar/_example/GroupedBar.d.ts +1 -0
  28. package/dist/esm/basicBar/_example/GroupedBar.js +35 -0
  29. package/dist/esm/basicBar/_example/GroupedBar.js.map +1 -0
  30. package/dist/esm/basicBar/_example/GroupedBar.jsx +37 -0
  31. package/dist/esm/basicBar/_example/HorizontalBar.d.ts +1 -0
  32. package/dist/esm/basicBar/_example/HorizontalBar.js +92 -0
  33. package/dist/esm/basicBar/_example/HorizontalBar.js.map +1 -0
  34. package/dist/esm/basicBar/_example/HorizontalBar.jsx +95 -0
  35. package/dist/esm/basicBar/_example/HorizontalStackedBar.d.ts +1 -0
  36. package/dist/esm/basicBar/_example/HorizontalStackedBar.js +97 -0
  37. package/dist/esm/basicBar/_example/HorizontalStackedBar.js.map +1 -0
  38. package/dist/esm/basicBar/_example/HorizontalStackedBar.jsx +100 -0
  39. package/dist/esm/basicBar/_example/LabelRotate.d.ts +1 -0
  40. package/dist/esm/basicBar/_example/LabelRotate.js +20 -0
  41. package/dist/esm/basicBar/_example/LabelRotate.js.map +1 -0
  42. package/dist/esm/basicBar/_example/LabelRotate.jsx +24 -0
  43. package/dist/esm/basicBar/_example/StackedBar.d.ts +1 -0
  44. package/dist/esm/basicBar/_example/StackedBar.js +44 -0
  45. package/dist/esm/basicBar/_example/StackedBar.js.map +1 -0
  46. package/dist/esm/basicBar/_example/StackedBar.jsx +46 -0
  47. package/dist/esm/basicBar/_example/VerticalWaterfallBar.d.ts +1 -0
  48. package/dist/esm/basicBar/_example/VerticalWaterfallBar.js +100 -0
  49. package/dist/esm/basicBar/_example/VerticalWaterfallBar.js.map +1 -0
  50. package/dist/esm/basicBar/_example/VerticalWaterfallBar.jsx +117 -0
  51. package/dist/esm/basicBar/_example/WaterfallHoverBar.d.ts +1 -0
  52. package/dist/esm/basicBar/_example/WaterfallHoverBar.js +134 -0
  53. package/dist/esm/basicBar/_example/WaterfallHoverBar.js.map +1 -0
  54. package/dist/esm/basicBar/_example/WaterfallHoverBar.jsx +152 -0
  55. package/dist/esm/basicBar/_example/WaterfallZebraBar.d.ts +1 -0
  56. package/dist/esm/basicBar/_example/WaterfallZebraBar.js +122 -0
  57. package/dist/esm/basicBar/_example/WaterfallZebraBar.js.map +1 -0
  58. package/dist/esm/basicBar/_example/WaterfallZebraBar.jsx +137 -0
  59. package/dist/esm/basicBar/_example/XaxisBelowWaterfall.d.ts +1 -0
  60. package/dist/esm/basicBar/_example/XaxisBelowWaterfall.js +93 -0
  61. package/dist/esm/basicBar/_example/XaxisBelowWaterfall.js.map +1 -0
  62. package/dist/esm/basicBar/_example/XaxisBelowWaterfall.jsx +101 -0
  63. package/dist/esm/basicBar/_example/XaxisHideBar.d.ts +1 -0
  64. package/dist/esm/basicBar/_example/XaxisHideBar.js +54 -0
  65. package/dist/esm/basicBar/_example/XaxisHideBar.js.map +1 -0
  66. package/dist/esm/basicBar/_example/XaxisHideBar.jsx +59 -0
  67. package/dist/esm/basicBar/_example/XaxisLabelWrap.d.ts +1 -0
  68. package/dist/esm/basicBar/_example/XaxisLabelWrap.js +66 -0
  69. package/dist/esm/basicBar/_example/XaxisLabelWrap.js.map +1 -0
  70. package/dist/esm/basicBar/_example/XaxisLabelWrap.jsx +70 -0
  71. package/dist/esm/basicBar/_example/XaxisTopWaterfall.d.ts +1 -0
  72. package/dist/esm/basicBar/_example/XaxisTopWaterfall.js +94 -0
  73. package/dist/esm/basicBar/_example/XaxisTopWaterfall.js.map +1 -0
  74. package/dist/esm/basicBar/_example/XaxisTopWaterfall.jsx +102 -0
  75. package/dist/esm/basicBar/_example/XaxisTopWaterfallWithLabel.d.ts +1 -0
  76. package/dist/esm/basicBar/_example/XaxisTopWaterfallWithLabel.js +104 -0
  77. package/dist/esm/basicBar/_example/XaxisTopWaterfallWithLabel.js.map +1 -0
  78. package/dist/esm/basicBar/_example/XaxisTopWaterfallWithLabel.jsx +112 -0
  79. package/dist/esm/basicBar/_example/YaxisNegativeBasicBar.d.ts +1 -0
  80. package/dist/esm/basicBar/_example/YaxisNegativeBasicBar.js +28 -0
  81. package/dist/esm/basicBar/_example/YaxisNegativeBasicBar.js.map +1 -0
  82. package/dist/esm/basicBar/_example/YaxisNegativeBasicBar.jsx +31 -0
  83. package/dist/esm/basicBar/_example/YaxisReverseZoomBar.d.ts +1 -0
  84. package/dist/esm/basicBar/_example/YaxisReverseZoomBar.js +117 -0
  85. package/dist/esm/basicBar/_example/YaxisReverseZoomBar.js.map +1 -0
  86. package/dist/esm/basicBar/_example/YaxisReverseZoomBar.jsx +135 -0
  87. package/dist/esm/basicBar/demo/basic.md +34 -0
  88. package/dist/esm/basicBar/demo/labelRotate.md +35 -0
  89. package/dist/esm/basicBar/index.d.ts +56 -0
  90. package/dist/esm/basicBar/index.js +42 -0
  91. package/dist/esm/basicBar/index.js.map +1 -0
  92. package/dist/esm/basicBar/index.md +30 -0
  93. package/dist/esm/basicBar/style/index.less +0 -0
  94. package/dist/esm/basicFlame/README.md +56 -0
  95. package/dist/esm/basicFlame/_example/BackgroundBasic.d.ts +1 -0
  96. package/dist/esm/basicFlame/_example/BackgroundBasic.js +52 -0
  97. package/dist/esm/basicFlame/_example/BackgroundBasic.js.map +1 -0
  98. package/dist/esm/basicFlame/_example/BackgroundBasic.jsx +57 -0
  99. package/dist/esm/basicFlame/_example/Basic.d.ts +1 -0
  100. package/dist/esm/basicFlame/_example/Basic.js +49 -0
  101. package/dist/esm/basicFlame/_example/Basic.js.map +1 -0
  102. package/dist/esm/basicFlame/_example/Basic.jsx +52 -0
  103. package/dist/esm/basicFlame/_example/ColorsBasic.d.ts +1 -0
  104. package/dist/esm/basicFlame/_example/ColorsBasic.js +50 -0
  105. package/dist/esm/basicFlame/_example/ColorsBasic.js.map +1 -0
  106. package/dist/esm/basicFlame/_example/ColorsBasic.jsx +53 -0
  107. package/dist/esm/basicFlame/_example/FillBasic.d.ts +1 -0
  108. package/dist/esm/basicFlame/_example/FillBasic.js +53 -0
  109. package/dist/esm/basicFlame/_example/FillBasic.js.map +1 -0
  110. package/dist/esm/basicFlame/_example/FillBasic.jsx +56 -0
  111. package/dist/esm/basicFlame/_example/HeightBasic.d.ts +1 -0
  112. package/dist/esm/basicFlame/_example/HeightBasic.js +49 -0
  113. package/dist/esm/basicFlame/_example/HeightBasic.js.map +1 -0
  114. package/dist/esm/basicFlame/_example/HeightBasic.jsx +52 -0
  115. package/dist/esm/basicFlame/_example/HueBasic.d.ts +1 -0
  116. package/dist/esm/basicFlame/_example/HueBasic.js +50 -0
  117. package/dist/esm/basicFlame/_example/HueBasic.js.map +1 -0
  118. package/dist/esm/basicFlame/_example/HueBasic.jsx +53 -0
  119. package/dist/esm/basicFlame/_example/LabelBasic.d.ts +1 -0
  120. package/dist/esm/basicFlame/_example/LabelBasic.js +53 -0
  121. package/dist/esm/basicFlame/_example/LabelBasic.js.map +1 -0
  122. package/dist/esm/basicFlame/_example/LabelBasic.jsx +56 -0
  123. package/dist/esm/basicFlame/_example/LargeBasic1.d.ts +1 -0
  124. package/dist/esm/basicFlame/_example/LargeBasic1.js +3895 -0
  125. package/dist/esm/basicFlame/_example/LargeBasic1.js.map +1 -0
  126. package/dist/esm/basicFlame/_example/LargeBasic1.jsx +3899 -0
  127. package/dist/esm/basicFlame/_example/LargeBasic2.d.ts +1 -0
  128. package/dist/esm/basicFlame/_example/LargeBasic2.js +10511 -0
  129. package/dist/esm/basicFlame/_example/LargeBasic2.js.map +1 -0
  130. package/dist/esm/basicFlame/_example/LargeBasic2.jsx +10515 -0
  131. package/dist/esm/basicFlame/_example/ResetBasic.d.ts +1 -0
  132. package/dist/esm/basicFlame/_example/ResetBasic.js +59 -0
  133. package/dist/esm/basicFlame/_example/ResetBasic.js.map +1 -0
  134. package/dist/esm/basicFlame/_example/ResetBasic.jsx +62 -0
  135. package/dist/esm/basicFlame/demo/basic.md +55 -0
  136. package/dist/esm/basicFlame/index.d.ts +28 -0
  137. package/dist/esm/basicFlame/index.js +29 -0
  138. package/dist/esm/basicFlame/index.js.map +1 -0
  139. package/dist/esm/basicFlame/index.md +23 -0
  140. package/dist/esm/basicFlame/style/index.less +0 -0
  141. package/dist/esm/basicFunnel/README.md +19 -0
  142. package/dist/esm/basicFunnel/_example/Basic.d.ts +1 -0
  143. package/dist/esm/basicFunnel/_example/Basic.js +70 -0
  144. package/dist/esm/basicFunnel/_example/Basic.js.map +1 -0
  145. package/dist/esm/basicFunnel/_example/Basic.jsx +82 -0
  146. package/dist/esm/basicFunnel/_example/SpaceFunnel.d.ts +1 -0
  147. package/dist/esm/basicFunnel/_example/SpaceFunnel.js +71 -0
  148. package/dist/esm/basicFunnel/_example/SpaceFunnel.js.map +1 -0
  149. package/dist/esm/basicFunnel/_example/SpaceFunnel.jsx +83 -0
  150. package/dist/esm/basicFunnel/demo/basic.md +45 -0
  151. package/dist/esm/basicFunnel/index.d.ts +19 -0
  152. package/dist/esm/basicFunnel/index.js +27 -0
  153. package/dist/esm/basicFunnel/index.js.map +1 -0
  154. package/dist/esm/basicFunnel/index.md +21 -0
  155. package/dist/esm/basicFunnel/style/index.less +0 -0
  156. package/dist/esm/basicGauge/README.md +24 -0
  157. package/dist/esm/basicGauge/_example/Basic.d.ts +1 -0
  158. package/dist/esm/basicGauge/_example/Basic.js +31 -0
  159. package/dist/esm/basicGauge/_example/Basic.js.map +1 -0
  160. package/dist/esm/basicGauge/_example/Basic.jsx +34 -0
  161. package/dist/esm/basicGauge/_example/ScaleGauge.d.ts +1 -0
  162. package/dist/esm/basicGauge/_example/ScaleGauge.js +31 -0
  163. package/dist/esm/basicGauge/_example/ScaleGauge.js.map +1 -0
  164. package/dist/esm/basicGauge/_example/ScaleGauge.jsx +34 -0
  165. package/dist/esm/basicGauge/_example/ThresholdGauge.d.ts +1 -0
  166. package/dist/esm/basicGauge/_example/ThresholdGauge.js +31 -0
  167. package/dist/esm/basicGauge/_example/ThresholdGauge.js.map +1 -0
  168. package/dist/esm/basicGauge/_example/ThresholdGauge.jsx +34 -0
  169. package/dist/esm/basicGauge/index.d.ts +23 -0
  170. package/dist/esm/basicGauge/index.js +26 -0
  171. package/dist/esm/basicGauge/index.js.map +1 -0
  172. package/dist/esm/basicHBar/README.md +15 -0
  173. package/dist/esm/basicHBar/_example/Basic.d.ts +1 -0
  174. package/dist/esm/basicHBar/_example/Basic.js +49 -0
  175. package/dist/esm/basicHBar/_example/Basic.js.map +1 -0
  176. package/dist/esm/basicHBar/_example/Basic.jsx +56 -0
  177. package/dist/esm/basicHBar/_example/DiskBasic.d.ts +1 -0
  178. package/dist/esm/basicHBar/_example/DiskBasic.js +43 -0
  179. package/dist/esm/basicHBar/_example/DiskBasic.js.map +1 -0
  180. package/dist/esm/basicHBar/_example/DiskBasic.jsx +46 -0
  181. package/dist/esm/basicHBar/_example/LabelRotate.d.ts +1 -0
  182. package/dist/esm/basicHBar/_example/LabelRotate.js +20 -0
  183. package/dist/esm/basicHBar/_example/LabelRotate.js.map +1 -0
  184. package/dist/esm/basicHBar/_example/LabelRotate.jsx +26 -0
  185. package/dist/esm/basicHBar/demo/basic.md +48 -0
  186. package/dist/esm/basicHBar/demo/labelRotate.md +35 -0
  187. package/dist/esm/basicHBar/index.d.ts +19 -0
  188. package/dist/esm/basicHBar/index.js +28 -0
  189. package/dist/esm/basicHBar/index.js.map +1 -0
  190. package/dist/esm/basicHBar/index.md +31 -0
  191. package/dist/esm/basicHBar/style/index.less +0 -0
  192. package/dist/esm/basicHeatMap/README.md +19 -0
  193. package/dist/esm/basicHeatMap/_example/Basic.d.ts +1 -0
  194. package/dist/esm/basicHeatMap/_example/Basic.js +383 -0
  195. package/dist/esm/basicHeatMap/_example/Basic.js.map +1 -0
  196. package/dist/esm/basicHeatMap/_example/Basic.jsx +386 -0
  197. package/dist/esm/basicHeatMap/_example/CustomRoundHeatMap.d.ts +1 -0
  198. package/dist/esm/basicHeatMap/_example/CustomRoundHeatMap.js +1333 -0
  199. package/dist/esm/basicHeatMap/_example/CustomRoundHeatMap.js.map +1 -0
  200. package/dist/esm/basicHeatMap/_example/CustomRoundHeatMap.jsx +1337 -0
  201. package/dist/esm/basicHeatMap/index.d.ts +52 -0
  202. package/dist/esm/basicHeatMap/index.js +26 -0
  203. package/dist/esm/basicHeatMap/index.js.map +1 -0
  204. package/dist/esm/basicLine/README.md +115 -0
  205. package/dist/esm/basicLine/_example/AreaLine.d.ts +1 -0
  206. package/dist/esm/basicLine/_example/AreaLine.js +38 -0
  207. package/dist/esm/basicLine/_example/AreaLine.js.map +1 -0
  208. package/dist/esm/basicLine/_example/AreaLine.jsx +41 -0
  209. package/dist/esm/basicLine/_example/AuxiliaryHLine.d.ts +1 -0
  210. package/dist/esm/basicLine/_example/AuxiliaryHLine.js +71 -0
  211. package/dist/esm/basicLine/_example/AuxiliaryHLine.js.map +1 -0
  212. package/dist/esm/basicLine/_example/AuxiliaryHLine.jsx +74 -0
  213. package/dist/esm/basicLine/_example/AuxiliaryLine.d.ts +1 -0
  214. package/dist/esm/basicLine/_example/AuxiliaryLine.js +53 -0
  215. package/dist/esm/basicLine/_example/AuxiliaryLine.js.map +1 -0
  216. package/dist/esm/basicLine/_example/AuxiliaryLine.jsx +58 -0
  217. package/dist/esm/basicLine/_example/AuxiliaryVLine.d.ts +1 -0
  218. package/dist/esm/basicLine/_example/AuxiliaryVLine.js +71 -0
  219. package/dist/esm/basicLine/_example/AuxiliaryVLine.js.map +1 -0
  220. package/dist/esm/basicLine/_example/AuxiliaryVLine.jsx +75 -0
  221. package/dist/esm/basicLine/_example/AxisFormatter.d.ts +1 -0
  222. package/dist/esm/basicLine/_example/AxisFormatter.js +95 -0
  223. package/dist/esm/basicLine/_example/AxisFormatter.js.map +1 -0
  224. package/dist/esm/basicLine/_example/AxisFormatter.jsx +108 -0
  225. package/dist/esm/basicLine/_example/BarLine.d.ts +1 -0
  226. package/dist/esm/basicLine/_example/BarLine.js +91 -0
  227. package/dist/esm/basicLine/_example/BarLine.js.map +1 -0
  228. package/dist/esm/basicLine/_example/BarLine.jsx +94 -0
  229. package/dist/esm/basicLine/_example/Basic.d.ts +1 -0
  230. package/dist/esm/basicLine/_example/Basic.js +26 -0
  231. package/dist/esm/basicLine/_example/Basic.js.map +1 -0
  232. package/dist/esm/basicLine/_example/Basic.jsx +29 -0
  233. package/dist/esm/basicLine/_example/CustomColorLine.d.ts +1 -0
  234. package/dist/esm/basicLine/_example/CustomColorLine.js +135 -0
  235. package/dist/esm/basicLine/_example/CustomColorLine.js.map +1 -0
  236. package/dist/esm/basicLine/_example/CustomColorLine.jsx +148 -0
  237. package/dist/esm/basicLine/_example/DataZoomLine.d.ts +1 -0
  238. package/dist/esm/basicLine/_example/DataZoomLine.js +1332 -0
  239. package/dist/esm/basicLine/_example/DataZoomLine.js.map +1 -0
  240. package/dist/esm/basicLine/_example/DataZoomLine.jsx +1344 -0
  241. package/dist/esm/basicLine/_example/DottedLine.d.ts +1 -0
  242. package/dist/esm/basicLine/_example/DottedLine.js +105 -0
  243. package/dist/esm/basicLine/_example/DottedLine.js.map +1 -0
  244. package/dist/esm/basicLine/_example/DottedLine.jsx +118 -0
  245. package/dist/esm/basicLine/_example/DualaxisLine.d.ts +1 -0
  246. package/dist/esm/basicLine/_example/DualaxisLine.js +91 -0
  247. package/dist/esm/basicLine/_example/DualaxisLine.js.map +1 -0
  248. package/dist/esm/basicLine/_example/DualaxisLine.jsx +94 -0
  249. package/dist/esm/basicLine/_example/LabelLine.d.ts +1 -0
  250. package/dist/esm/basicLine/_example/LabelLine.js +83 -0
  251. package/dist/esm/basicLine/_example/LabelLine.js.map +1 -0
  252. package/dist/esm/basicLine/_example/LabelLine.jsx +96 -0
  253. package/dist/esm/basicLine/_example/LegendLeftLine.d.ts +1 -0
  254. package/dist/esm/basicLine/_example/LegendLeftLine.js +135 -0
  255. package/dist/esm/basicLine/_example/LegendLeftLine.js.map +1 -0
  256. package/dist/esm/basicLine/_example/LegendLeftLine.jsx +138 -0
  257. package/dist/esm/basicLine/_example/LegendSelectedLine.d.ts +1 -0
  258. package/dist/esm/basicLine/_example/LegendSelectedLine.js +53 -0
  259. package/dist/esm/basicLine/_example/LegendSelectedLine.js.map +1 -0
  260. package/dist/esm/basicLine/_example/LegendSelectedLine.jsx +56 -0
  261. package/dist/esm/basicLine/_example/MarkLine.d.ts +1 -0
  262. package/dist/esm/basicLine/_example/MarkLine.js +1345 -0
  263. package/dist/esm/basicLine/_example/MarkLine.js.map +1 -0
  264. package/dist/esm/basicLine/_example/MarkLine.jsx +1356 -0
  265. package/dist/esm/basicLine/_example/ScatterBarLine.d.ts +1 -0
  266. package/dist/esm/basicLine/_example/ScatterBarLine.js +50 -0
  267. package/dist/esm/basicLine/_example/ScatterBarLine.js.map +1 -0
  268. package/dist/esm/basicLine/_example/ScatterBarLine.jsx +53 -0
  269. package/dist/esm/basicLine/_example/ScatterLine.d.ts +1 -0
  270. package/dist/esm/basicLine/_example/ScatterLine.js +117 -0
  271. package/dist/esm/basicLine/_example/ScatterLine.js.map +1 -0
  272. package/dist/esm/basicLine/_example/ScatterLine.jsx +130 -0
  273. package/dist/esm/basicLine/_example/SmoothLine.d.ts +1 -0
  274. package/dist/esm/basicLine/_example/SmoothLine.js +27 -0
  275. package/dist/esm/basicLine/_example/SmoothLine.js.map +1 -0
  276. package/dist/esm/basicLine/_example/SmoothLine.jsx +30 -0
  277. package/dist/esm/basicLine/_example/StackAreaLine.d.ts +1 -0
  278. package/dist/esm/basicLine/_example/StackAreaLine.js +54 -0
  279. package/dist/esm/basicLine/_example/StackAreaLine.js.map +1 -0
  280. package/dist/esm/basicLine/_example/StackAreaLine.jsx +57 -0
  281. package/dist/esm/basicLine/_example/StepLine.d.ts +1 -0
  282. package/dist/esm/basicLine/_example/StepLine.js +57 -0
  283. package/dist/esm/basicLine/_example/StepLine.js.map +1 -0
  284. package/dist/esm/basicLine/_example/StepLine.jsx +61 -0
  285. package/dist/esm/basicLine/_example/StepLineArea.d.ts +1 -0
  286. package/dist/esm/basicLine/_example/StepLineArea.js +58 -0
  287. package/dist/esm/basicLine/_example/StepLineArea.js.map +1 -0
  288. package/dist/esm/basicLine/_example/StepLineArea.jsx +62 -0
  289. package/dist/esm/basicLine/_example/ThresholdLine.d.ts +1 -0
  290. package/dist/esm/basicLine/_example/ThresholdLine.js +37 -0
  291. package/dist/esm/basicLine/_example/ThresholdLine.js.map +1 -0
  292. package/dist/esm/basicLine/_example/ThresholdLine.jsx +40 -0
  293. package/dist/esm/basicLine/_example/XaxisHideLine.d.ts +1 -0
  294. package/dist/esm/basicLine/_example/XaxisHideLine.js +86 -0
  295. package/dist/esm/basicLine/_example/XaxisHideLine.js.map +1 -0
  296. package/dist/esm/basicLine/_example/XaxisHideLine.jsx +99 -0
  297. package/dist/esm/basicLine/_example/YaxisSetMaxMinLine.d.ts +1 -0
  298. package/dist/esm/basicLine/_example/YaxisSetMaxMinLine.js +165 -0
  299. package/dist/esm/basicLine/_example/YaxisSetMaxMinLine.js.map +1 -0
  300. package/dist/esm/basicLine/_example/YaxisSetMaxMinLine.jsx +177 -0
  301. package/dist/esm/basicLine/_example/YaxisTitleLine.d.ts +1 -0
  302. package/dist/esm/basicLine/_example/YaxisTitleLine.js +1349 -0
  303. package/dist/esm/basicLine/_example/YaxisTitleLine.js.map +1 -0
  304. package/dist/esm/basicLine/_example/YaxisTitleLine.jsx +1361 -0
  305. package/dist/esm/basicLine/_example/ZoombarLine.d.ts +1 -0
  306. package/dist/esm/basicLine/_example/ZoombarLine.js +25 -0
  307. package/dist/esm/basicLine/_example/ZoombarLine.js.map +1 -0
  308. package/dist/esm/basicLine/_example/ZoombarLine.jsx +26 -0
  309. package/dist/esm/basicLine/demo/basic.md +35 -0
  310. package/dist/esm/basicLine/demo/labelRotate.md +34 -0
  311. package/dist/esm/basicLine/demo/linex.md +33 -0
  312. package/dist/esm/basicLine/index.d.ts +59 -0
  313. package/dist/esm/basicLine/index.js +122 -0
  314. package/dist/esm/basicLine/index.js.map +1 -0
  315. package/dist/esm/basicLine/index.md +30 -0
  316. package/dist/esm/basicLine/style/index.less +0 -0
  317. package/dist/esm/basicMap/README.md +31 -0
  318. package/dist/esm/basicMap/_example/Basic.d.ts +1 -0
  319. package/dist/esm/basicMap/_example/Basic.js +84 -0
  320. package/dist/esm/basicMap/_example/Basic.js.map +1 -0
  321. package/dist/esm/basicMap/_example/Basic.jsx +88 -0
  322. package/dist/esm/basicMap/_example/ChinaMap.d.ts +1 -0
  323. package/dist/esm/basicMap/_example/ChinaMap.js +78 -0
  324. package/dist/esm/basicMap/_example/ChinaMap.js.map +1 -0
  325. package/dist/esm/basicMap/_example/ChinaMap.jsx +81 -0
  326. package/dist/esm/basicMap/_example/ChinaMapEx.d.ts +1 -0
  327. package/dist/esm/basicMap/_example/ChinaMapEx.js +78 -0
  328. package/dist/esm/basicMap/_example/ChinaMapEx.js.map +1 -0
  329. package/dist/esm/basicMap/_example/ChinaMapEx.jsx +92 -0
  330. package/dist/esm/basicMap/_example/ChinaMapNodeLink.d.ts +1 -0
  331. package/dist/esm/basicMap/_example/ChinaMapNodeLink.js +138 -0
  332. package/dist/esm/basicMap/_example/ChinaMapNodeLink.js.map +1 -0
  333. package/dist/esm/basicMap/_example/ChinaMapNodeLink.jsx +183 -0
  334. package/dist/esm/basicMap/_example/WorldMap.d.ts +1 -0
  335. package/dist/esm/basicMap/_example/WorldMap.js +49 -0
  336. package/dist/esm/basicMap/_example/WorldMap.js.map +1 -0
  337. package/dist/esm/basicMap/_example/WorldMap.jsx +53 -0
  338. package/dist/esm/basicMap/index.d.ts +40 -0
  339. package/dist/esm/basicMap/index.js +19 -0
  340. package/dist/esm/basicMap/index.js.map +1 -0
  341. package/dist/esm/basicPie/README.md +35 -0
  342. package/dist/esm/basicPie/_example/Basic.d.ts +1 -0
  343. package/dist/esm/basicPie/_example/Basic.js +40 -0
  344. package/dist/esm/basicPie/_example/Basic.js.map +1 -0
  345. package/dist/esm/basicPie/_example/Basic.jsx +43 -0
  346. package/dist/esm/basicPie/_example/DonutPic.d.ts +1 -0
  347. package/dist/esm/basicPie/_example/DonutPic.js +39 -0
  348. package/dist/esm/basicPie/_example/DonutPic.js.map +1 -0
  349. package/dist/esm/basicPie/_example/DonutPic.jsx +42 -0
  350. package/dist/esm/basicPie/_example/LabelPic.d.ts +1 -0
  351. package/dist/esm/basicPie/_example/LabelPic.js +25 -0
  352. package/dist/esm/basicPie/_example/LabelPic.js.map +1 -0
  353. package/dist/esm/basicPie/_example/LabelPic.jsx +27 -0
  354. package/dist/esm/basicPie/_example/RosePic.d.ts +1 -0
  355. package/dist/esm/basicPie/_example/RosePic.js +56 -0
  356. package/dist/esm/basicPie/_example/RosePic.js.map +1 -0
  357. package/dist/esm/basicPie/_example/RosePic.jsx +65 -0
  358. package/dist/esm/basicPie/_example/SpaceDonutPic.d.ts +1 -0
  359. package/dist/esm/basicPie/_example/SpaceDonutPic.js +51 -0
  360. package/dist/esm/basicPie/_example/SpaceDonutPic.js.map +1 -0
  361. package/dist/esm/basicPie/_example/SpaceDonutPic.jsx +59 -0
  362. package/dist/esm/basicPie/_example/SpacePic.d.ts +1 -0
  363. package/dist/esm/basicPie/_example/SpacePic.js +40 -0
  364. package/dist/esm/basicPie/_example/SpacePic.js.map +1 -0
  365. package/dist/esm/basicPie/_example/SpacePic.jsx +43 -0
  366. package/dist/esm/basicPie/demo/basic.md +31 -0
  367. package/dist/esm/basicPie/index.d.ts +47 -0
  368. package/dist/esm/basicPie/index.js +34 -0
  369. package/dist/esm/basicPie/index.js.map +1 -0
  370. package/dist/esm/basicPie/index.md +27 -0
  371. package/dist/esm/basicPie/style/index.less +0 -0
  372. package/dist/esm/basicSankey/README.md +12 -0
  373. package/dist/esm/basicSankey/_example/Basic.d.ts +1 -0
  374. package/dist/esm/basicSankey/_example/Basic.js +75 -0
  375. package/dist/esm/basicSankey/_example/Basic.js.map +1 -0
  376. package/dist/esm/basicSankey/_example/Basic.jsx +79 -0
  377. package/dist/esm/basicSankey/demo/basic.md +88 -0
  378. package/dist/esm/basicSankey/index.d.ts +19 -0
  379. package/dist/esm/basicSankey/index.js +27 -0
  380. package/dist/esm/basicSankey/index.js.map +1 -0
  381. package/dist/esm/basicSankey/index.md +21 -0
  382. package/dist/esm/basicSankey/style/index.less +0 -0
  383. package/dist/esm/basicStat/README.md +23 -0
  384. package/dist/esm/basicStat/_example/Basic.d.ts +1 -0
  385. package/dist/esm/basicStat/_example/Basic.js +399 -0
  386. package/dist/esm/basicStat/_example/Basic.js.map +1 -0
  387. package/dist/esm/basicStat/_example/Basic.jsx +402 -0
  388. package/dist/esm/basicStat/_example/LineStat.d.ts +1 -0
  389. package/dist/esm/basicStat/_example/LineStat.js +399 -0
  390. package/dist/esm/basicStat/_example/LineStat.js.map +1 -0
  391. package/dist/esm/basicStat/_example/LineStat.jsx +402 -0
  392. package/dist/esm/basicStat/_example/ThresholdStat.d.ts +1 -0
  393. package/dist/esm/basicStat/_example/ThresholdStat.js +399 -0
  394. package/dist/esm/basicStat/_example/ThresholdStat.js.map +1 -0
  395. package/dist/esm/basicStat/_example/ThresholdStat.jsx +402 -0
  396. package/dist/esm/basicStat/index.d.ts +44 -0
  397. package/dist/esm/basicStat/index.js +85 -0
  398. package/dist/esm/basicStat/index.js.map +1 -0
  399. package/dist/esm/basicTopo/README.md +39 -0
  400. package/dist/esm/basicTopo/_example/Basic.d.ts +1 -0
  401. package/dist/esm/basicTopo/_example/Basic.js +124 -0
  402. package/dist/esm/basicTopo/_example/Basic.js.map +1 -0
  403. package/dist/esm/basicTopo/_example/Basic.jsx +132 -0
  404. package/dist/esm/basicTopo/_example/GroupLinkTopo.d.ts +1 -0
  405. package/dist/esm/basicTopo/_example/GroupLinkTopo.js +875 -0
  406. package/dist/esm/basicTopo/_example/GroupLinkTopo.js.map +1 -0
  407. package/dist/esm/basicTopo/_example/GroupLinkTopo.jsx +902 -0
  408. package/dist/esm/basicTopo/_example/GroupTopo.d.ts +1 -0
  409. package/dist/esm/basicTopo/_example/GroupTopo.js +193 -0
  410. package/dist/esm/basicTopo/_example/GroupTopo.js.map +1 -0
  411. package/dist/esm/basicTopo/_example/GroupTopo.jsx +221 -0
  412. package/dist/esm/basicTopo/_example/LinkLabel.d.ts +1 -0
  413. package/dist/esm/basicTopo/_example/LinkLabel.js +109 -0
  414. package/dist/esm/basicTopo/_example/LinkLabel.js.map +1 -0
  415. package/dist/esm/basicTopo/_example/LinkLabel.jsx +117 -0
  416. package/dist/esm/basicTopo/_example/NoIconTopo.d.ts +1 -0
  417. package/dist/esm/basicTopo/_example/NoIconTopo.js +203 -0
  418. package/dist/esm/basicTopo/_example/NoIconTopo.js.map +1 -0
  419. package/dist/esm/basicTopo/_example/NoIconTopo.jsx +235 -0
  420. package/dist/esm/basicTopo/_example/PerformanceTest.d.ts +1 -0
  421. package/dist/esm/basicTopo/_example/PerformanceTest.js +155 -0
  422. package/dist/esm/basicTopo/_example/PerformanceTest.js.map +1 -0
  423. package/dist/esm/basicTopo/_example/PerformanceTest.jsx +171 -0
  424. package/dist/esm/basicTopo/_example/VisioLinkTopo.d.ts +1 -0
  425. package/dist/esm/basicTopo/_example/VisioLinkTopo.js +209 -0
  426. package/dist/esm/basicTopo/_example/VisioLinkTopo.js.map +1 -0
  427. package/dist/esm/basicTopo/_example/VisioLinkTopo.jsx +234 -0
  428. package/dist/esm/basicTopo/demo/basic.md +48 -0
  429. package/dist/esm/basicTopo/demo/labelRotate.md +35 -0
  430. package/dist/esm/basicTopo/index.d.ts +40 -0
  431. package/dist/esm/basicTopo/index.js +24 -0
  432. package/dist/esm/basicTopo/index.js.map +1 -0
  433. package/dist/esm/basicTopo/index.md +25 -0
  434. package/dist/esm/basicTopo/style/index.less +0 -0
  435. package/dist/esm/basicTreeMap/basicTreeMap.d.ts +19 -0
  436. package/dist/esm/basicTreeMap/basicTreeMap.js +25 -0
  437. package/dist/esm/basicTreeMap/basicTreeMap.js.map +1 -0
  438. package/dist/esm/common/chart.d.ts +23 -0
  439. package/dist/esm/common/chart.js +56 -0
  440. package/dist/esm/common/chart.js.map +1 -0
  441. package/dist/esm/common/compareObjWithoutFunction.d.ts +1 -0
  442. package/dist/esm/common/compareObjWithoutFunction.js +34 -0
  443. package/dist/esm/common/compareObjWithoutFunction.js.map +1 -0
  444. package/dist/esm/common/functionChart.d.ts +7 -0
  445. package/dist/esm/common/functionChart.js +37 -0
  446. package/dist/esm/common/functionChart.js.map +1 -0
  447. package/dist/esm/common/optionsHelp.d.ts +101 -0
  448. package/dist/esm/common/optionsHelp.js +464 -0
  449. package/dist/esm/common/optionsHelp.js.map +1 -0
  450. package/dist/esm/diskPart/README.md +19 -0
  451. package/dist/esm/diskPart/_example/MultipleDiskPart.d.ts +1 -0
  452. package/dist/esm/diskPart/_example/MultipleDiskPart.js +43 -0
  453. package/dist/esm/diskPart/_example/MultipleDiskPart.js.map +1 -0
  454. package/dist/esm/diskPart/_example/MultipleDiskPart.jsx +46 -0
  455. package/dist/esm/diskPart/_example/SingleDiskPart.d.ts +1 -0
  456. package/dist/esm/diskPart/_example/SingleDiskPart.js +43 -0
  457. package/dist/esm/diskPart/_example/SingleDiskPart.js.map +1 -0
  458. package/dist/esm/diskPart/_example/SingleDiskPart.jsx +46 -0
  459. package/dist/esm/diskPart/index.d.ts +43 -0
  460. package/dist/esm/diskPart/index.js +25 -0
  461. package/dist/esm/diskPart/index.js.map +1 -0
  462. package/dist/esm/index.d.ts +16 -0
  463. package/dist/esm/index.js +17 -0
  464. package/dist/esm/index.js.map +1 -0
  465. package/dist/esm/liquidFillChart/README.md +19 -0
  466. package/dist/esm/liquidFillChart/_example/Basic.d.ts +1 -0
  467. package/dist/esm/liquidFillChart/_example/Basic.js +53 -0
  468. package/dist/esm/liquidFillChart/_example/Basic.js.map +1 -0
  469. package/dist/esm/liquidFillChart/_example/Basic.jsx +56 -0
  470. package/dist/esm/liquidFillChart/_example/Basicx.d.ts +1 -0
  471. package/dist/esm/liquidFillChart/_example/Basicx.js +73 -0
  472. package/dist/esm/liquidFillChart/_example/Basicx.js.map +1 -0
  473. package/dist/esm/liquidFillChart/_example/Basicx.jsx +78 -0
  474. package/dist/esm/liquidFillChart/demo/basic.md +62 -0
  475. package/dist/esm/liquidFillChart/demo/basicx.md +82 -0
  476. package/dist/esm/liquidFillChart/index.d.ts +32 -0
  477. package/dist/esm/liquidFillChart/index.js +28 -0
  478. package/dist/esm/liquidFillChart/index.js.map +1 -0
  479. package/dist/esm/liquidFillChart/index.md +27 -0
  480. package/dist/esm/liquidFillChart/style/index.less +0 -0
  481. package/dist/esm/proxy.d.ts +2 -0
  482. package/dist/esm/proxy.js +3 -0
  483. package/dist/esm/proxy.js.map +1 -0
  484. package/dist/esm/radarChart/README.md +18 -0
  485. package/dist/esm/radarChart/_example/CommonRadarChart.d.ts +1 -0
  486. package/dist/esm/radarChart/_example/CommonRadarChart.js +44 -0
  487. package/dist/esm/radarChart/_example/CommonRadarChart.js.map +1 -0
  488. package/dist/esm/radarChart/_example/CommonRadarChart.jsx +48 -0
  489. package/dist/esm/radarChart/_example/FilledRadarChart.d.ts +1 -0
  490. package/dist/esm/radarChart/_example/FilledRadarChart.js +73 -0
  491. package/dist/esm/radarChart/_example/FilledRadarChart.js.map +1 -0
  492. package/dist/esm/radarChart/_example/FilledRadarChart.jsx +77 -0
  493. package/dist/esm/radarChart/demo/basic.md +53 -0
  494. package/dist/esm/radarChart/demo/basicx.md +83 -0
  495. package/dist/esm/radarChart/index.d.ts +37 -0
  496. package/dist/esm/radarChart/index.js +26 -0
  497. package/dist/esm/radarChart/index.js.map +1 -0
  498. package/dist/esm/radarChart/index.md +28 -0
  499. package/dist/esm/radarChart/style/index.less +0 -0
  500. package/dist/esm/wordcloud/README.md +25 -0
  501. package/dist/esm/wordcloud/_example/Basic.d.ts +1 -0
  502. package/dist/esm/wordcloud/_example/Basic.js +219 -0
  503. package/dist/esm/wordcloud/_example/Basic.js.map +1 -0
  504. package/dist/esm/wordcloud/_example/Basic.jsx +222 -0
  505. package/dist/esm/wordcloud/_example/CenterBasic.d.ts +1 -0
  506. package/dist/esm/wordcloud/_example/CenterBasic.js +220 -0
  507. package/dist/esm/wordcloud/_example/CenterBasic.js.map +1 -0
  508. package/dist/esm/wordcloud/_example/CenterBasic.jsx +223 -0
  509. package/dist/esm/wordcloud/_example/ColorsBasic.d.ts +1 -0
  510. package/dist/esm/wordcloud/_example/ColorsBasic.js +220 -0
  511. package/dist/esm/wordcloud/_example/ColorsBasic.js.map +1 -0
  512. package/dist/esm/wordcloud/_example/ColorsBasic.jsx +224 -0
  513. package/dist/esm/wordcloud/demo/basic.md +39 -0
  514. package/dist/esm/wordcloud/index.d.ts +26 -0
  515. package/dist/esm/wordcloud/index.js +26 -0
  516. package/dist/esm/wordcloud/index.js.map +1 -0
  517. package/dist/esm/wordcloud/index.md +22 -0
  518. package/dist/esm/wordcloud/style/index.less +0 -0
  519. package/dist/tsconfig.tsbuildinfo +1 -0
  520. package/package.json +84 -0
@@ -0,0 +1,875 @@
1
+ import { __assign, __read } from "tslib";
2
+ import React, { useRef, useMemo, useState } from 'react';
3
+ import { BasicTopo } from '@tencent/tcharts-component';
4
+ import { Button, Alert } from '@tencent/tea-component';
5
+ export default function GroupLinkTopo() {
6
+ var chartDom = useRef(null);
7
+ var _a = __read(useState(false), 2), showMsg = _a[0], setShowMsg = _a[1];
8
+ var options = {
9
+ grid: { left: 300, right: 0, bottom: 0, top: 300, containLabel: true },
10
+ hooks: {
11
+ locationChanged: function (pipelines) {
12
+ console.log(pipelines);
13
+ },
14
+ },
15
+ tooltip: {
16
+ trigger: 'item',
17
+ formatter: function (items) {
18
+ var content = "\u8282\u70B9ID: ".concat(items.id, "<br />");
19
+ return content;
20
+ },
21
+ },
22
+ chartRef: function (chart) {
23
+ chartDom.current = chart;
24
+ chart.network.registerImages([
25
+ {
26
+ id: 'cdn',
27
+ path: 'M851.6 661.5l-3.1-306.7c-0.1-6-0.9-11.8-2.3-17.4l-0.1-8.7c-0.1-8.9-4.9-17.1-12.7-21.5l-7.6-4.3c-4.2-4-9-7.5-14.1-10.4L544.5 141.8c-5.2-2.9-10.6-5.2-16.3-6.7l-8.4-4.7c-7.8-4.4-17.3-4.3-25 0.3l-10 5.9c-4.4 1.6-8.7 3.5-12.9 6L208 298.5c-4.1 2.4-7.9 5.2-11.4 8.4l-11.5 6.8c-7.7 4.5-12.4 12.8-12.3 21.8l0.2 16.5c-0.4 3.2-0.6 6.4-0.6 9.6l3.1 306.7c0 3.2 0.3 6.5 0.7 9.6l0.2 17.4c0.1 8.9 4.9 17.1 12.7 21.5l15.1 8.5c2.6 1.9 5.3 3.7 8.1 5.3l267.1 150.7c2.8 1.6 5.8 3 8.7 4.2l14.4 8.1c3.8 2.2 8 3.2 12.3 3.2 4.4 0 8.8-1.2 12.7-3.5l11.5-6.8c4.4-1.6 8.8-3.5 12.9-6l264.1-156c4.1-2.4 8-5.3 11.5-8.4l9.9-5.9c7.7-4.5 12.4-12.8 12.3-21.8l-0.1-9.6c1.4-5.5 2.1-11.3 2-17.3z m-55 14.9L519.1 840.3c-3.3 0.6-6.8 0.4-10.1-0.5L232.6 684c-3.1-2.9-5.4-6.7-6.4-10.9L223 355.8c0.8-3.3 2.3-6.5 4.5-9.1l277.4-163.9c1.3-0.2 2.7-0.4 4-0.4 0.5 0 1.1 0 1.6 0.1l283.8 160.1c0.7 1 1.4 2.1 1.9 3.2l3.3 325.8c-0.7 1.7-1.8 3.3-2.9 4.8zM681.7 426.2c-0.1-8.9-4.9-17.1-12.7-21.5L472.4 293.8c-12-6.8-27.3-2.5-34.1 9.5s-2.5 27.3 9.5 34.1l184 103.8 2.1 211.2c0.1 13.7 11.3 24.7 25 24.7h0.3c13.8-0.1 24.9-11.4 24.7-25.2l-2.2-225.7zM565.9 493.6c-0.1-8.9-4.9-17.1-12.7-21.5L360.8 363.6c-4.4-3.7-10.1-5.9-16.3-5.8-13.8 0.1-24.9 11.4-24.7 25.2l2.3 225.7c0.1 8.9 4.9 17.1 12.7 21.5L531.2 741c0.1 0 0.1 0.1 0.2 0.1 3.9 2.2 8.1 3.2 12.3 3.2 8.7 0 17.2-4.6 21.8-12.7 3.1-5.5 3.9-11.7 2.7-17.4l-2.3-220.6z m-195.7-67.3L516 508.5l1.7 167.5-145.8-82.2-1.7-167.5z',
28
+ color: '#8a8a8a',
29
+ width: 24,
30
+ height: 24,
31
+ },
32
+ {
33
+ id: 'subnet',
34
+ path: 'M659.2 67.648a64 64 0 0 1 64 64V302.08h167.936a64 64 0 0 1 64 64v526.272a64 64 0 0 1-64 64H364.8a64 64 0 0 1-64-64V721.92H132.8a64 64 0 0 1-64-64V131.648a64 64 0 0 1 64-64H659.2z m104.384 361.92h-40.448l0.064 228.352a64 64 0 0 1-64 64H428.288v42.88a64 64 0 0 0 56.576 63.616l7.488 0.448h271.232a64 64 0 0 0 63.552-56.576l0.448-7.424V493.568a64 64 0 0 0-56.512-63.552l-7.488-0.448z',
35
+ color: '#1296db',
36
+ width: 24,
37
+ height: 24,
38
+ },
39
+ {
40
+ id: 'attachment',
41
+ path: 'M939.52 331.38A465.39 465.39 0 1 0 976 512a462.4 462.4 0 0 0-36.48-180.62zM512 896c-211.74 0-384-172.26-384-384a382.29 382.29 0 0 1 90.31-247.12l540.81 540.81A382.29 382.29 0 0 1 512 896z m302.65-147.92L275.92 209.35A382.1 382.1 0 0 1 512 128c211.74 0 384 172.26 384 384a382.1 382.1 0 0 1-81.35 236.08z',
42
+ color: '#d81e06',
43
+ width: 12,
44
+ height: 12,
45
+ },
46
+ ]);
47
+ chart.network.add([
48
+ {
49
+ group: 'groups',
50
+ data: {
51
+ id: 'oc_union',
52
+ name: 'OC层',
53
+ collapsed: false,
54
+ },
55
+ style: {
56
+ image: 'subnet',
57
+ width: 1000,
58
+ height: 100,
59
+ border: 3,
60
+ color: '#BBBBBB',
61
+ lineDash: [2, 2],
62
+ },
63
+ },
64
+ {
65
+ group: 'groups',
66
+ data: {
67
+ id: 'soc_union',
68
+ name: '中间源层',
69
+ collapsed: false,
70
+ },
71
+ style: {
72
+ image: 'subnet',
73
+ width: 1000,
74
+ height: 100,
75
+ border: 3,
76
+ color: '#BBBBBB',
77
+ lineDash: [2, 2],
78
+ },
79
+ },
80
+ {
81
+ group: 'groups',
82
+ data: {
83
+ id: 'final_union',
84
+ name: '最终回源层',
85
+ collapsed: false,
86
+ },
87
+ style: {
88
+ image: 'subnet',
89
+ width: 1000,
90
+ height: 100,
91
+ border: 3,
92
+ color: '#BBBBBB',
93
+ lineDash: [2, 2],
94
+ },
95
+ },
96
+ {
97
+ group: 'groups',
98
+ data: {
99
+ id: 'domain',
100
+ name: '客户源站',
101
+ collapsed: false,
102
+ },
103
+ style: {
104
+ image: 'subnet',
105
+ width: 1000,
106
+ height: 100,
107
+ border: 3,
108
+ color: '#BBBBBB',
109
+ lineDash: [2, 2],
110
+ },
111
+ },
112
+ {
113
+ group: 'groups',
114
+ data: {
115
+ id: 'no_path',
116
+ name: 'no_path',
117
+ collapsed: false,
118
+ },
119
+ style: {
120
+ image: 'subnet',
121
+ width: 1000,
122
+ height: 100,
123
+ border: 3,
124
+ color: '#BBBBBB',
125
+ lineDash: [2, 2],
126
+ },
127
+ },
128
+ {
129
+ group: 'nodes',
130
+ data: {
131
+ id: '81',
132
+ parentId: 'soc_union',
133
+ name: '[xx云][点播DC中间源VMid1]',
134
+ },
135
+ position: {
136
+ y: 520,
137
+ x: 350,
138
+ },
139
+ style: {
140
+ width: 60,
141
+ height: 60,
142
+ image: 'cdn',
143
+ imageStyle: 'auto',
144
+ color: '#2fad53',
145
+ },
146
+ },
147
+ {
148
+ group: 'nodes',
149
+ data: {
150
+ id: '87',
151
+ parentId: 'oc_union',
152
+ name: '[xx云][点播快手平台]',
153
+ },
154
+ position: {
155
+ y: 100,
156
+ x: 350,
157
+ },
158
+ style: {
159
+ width: 60,
160
+ height: 60,
161
+ image: 'cdn',
162
+ imageStyle: 'auto',
163
+ color: '#006eff',
164
+ },
165
+ },
166
+ {
167
+ group: 'nodes',
168
+ data: {
169
+ id: '98',
170
+ parentId: 'final_union',
171
+ name: '[xx云][点播DC三级源L3V1]',
172
+ },
173
+ position: {
174
+ y: 840,
175
+ x: 550,
176
+ },
177
+ style: {
178
+ width: 60,
179
+ height: 60,
180
+ image: 'cdn',
181
+ imageStyle: 'auto',
182
+ color: '#D2514C',
183
+ },
184
+ },
185
+ {
186
+ group: 'nodes',
187
+ data: {
188
+ id: '117',
189
+ parentId: 'final_union',
190
+ name: '[xx云][点播DC三级源L3V2]',
191
+ },
192
+ position: {
193
+ y: 840,
194
+ x: 350,
195
+ },
196
+ style: {
197
+ width: 60,
198
+ height: 60,
199
+ image: 'cdn',
200
+ imageStyle: 'auto',
201
+ color: '#D2514C',
202
+ },
203
+ },
204
+ {
205
+ group: 'nodes',
206
+ data: {
207
+ id: '95',
208
+ parentId: 'oc_union',
209
+ name: '[xx云][长视频存储]',
210
+ },
211
+ position: {
212
+ y: 250,
213
+ x: 150,
214
+ },
215
+ style: {
216
+ width: 60,
217
+ height: 60,
218
+ image: 'cdn',
219
+ imageStyle: 'auto',
220
+ color: '#006eff',
221
+ },
222
+ },
223
+ {
224
+ group: 'nodes',
225
+ data: {
226
+ id: '40',
227
+ parentId: 'oc_union',
228
+ name: '[xx云][短视频存储]',
229
+ },
230
+ position: {
231
+ y: 250,
232
+ x: 350,
233
+ },
234
+ style: {
235
+ width: 60,
236
+ height: 60,
237
+ image: 'cdn',
238
+ imageStyle: 'auto',
239
+ color: '#006eff',
240
+ },
241
+ },
242
+ {
243
+ group: 'nodes',
244
+ data: {
245
+ id: '17',
246
+ parentId: 'soc_union',
247
+ name: '[xx云][点播三通接入3]',
248
+ },
249
+ position: {
250
+ y: 520,
251
+ x: 150,
252
+ },
253
+ style: {
254
+ width: 60,
255
+ height: 60,
256
+ image: 'cdn',
257
+ imageStyle: 'auto',
258
+ color: '#2fad53',
259
+ },
260
+ },
261
+ {
262
+ group: 'nodes',
263
+ data: {
264
+ id: '18',
265
+ parentId: 'soc_union',
266
+ name: '[xx云][点播三通存储3]',
267
+ },
268
+ position: {
269
+ y: 670,
270
+ x: 150,
271
+ },
272
+ style: {
273
+ width: 60,
274
+ height: 60,
275
+ image: 'cdn',
276
+ imageStyle: 'auto',
277
+ color: '#2fad53',
278
+ },
279
+ },
280
+ {
281
+ group: 'nodes',
282
+ data: {
283
+ id: '19',
284
+ parentId: 'final_union',
285
+ name: '[xx云][点播三通回源3]',
286
+ },
287
+ position: {
288
+ y: 840,
289
+ x: 150,
290
+ },
291
+ style: {
292
+ width: 60,
293
+ height: 60,
294
+ image: 'cdn',
295
+ imageStyle: 'auto',
296
+ color: '#D2514C',
297
+ },
298
+ },
299
+ {
300
+ group: 'nodes',
301
+ data: {
302
+ id: '42',
303
+ parentId: 'oc_union',
304
+ name: '[xx云][点播快手乐高]',
305
+ },
306
+ position: {
307
+ y: 100,
308
+ x: 150,
309
+ },
310
+ style: {
311
+ width: 60,
312
+ height: 60,
313
+ image: 'cdn',
314
+ imageStyle: 'auto',
315
+ color: '#006eff',
316
+ },
317
+ },
318
+ {
319
+ group: 'nodes',
320
+ data: {
321
+ id: 'domain--test1.kwai-ap-beijing.myqcloud.com',
322
+ parentId: 'domain',
323
+ name: 'test1.kwai-ap-beijing.myqcloud.com',
324
+ },
325
+ position: {
326
+ y: 1110,
327
+ x: 150,
328
+ },
329
+ style: {
330
+ width: 60,
331
+ height: 60,
332
+ image: 'cdn',
333
+ imageStyle: 'auto',
334
+ color: '#F0A139',
335
+ },
336
+ },
337
+ {
338
+ group: 'nodes',
339
+ data: {
340
+ id: 'domain--test2-cdn.ap-beijing.myqcloud.com',
341
+ parentId: 'domain',
342
+ name: 'domain--test-cdn.ap-beijing.myqcloud.com',
343
+ },
344
+ position: {
345
+ y: 1110,
346
+ x: 350,
347
+ },
348
+ style: {
349
+ width: 60,
350
+ height: 60,
351
+ image: 'cdn',
352
+ imageStyle: 'auto',
353
+ color: '#F0A139',
354
+ },
355
+ },
356
+ {
357
+ group: 'nodes',
358
+ data: {
359
+ id: 'domain--gifshowbak-test108.cos.kuaishou-ap-beijing.myqcloud.com',
360
+ parentId: 'domain',
361
+ name: 'gifshowbak-test.cos.kuaishou-ap-beijing.myqcloud.com',
362
+ },
363
+ position: {
364
+ y: 1110,
365
+ x: 550,
366
+ },
367
+ style: {
368
+ width: 60,
369
+ height: 60,
370
+ image: 'cdn',
371
+ imageStyle: 'auto',
372
+ color: '#F0A139',
373
+ },
374
+ },
375
+ {
376
+ group: 'edges',
377
+ data: {
378
+ id: '81--117--target',
379
+ source: '81',
380
+ target: '117',
381
+ name: '回源',
382
+ },
383
+ style: {
384
+ color: '#AAAAAA',
385
+ width: 1,
386
+ },
387
+ },
388
+ {
389
+ group: 'edges',
390
+ data: {
391
+ id: '95--81--target',
392
+ source: '95',
393
+ target: '81',
394
+ name: '回源',
395
+ },
396
+ style: {
397
+ color: '#AAAAAA',
398
+ width: 1,
399
+ },
400
+ },
401
+ {
402
+ group: 'edges',
403
+ data: {
404
+ id: '95--17--target',
405
+ source: '95',
406
+ target: '17',
407
+ name: '回源',
408
+ },
409
+ style: {
410
+ color: '#AAAAAA',
411
+ width: 1,
412
+ },
413
+ },
414
+ {
415
+ group: 'edges',
416
+ data: {
417
+ id: '40--81--target',
418
+ source: '40',
419
+ target: '81',
420
+ name: '回源',
421
+ },
422
+ style: {
423
+ color: '#AAAAAA',
424
+ width: 1,
425
+ },
426
+ },
427
+ {
428
+ group: 'edges',
429
+ data: {
430
+ id: '40--17--target',
431
+ source: '40',
432
+ target: '17',
433
+ name: '回源',
434
+ },
435
+ style: {
436
+ color: '#AAAAAA',
437
+ width: 1,
438
+ },
439
+ },
440
+ {
441
+ group: 'edges',
442
+ data: {
443
+ id: '19--gifshowbak-test108.cos.kuaishou-ap-beijing.myqcloud.com--target',
444
+ source: '19',
445
+ target: 'domain--gifshowbak-test108.cos.kuaishou-ap-beijing.myqcloud.com',
446
+ name: '回源',
447
+ },
448
+ style: {
449
+ color: '#AAAAAA',
450
+ width: 1,
451
+ },
452
+ },
453
+ {
454
+ group: 'edges',
455
+ data: {
456
+ id: '117--test.kwai-ap-beijing.myqcloud.com--target',
457
+ source: '117',
458
+ target: 'domain--test1.kwai-ap-beijing.myqcloud.com',
459
+ name: '回源',
460
+ },
461
+ style: {
462
+ color: '#AAAAAA',
463
+ width: 1,
464
+ },
465
+ },
466
+ {
467
+ group: 'edges',
468
+ data: {
469
+ id: '98--test1.kwai-ap-beijing.myqcloud.com--target',
470
+ source: '98',
471
+ target: 'domain--test1.kwai-ap-beijing.myqcloud.com',
472
+ name: '回源',
473
+ },
474
+ style: {
475
+ color: '#AAAAAA',
476
+ width: 1,
477
+ },
478
+ },
479
+ {
480
+ group: 'edges',
481
+ data: {
482
+ id: '87--95--group_target',
483
+ source: '87',
484
+ target: '95',
485
+ name: '分组回源',
486
+ },
487
+ style: {
488
+ color: '#AAAAAA',
489
+ width: 1,
490
+ },
491
+ },
492
+ {
493
+ group: 'edges',
494
+ data: {
495
+ id: '87--40--group_target',
496
+ source: '87',
497
+ target: '40',
498
+ name: '分组回源',
499
+ },
500
+ style: {
501
+ color: '#AAAAAA',
502
+ width: 1,
503
+ },
504
+ },
505
+ {
506
+ group: 'edges',
507
+ data: {
508
+ id: '17--18--group_target',
509
+ source: '17',
510
+ target: '18',
511
+ name: '分组回源',
512
+ },
513
+ style: {
514
+ color: '#AAAAAA',
515
+ width: 1,
516
+ },
517
+ },
518
+ {
519
+ group: 'edges',
520
+ data: {
521
+ id: '18--19--group_target',
522
+ source: '18',
523
+ target: '19',
524
+ name: '分组回源',
525
+ },
526
+ style: {
527
+ color: '#AAAAAA',
528
+ width: 1,
529
+ },
530
+ },
531
+ {
532
+ group: 'edges',
533
+ data: {
534
+ id: '42--95--group_target',
535
+ source: '42',
536
+ target: '95',
537
+ name: '分组回源',
538
+ },
539
+ style: {
540
+ color: '#AAAAAA',
541
+ width: 1,
542
+ },
543
+ },
544
+ {
545
+ group: 'edges',
546
+ data: {
547
+ id: '42--40--group_target',
548
+ source: '42',
549
+ target: '40',
550
+ name: '分组回源',
551
+ },
552
+ style: {
553
+ color: '#AAAAAA',
554
+ width: 1,
555
+ },
556
+ },
557
+ {
558
+ group: 'edges',
559
+ data: {
560
+ id: '81--98--back_target',
561
+ source: '81',
562
+ target: '98',
563
+ name: '备份回源',
564
+ },
565
+ style: {
566
+ color: '#AAAAAA',
567
+ width: 1,
568
+ lineDash: [2, 2],
569
+ },
570
+ },
571
+ {
572
+ group: 'edges',
573
+ data: {
574
+ id: '87--81--back_target',
575
+ source: '87',
576
+ target: '81',
577
+ name: '备份回源',
578
+ },
579
+ style: {
580
+ color: '#AAAAAA',
581
+ width: 1,
582
+ lineDash: [2, 2],
583
+ },
584
+ },
585
+ {
586
+ group: 'edges',
587
+ data: {
588
+ id: '87--17--back_target',
589
+ source: '87',
590
+ target: '17',
591
+ name: '备份回源',
592
+ },
593
+ style: {
594
+ color: '#AAAAAA',
595
+ width: 1,
596
+ lineDash: [2, 2],
597
+ },
598
+ },
599
+ {
600
+ group: 'edges',
601
+ data: {
602
+ id: '95--81--back_target',
603
+ source: '95',
604
+ target: '81',
605
+ name: '备份回源',
606
+ },
607
+ style: {
608
+ color: '#AAAAAA',
609
+ width: 1,
610
+ lineDash: [2, 2],
611
+ },
612
+ },
613
+ {
614
+ group: 'edges',
615
+ data: {
616
+ id: '95--17--back_target',
617
+ source: '95',
618
+ target: '17',
619
+ name: '备份回源',
620
+ },
621
+ style: {
622
+ color: '#AAAAAA',
623
+ width: 1,
624
+ lineDash: [2, 2],
625
+ },
626
+ },
627
+ {
628
+ group: 'edges',
629
+ data: {
630
+ id: '40--81--back_target',
631
+ source: '40',
632
+ target: '81',
633
+ name: '备份回源',
634
+ },
635
+ style: {
636
+ color: '#AAAAAA',
637
+ width: 1,
638
+ lineDash: [2, 2],
639
+ },
640
+ },
641
+ {
642
+ group: 'edges',
643
+ data: {
644
+ id: '40--17--back_target',
645
+ source: '40',
646
+ target: '17',
647
+ name: '备份回源',
648
+ },
649
+ style: {
650
+ color: '#AAAAAA',
651
+ width: 1,
652
+ lineDash: [2, 2],
653
+ },
654
+ },
655
+ {
656
+ group: 'edges',
657
+ data: {
658
+ id: '42--81--back_target',
659
+ source: '42',
660
+ target: '81',
661
+ name: '备份回源',
662
+ },
663
+ style: {
664
+ color: '#AAAAAA',
665
+ width: 1,
666
+ lineDash: [2, 2],
667
+ },
668
+ },
669
+ {
670
+ group: 'edges',
671
+ data: {
672
+ id: '42--17--back_target',
673
+ source: '42',
674
+ target: '17',
675
+ name: '备份回源',
676
+ },
677
+ style: {
678
+ color: '#AAAAAA',
679
+ width: 1,
680
+ lineDash: [2, 2],
681
+ },
682
+ },
683
+ {
684
+ group: 'edges',
685
+ data: {
686
+ id: '19--test1.kwai-ap-beijing.myqcloud.com--back_target',
687
+ source: '19',
688
+ target: 'domain--test1.kwai-ap-beijing.myqcloud.com',
689
+ name: '备份回源',
690
+ },
691
+ style: {
692
+ color: '#AAAAAA',
693
+ width: 1,
694
+ lineDash: [2, 2],
695
+ },
696
+ },
697
+ {
698
+ group: 'edges',
699
+ data: {
700
+ id: '117--gifshowbak-test108.cos-cdn.ap-beijing.myqcloud.com--back_target',
701
+ source: '117',
702
+ target: 'domain--test2-cdn.ap-beijing.myqcloud.com',
703
+ name: '备份回源',
704
+ },
705
+ style: {
706
+ color: '#AAAAAA',
707
+ width: 1,
708
+ lineDash: [2, 2],
709
+ },
710
+ },
711
+ {
712
+ group: 'edges',
713
+ data: {
714
+ id: '98--gifshowbak-test108.cos-cdn.ap-beijing.myqcloud.com--back_target',
715
+ source: '98',
716
+ target: 'domain--test2-cdn.ap-beijing.myqcloud.com',
717
+ name: '备份回源',
718
+ },
719
+ style: {
720
+ color: '#AAAAAA',
721
+ width: 1,
722
+ lineDash: [2, 2],
723
+ },
724
+ },
725
+ {
726
+ group: 'edges',
727
+ data: {
728
+ id: '87--81--target',
729
+ source: '87',
730
+ target: '81',
731
+ name: '回源',
732
+ },
733
+ style: {
734
+ color: '#49a9ee',
735
+ width: 1,
736
+ lineDash: [2, 2],
737
+ },
738
+ },
739
+ {
740
+ group: 'edges',
741
+ data: {
742
+ id: '87--17--target',
743
+ source: '87',
744
+ target: '17',
745
+ name: '回源',
746
+ },
747
+ style: {
748
+ color: '#49a9ee',
749
+ width: 1,
750
+ lineDash: [2, 2],
751
+ },
752
+ },
753
+ {
754
+ group: 'edges',
755
+ data: {
756
+ id: '17--81--target',
757
+ source: '17',
758
+ target: '81',
759
+ name: '回源',
760
+ },
761
+ style: {
762
+ color: '#49a9ee',
763
+ width: 1,
764
+ lineDash: [2, 2],
765
+ },
766
+ },
767
+ {
768
+ group: 'edges',
769
+ data: {
770
+ id: '18--81--target',
771
+ source: '18',
772
+ target: '81',
773
+ name: '回源',
774
+ },
775
+ style: {
776
+ color: '#49a9ee',
777
+ width: 1,
778
+ lineDash: [2, 2],
779
+ },
780
+ },
781
+ {
782
+ group: 'edges',
783
+ data: {
784
+ id: '42--81--target',
785
+ source: '42',
786
+ target: '81',
787
+ name: '回源',
788
+ },
789
+ style: {
790
+ color: '#49a9ee',
791
+ width: 1,
792
+ lineDash: [2, 2],
793
+ },
794
+ },
795
+ {
796
+ group: 'edges',
797
+ data: {
798
+ id: '42--17--target',
799
+ source: '42',
800
+ target: '17',
801
+ name: '回源',
802
+ },
803
+ style: {
804
+ color: '#49a9ee',
805
+ width: 1,
806
+ lineDash: [2, 2],
807
+ },
808
+ },
809
+ ]);
810
+ },
811
+ };
812
+ function bindClick(e) {
813
+ switch (e) {
814
+ case 'zoomOut':
815
+ chartDom.current.network.zoomOut();
816
+ break;
817
+ case 'zoomIn':
818
+ chartDom.current.network.zoomIn();
819
+ break;
820
+ case 'zoomReset':
821
+ chartDom.current.network.zoomReset();
822
+ break;
823
+ case 'remove':
824
+ chartDom.current.network.remove('n0');
825
+ break;
826
+ case 'highlight':
827
+ chartDom.current.dispatchAction({
828
+ type: 'highlight',
829
+ seriesName: ['n0', 'n1', 'e0'],
830
+ });
831
+ break;
832
+ case 'downplay':
833
+ chartDom.current.dispatchAction({
834
+ type: 'downplay',
835
+ });
836
+ break;
837
+ case 'dagreH':
838
+ chartDom.current.network.layout('dagre', { rankDir: 'LR' });
839
+ break;
840
+ case 'dagreV':
841
+ chartDom.current.network.layout('dagre', { rankDir: 'TB' });
842
+ break;
843
+ case 'FruchtermanLayout':
844
+ setShowMsg(true);
845
+ chartDom.current.network.layout('FruchtermanLayout', null, {
846
+ onLayoutEnd: function () {
847
+ setShowMsg(false);
848
+ },
849
+ });
850
+ break;
851
+ case 'ForceLayout':
852
+ chartDom.current.network.layout('ForceLayout');
853
+ break;
854
+ case 'springy':
855
+ chartDom.current.network.layout('springy');
856
+ break;
857
+ default:
858
+ break;
859
+ }
860
+ }
861
+ var mapRender = useMemo(function () { return React.createElement(BasicTopo, __assign({ height: 1200 }, options)); }, []);
862
+ return (React.createElement(React.Fragment, null,
863
+ React.createElement(Button, { title: "Dagre\u5E03\u5C40-\u6C34\u5E73", onClick: function () { return bindClick('dagreH'); } }, "Dagre\u5E03\u5C40-\u6C34\u5E73"),
864
+ React.createElement(Button, { title: "Dagre\u5E03\u5C40-\u7AD6\u76F4", onClick: function () { return bindClick('dagreV'); } }, "Dagre\u5E03\u5C40-\u7AD6\u76F4"),
865
+ React.createElement(Button, { title: "FruchtermanLayout\u5E03\u5C40", onClick: function () { return bindClick('FruchtermanLayout'); } }, "FruchtermanLayout\u5E03\u5C40"),
866
+ React.createElement(Button, { title: "ForceLayout\u5E03\u5C40", onClick: function () { return bindClick('ForceLayout'); } }, "ForceLayout\u5E03\u5C40"),
867
+ React.createElement(Button, { title: "\u653E\u5927", onClick: function () { return bindClick('zoomOut'); } }, "\u653E\u5927"),
868
+ React.createElement(Button, { title: "\u7F29\u5C0F", onClick: function () { return bindClick('zoomIn'); } }, "\u7F29\u5C0F"),
869
+ React.createElement(Button, { title: "\u9AD8\u4EAE\u8DEF\u5F84", onClick: function () { return bindClick('highlight'); } }, "\u9AD8\u4EAE\u8DEF\u5F84"),
870
+ React.createElement(Button, { title: "\u53D6\u6D88\u9AD8\u4EAE\u8DEF\u5F84", onClick: function () { return bindClick('downplay'); } }, "\u53D6\u6D88\u9AD8\u4EAE\u8DEF\u5F84"),
871
+ React.createElement(Button, { title: "\u5220\u9664", onClick: function () { return bindClick('remove'); } }, "\u5220\u9664\u8282\u70B9"),
872
+ showMsg && React.createElement(Alert, null, "FruchtermanLayout\u5E03\u5C40\u8BA1\u7B97\u4E2D..."),
873
+ mapRender));
874
+ }
875
+ //# sourceMappingURL=GroupLinkTopo.js.map