diff --git a/package.json b/package.json index 53e7cd41920bfe8c4431fdadc5cfe396e9482bcf..56333351ba787fe59d47f979eb0f9acb761a0e77 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "node build/build.js" }, "dependencies": { + "@antv/g6": "^3.4.8", "@fortawesome/fontawesome-free": "^5.8.0", "ace-builds": "^1.4.11", "babel-polyfill": "^6.26.0", diff --git a/src/components/codes.vue b/src/components/codes.vue index a293cd0b7a7e4fb4d6820f7afeffff105291e0c5..c62926efaae33cbc8370fef695f2679cbfe252a3 100644 --- a/src/components/codes.vue +++ b/src/components/codes.vue @@ -9,12 +9,9 @@ + + + + diff --git a/src/components/upload_file.vue b/src/components/upload_file.vue index 6d4723df53231a8cac371a6e74d9b2f3a945df26..c2728d69f3c0e80733beed95d0ebb4207498ba6a 100644 --- a/src/components/upload_file.vue +++ b/src/components/upload_file.vue @@ -1,6 +1,6 @@ @@ -36,4 +36,7 @@ export default { \ No newline at end of file diff --git a/src/pages/example_topology.vue b/src/pages/example_topology.vue new file mode 100644 index 0000000000000000000000000000000000000000..fb5c165710c5d2aea371986b47067b16e3f6d09c --- /dev/null +++ b/src/pages/example_topology.vue @@ -0,0 +1,40 @@ + + + + \ No newline at end of file diff --git a/src/pages/example_upload.vue b/src/pages/example_upload.vue index 67f767a8f02b2bfd51975ef37eb0695cfd35bc79..a4c7337cd44b61215cfc855f53ca701149d66806 100644 --- a/src/pages/example_upload.vue +++ b/src/pages/example_upload.vue @@ -4,7 +4,6 @@ import("@/pages/example_icon") + }, + { + path: "/example_topology", // 拓扑图实例 + name: "example_topology", + component: () => import("@/pages/example_topology") } ] }); diff --git a/static/antv.json b/static/antv.json new file mode 100644 index 0000000000000000000000000000000000000000..6b64b2106b650d2c6d3c96ec2b56b3ba972e1909 --- /dev/null +++ b/static/antv.json @@ -0,0 +1,698 @@ +{ + "timestamp": 1587020309, + "duration": 600, + "graphType": "app", + "elements": { + "nodes": [ + { + "data": { + "id": "ac4338d28c3ad444cdbe51d5e7d69891", + "nodeType": "app", + "namespace": "cloud", + "app": "awe-redis", + "destServices": [ + { + "namespace": "cloud", + "name": "awe-redis" + } + ], + "traffic": [ + { + "protocol": "tcp", + "rates": { + "tcpIn": "399.14" + } + } + ], + "hasMissingSC": true + } + }, + { + "data": { + "id": "8c3a116b49b6a224bb240304efada0ef", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-ci-api", + "isRoot": true + } + }, + { + "data": { + "id": "28d134027d60a0a450655bf9e25fd820", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-dex", + "destServices": [ + { + "namespace": "cloud", + "name": "awecloud-dex" + } + ] + } + }, + { + "data": { + "id": "1166f964717d2b5326c637803017397a", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-hub-api", + "traffic": [ + { + "protocol": "tcp", + "rates": { + "tcpOut": "0.61" + } + } + ], + "isRoot": true + } + }, + { + "data": { + "id": "3bbb6a16f0a039e7f18d86aa5dbeb655", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-istio", + "isRoot": true + } + }, + { + "data": { + "id": "c7cb4666416998aff6b6772e492cf1e6", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-kubernetes", + "destServices": [ + { + "namespace": "cloud", + "name": "awecloud-kubernetes" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.13", + "httpOut": "0.18" + } + }, + { + "protocol": "tcp", + "rates": { + "tcpOut": "5571.74" + } + } + ] + } + }, + { + "data": { + "id": "17091f02abcc66d5a6aa573af81bc293", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-meshgraph", + "destServices": [ + { + "namespace": "cloud", + "name": "awecloud-meshgraph" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.59", + "httpOut": "0.59" + } + } + ] + } + }, + { + "data": { + "id": "1e1c805b21415eb30bf16b4109bb70b8", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-rest", + "destServices": [ + { + "namespace": "cloud", + "name": "awecloud-rest" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.20", + "httpOut": "0.21" + } + }, + { + "protocol": "tcp", + "rates": { + "tcpOut": "21.20" + } + } + ] + } + }, + { + "data": { + "id": "d5e9dbf839f63edfb600a17470053845", + "nodeType": "app", + "namespace": "cloud", + "app": "awecloud-ui", + "destServices": [ + { + "namespace": "cloud", + "name": "awecloud-ui" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.07" + } + }, + { + "protocol": "tcp", + "rates": { + "tcpOut": "10.05" + } + } + ] + } + }, + { + "data": { + "id": "0fa9c4517f3b2ce89f0ae5f3229c9d05", + "nodeType": "app", + "namespace": "devops", + "app": "drone-server", + "destServices": [ + { + "namespace": "devops", + "name": "drone-server" + } + ], + "isOutside": true + } + }, + { + "data": { + "id": "a4347f4ca23e80f984111fa9252c71cc", + "nodeType": "app", + "namespace": "devops", + "app": "gitlab", + "destServices": [ + { + "namespace": "devops", + "name": "gitlab" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.08" + } + } + ], + "isOutside": true + } + }, + { + "data": { + "id": "71ce69559b37469990f5e55c538acd9f", + "nodeType": "app", + "namespace": "devops", + "app": "stolon", + "destServices": [ + { + "namespace": "devops", + "name": "stolon-proxy" + } + ], + "traffic": [ + { + "protocol": "tcp", + "rates": { + "tcpIn": "400.27" + } + } + ], + "isOutside": true + } + }, + { + "data": { + "id": "e474e0b8e6b953250452df0c4d19fa4b", + "nodeType": "app", + "namespace": "istio-system", + "app": "istio-ingressgateway", + "traffic": [ + { + "protocol": "http", + "rates": { + "httpOut": "1.05" + } + } + ], + "isOutside": true, + "isRoot": true + } + }, + { + "data": { + "id": "ee75dded555d80a2d11d8807e600e28b", + "nodeType": "app", + "namespace": "istio-system", + "app": "kiali", + "destServices": [ + { + "namespace": "istio-system", + "name": "kiali" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.59" + } + } + ], + "isOutside": true + } + }, + { + "data": { + "id": "472267b2b5068361f791ac7d738bb201", + "nodeType": "workload", + "namespace": "kube-system", + "workload": "heapster", + "version": "v1.5.0", + "destServices": [ + { + "namespace": "kube-system", + "name": "heapster" + } + ], + "traffic": [ + { + "protocol": "http", + "rates": { + "httpIn": "0.18" + } + } + ], + "isInaccessible": true, + "isOutside": true + } + }, + { + "data": { + "id": "1ef34af8124e05c0b6a4acfec8a2441b", + "nodeType": "workload", + "namespace": "kube-system", + "workload": "traefik", + "app": "unknown", + "version": "unknown", + "destServices": [ + { + "namespace": "default", + "name": "kubernetes" + } + ], + "traffic": [ + { + "protocol": "tcp", + "rates": { + "tcpIn": "984.97" + } + } + ], + "isInaccessible": true, + "isMisconfigured": "labels=[app version]", + "isOutside": true + } + }, + { + "data": { + "id": "64eb41f62645f34716ec98bd07fb5d4e", + "nodeType": "app", + "namespace": "kubesphere-monitoring-system", + "app": "node-exporter", + "destServices": [ + { + "namespace": "default", + "name": "kubernetes" + } + ], + "isInaccessible": true, + "isOutside": true + } + }, + { + "data": { + "id": "de9b5ca2fab6d65e97371a7f492da4d6", + "nodeType": "app", + "namespace": "monitoring", + "app": "kube-prometheus-exporter-node", + "destServices": [ + { + "namespace": "default", + "name": "kubernetes" + } + ], + "traffic": [ + { + "protocol": "tcp", + "rates": { + "tcpIn": "5522.40" + } + } + ], + "isOutside": true + } + }, + { + "data": { + "id": "b30b0078325bf2e1adb4d57c4c0c2665", + "nodeType": "unknown", + "namespace": "unknown", + "workload": "unknown", + "app": "unknown", + "version": "unknown", + "traffic": [ + { + "protocol": "http", + "rates": { + "httpOut": "0.005" + } + } + ], + "isInaccessible": true, + "isRoot": true + } + } + ], + "edges": [ + { + "data": { + "id": "7fef53ce379610b48a6d45d0997532e3", + "source": "1166f964717d2b5326c637803017397a", + "target": "ac4338d28c3ad444cdbe51d5e7d69891", + "traffic": { + "protocol": "tcp", + "rates": { + "tcp": "0.61" + }, + "responses": { + "-": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "61e5b52912401edfd1ae6be7b1d7f7fa", + "source": "17091f02abcc66d5a6aa573af81bc293", + "target": "ee75dded555d80a2d11d8807e600e28b", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.59", + "httpPercentReq": "100.0" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "fce91b418e315982d54c02be2c3df25f", + "source": "1e1c805b21415eb30bf16b4109bb70b8", + "target": "0fa9c4517f3b2ce89f0ae5f3229c9d05", + "traffic": { + "protocol": "http" + } + } + }, + { + "data": { + "id": "1e9b3cb3fa3ca3567f8c10b6b34763b2", + "source": "1e1c805b21415eb30bf16b4109bb70b8", + "target": "a4347f4ca23e80f984111fa9252c71cc", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.08", + "httpPercentReq": "37.7" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "aa92e2fd559e9e9e10a27b18127b2195", + "source": "1e1c805b21415eb30bf16b4109bb70b8", + "target": "ac4338d28c3ad444cdbe51d5e7d69891", + "traffic": { + "protocol": "tcp", + "rates": { + "tcp": "21.20" + }, + "responses": { + "-": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "0f53f13f9536138d3a8c1691d590cedb", + "source": "1e1c805b21415eb30bf16b4109bb70b8", + "target": "c7cb4666416998aff6b6772e492cf1e6", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.13", + "httpPercentReq": "62.3" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "0f4dbf5205695d97becefc301f9edd23", + "source": "28d134027d60a0a450655bf9e25fd820", + "target": "71ce69559b37469990f5e55c538acd9f", + "traffic": { + "protocol": "tcp" + } + } + }, + { + "data": { + "id": "75a23548fe5582e7e4cf07e3cced89bf", + "source": "28d134027d60a0a450655bf9e25fd820", + "target": "a4347f4ca23e80f984111fa9252c71cc", + "traffic": { + "protocol": "http" + } + } + }, + { + "data": { + "id": "dd2aa003784fa7f869fe12e57d0ea8c6", + "source": "28d134027d60a0a450655bf9e25fd820", + "target": "ac4338d28c3ad444cdbe51d5e7d69891", + "traffic": { + "protocol": "tcp" + } + } + }, + { + "data": { + "id": "290de737a239fc821bb0287fc724375e", + "source": "3bbb6a16f0a039e7f18d86aa5dbeb655", + "target": "1ef34af8124e05c0b6a4acfec8a2441b", + "traffic": { + "protocol": "tcp" + } + } + }, + { + "data": { + "id": "cc2e0258f36eb3b1f147946fd46a1b67", + "source": "8c3a116b49b6a224bb240304efada0ef", + "target": "71ce69559b37469990f5e55c538acd9f", + "traffic": { + "protocol": "tcp" + } + } + }, + { + "data": { + "id": "5024053524fdd64eff56fc11bc3111dd", + "source": "c7cb4666416998aff6b6772e492cf1e6", + "target": "1ef34af8124e05c0b6a4acfec8a2441b", + "traffic": { + "protocol": "tcp", + "rates": { + "tcp": "49.34" + }, + "responses": { + "-": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "5a8c0b2ac4c47e0f1654a355d6f6ac7d", + "source": "c7cb4666416998aff6b6772e492cf1e6", + "target": "472267b2b5068361f791ac7d738bb201", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.18", + "httpPercentReq": "100.0" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "c6ee31b229d5f949c1e8fe66915d5540", + "source": "c7cb4666416998aff6b6772e492cf1e6", + "target": "de9b5ca2fab6d65e97371a7f492da4d6", + "traffic": { + "protocol": "tcp", + "rates": { + "tcp": "5522.40" + }, + "responses": { + "-": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "d876be957b1f663c90383aa7aec42df5", + "source": "d5e9dbf839f63edfb600a17470053845", + "target": "ac4338d28c3ad444cdbe51d5e7d69891", + "traffic": { + "protocol": "tcp", + "rates": { + "tcp": "10.05" + }, + "responses": { + "-": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "0f96e4674e6b79acebee3f560f15212d", + "source": "e474e0b8e6b953250452df0c4d19fa4b", + "target": "17091f02abcc66d5a6aa573af81bc293", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.59", + "httpPercentReq": "56.5" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "c843e09cd081097d292014056f60a805", + "source": "e474e0b8e6b953250452df0c4d19fa4b", + "target": "1e1c805b21415eb30bf16b4109bb70b8", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.05", + "httpPercentReq": "4.9" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + }, + { + "data": { + "id": "de2ed713d3cb38e6265cb836032aeaf7", + "source": "e474e0b8e6b953250452df0c4d19fa4b", + "target": "28d134027d60a0a450655bf9e25fd820", + "traffic": { + "protocol": "http" + } + } + }, + { + "data": { + "id": "5219307d003d4802af03fb5d4377a13c", + "source": "e474e0b8e6b953250452df0c4d19fa4b", + "target": "d5e9dbf839f63edfb600a17470053845", + "traffic": { + "protocol": "http", + "rates": { + "http": "0.07", + "httpPercentReq": "6.9" + }, + "responses": { + "200": { + "-": "100.0" + } + } + } + } + } + ] + } + } \ No newline at end of file diff --git a/static/topology_ic_ganzhifw.svg b/static/topology_ic_ganzhifw.svg new file mode 100644 index 0000000000000000000000000000000000000000..9d1f75758ede69f8da4df86630c6a1ef301f3efd --- /dev/null +++ b/static/topology_ic_ganzhifw.svg @@ -0,0 +1 @@ +ic_画板 17 \ No newline at end of file diff --git a/static/topology_ic_shikongfw.svg b/static/topology_ic_shikongfw.svg new file mode 100644 index 0000000000000000000000000000000000000000..48a34980bae936a73c52d9639c6097cd11846842 --- /dev/null +++ b/static/topology_ic_shikongfw.svg @@ -0,0 +1 @@ +ic_画板 15 \ No newline at end of file diff --git a/static/topology_ic_shipinfw.svg b/static/topology_ic_shipinfw.svg new file mode 100644 index 0000000000000000000000000000000000000000..1f386ccae335af89ea436108ab772a16ac5c923a --- /dev/null +++ b/static/topology_ic_shipinfw.svg @@ -0,0 +1 @@ +ic_画板 16 \ No newline at end of file diff --git a/static/topology_ic_shujufw.svg b/static/topology_ic_shujufw.svg new file mode 100644 index 0000000000000000000000000000000000000000..d33bbe93cac67ea97b1943c6727a5e3646025b57 --- /dev/null +++ b/static/topology_ic_shujufw.svg @@ -0,0 +1 @@ +ic_画板 14 \ No newline at end of file diff --git a/static/topology_ic_zonghefw.svg b/static/topology_ic_zonghefw.svg new file mode 100644 index 0000000000000000000000000000000000000000..b5b13db0304f4fddd6355f48a635d76620c10d39 --- /dev/null +++ b/static/topology_ic_zonghefw.svg @@ -0,0 +1 @@ +ic_画板 18 \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index e66b3d7bb57b46a22e77403d8b84519e72cebaf0..d381e9ce957ca6affa3f09bcb8e7fd3e54c705c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,6 +16,18 @@ dependencies: "@antv/util" "~1.3.1" +"@antv/dom-util@^2.0.1": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@antv/dom-util/-/dom-util-2.0.2.tgz#4c7b0a195e027e55570435a6825cec56dfb0b590" + integrity sha512-i/rh385casRd6OA4rbpbA2jyiwY/w7PtkA+74mH43PiBzOcLpDg1jEWR9dMO0tIqUzHQWWqKNNjmXVubl4GS6g== + dependencies: + tslib "^1.10.0" + +"@antv/event-emitter@^0.1.1", "@antv/event-emitter@~0.1.0": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@antv/event-emitter/-/event-emitter-0.1.2.tgz#a17b7cb86e6d071880dc6bfb232756f88624ecbc" + integrity sha512-6C6NJOdoNVptCr5y9BVOhKkCgW7LFs/SpcRyAExUeSjAm0zJqcqNkSIRGsXYhj4PJI+CZICHzGwwiSnIsE68Ug== + "@antv/f2@^3.1.4-beta.2": version "3.5.0" resolved "https://registry.yarnpkg.com/@antv/f2/-/f2-3.5.0.tgz#81da08194ad4a7e531448aaad79ce65f59bcdb43" @@ -28,11 +40,109 @@ "@babel/runtime" "^7.7.7" hammerjs "^2.0.8" +"@antv/g-base@^0.4.0", "@antv/g-base@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@antv/g-base/-/g-base-0.4.4.tgz#4da057e2b82c75e0e9367bed8759cb0c95693a0e" + integrity sha512-P5qptpFy4QiEiQsESNVxvLJsfJJkTuJyfgchP4tUv/g3Ir6xn3Hj8mFbyjesOJ4/wWyhABYTpekK0HNWr1WiXA== + dependencies: + "@antv/event-emitter" "^0.1.1" + "@antv/g-math" "^0.1.3" + "@antv/matrix-util" "^2.0.4" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.0" + "@types/d3-timer" "^1.0.9" + d3-ease "^1.0.5" + d3-interpolate "^1.3.2" + d3-timer "^1.0.9" + +"@antv/g-canvas@^0.4.2": + version "0.4.9" + resolved "https://registry.yarnpkg.com/@antv/g-canvas/-/g-canvas-0.4.9.tgz#5495a707b45149a94b4e6328b9ffcdf68862d4ff" + integrity sha512-ofhDOAQs8anhnlS/9TLGEqEGiYmVVn/N0kmEDQgW7mNNzYMEbmWVGOIAXZUYcRGs49Du1sEyTjsTv5B9MnvSpw== + dependencies: + "@antv/g-base" "^0.4.4" + "@antv/g-math" "^0.1.3" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + +"@antv/g-math@^0.1.1", "@antv/g-math@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@antv/g-math/-/g-math-0.1.3.tgz#8922f44bef74314640b591f53583c1217b715c0f" + integrity sha512-m4jF1Xm9bSTDLU35u3bSW9UcqJJVxU+E+bKtJgNfXUiDwHILYJey825+ApsZ8yjU7SD1kDP6GH6NTGzmChszEQ== + dependencies: + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + +"@antv/g-svg@^0.4.0": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@antv/g-svg/-/g-svg-0.4.4.tgz#60ea96e098536ee5e0361bc870363c5aaab050f2" + integrity sha512-oHhfT3OhckGpBNlLM+FY5l6ysA044pqJ3CQ/NNqS269PwAXqswu7GbIIDmiy6lUURtaAVgyYxbAddoCnCvZ1Kg== + dependencies: + "@antv/g-base" "^0.4.4" + "@antv/g-math" "^0.1.3" + "@antv/util" "~2.0.0" + detect-browser "^4.6.0" + +"@antv/g6@^3.4.8": + version "3.4.8" + resolved "https://registry.yarnpkg.com/@antv/g6/-/g6-3.4.8.tgz#f98505b481e913e297c2a18a04e23c0c6f1db2cc" + integrity sha512-8Kkz12Yk35DHTlch5Puq505IukSbxSkXdfyrm575sebjnG0yNxwnTuPKqRg/ck0Hx9SF7RM0SZ3UVK8XxT/sPg== + dependencies: + "@antv/dom-util" "^2.0.1" + "@antv/event-emitter" "~0.1.0" + "@antv/g-base" "^0.4.0" + "@antv/g-canvas" "^0.4.2" + "@antv/g-math" "^0.1.1" + "@antv/g-svg" "^0.4.0" + "@antv/hierarchy" "^0.6.1" + "@antv/matrix-util" "^2.0.4" + "@antv/path-util" "^2.0.3" + "@antv/scale" "^0.2.0" + "@antv/util" "~2.0.5" + d3-force "^2.0.1" + dagre "^0.8.5" + lodash "^4.17.15" + numericjs "^1.2.6" + "@antv/gl-matrix@^2.7.1": version "2.7.1" resolved "https://registry.yarnpkg.com/@antv/gl-matrix/-/gl-matrix-2.7.1.tgz#acb8e37f7ab3df01345aba4372d7942be42eba14" integrity sha512-oOWcVNlpELIKi9x+Mm1Vwbz8pXfkbJKykoCIOJ/dNK79hSIANbpXJ5d3Rra9/wZqK6MC961B7sybFhPlLraT3Q== +"@antv/hierarchy@^0.6.1": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@antv/hierarchy/-/hierarchy-0.6.3.tgz#5fa5da89e33431c6e769ee20d7a391cc81c4fe95" + integrity sha512-91YZUiZFXK8zp2nC2C+4FEc1LDIPZ5Q4YQbzMnKhH+7nei4QCfIdXPrPh0EKRws78CVt2hxR5gHD7zq6UlokAQ== + dependencies: + "@antv/util" "^2.0.7" + +"@antv/matrix-util@^2.0.4": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@antv/matrix-util/-/matrix-util-2.0.7.tgz#a5190599d424c1518a1b5eb3a548271d7e98fc44" + integrity sha512-bogifQY8jplWtSTZsPqBOdBlDdkM7IwDqYL8eMYL8OaSyOPCS7l9bnEQjQ9qTAwfCd7wHTuPoCnCpbiR8BYFvQ== + dependencies: + "@antv/gl-matrix" "^2.7.1" + "@antv/util" "^2.0.7" + tslib "^1.10.0" + +"@antv/path-util@^2.0.3", "@antv/path-util@~2.0.5": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@antv/path-util/-/path-util-2.0.7.tgz#79a702c9e69d53ef09a848c901b8be925b296fd2" + integrity sha512-1gvgPxYjQ7QGqeFLJC8C3cQd7hP+3GQSdSTKoSSW4Q7nVXdibVx8D521kJe2NkketdKLwsT8gmwJWcu+NU43+w== + dependencies: + "@antv/util" "^2.0.7" + tslib "^1.10.0" + +"@antv/scale@^0.2.0": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@antv/scale/-/scale-0.2.3.tgz#d334b36ecb3e1b6d9e7d656fab935dc7b8b02c3c" + integrity sha512-SDniBuf9b5n7dAm7cXpJCFRRWbHzhzHmxs28KRkayas13lfftKXzHrMRjmdhIv5XzIByDBH9Yv2ln46mt9ZVrg== + dependencies: + "@antv/util" "~2.0.3" + moment "^2.24.0" + tslib "^1.10.0" + "@antv/scale@~0.1.2": version "0.1.4" resolved "https://registry.yarnpkg.com/@antv/scale/-/scale-0.1.4.tgz#bcff21c20e818aa89bf6677ef12f79c0ee4efbdc" @@ -41,6 +151,13 @@ "@antv/util" "~1.3.1" fecha "~2.3.3" +"@antv/util@^2.0.7", "@antv/util@~2.0.0", "@antv/util@~2.0.3", "@antv/util@~2.0.5": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@antv/util/-/util-2.0.8.tgz#52cb62e130e734fcdde3503bcd9263863f750e59" + integrity sha512-G9QRygQJ8UNGMi8L1dfMIa4SofbEO+jkXwvRY4ek/MLd04Q01UN0U28JeMFzw6FCKJdxiFu+2uwT/zjoFr3QoQ== + dependencies: + tslib "^1.10.0" + "@antv/util@~1.2.5": version "1.2.5" resolved "https://registry.yarnpkg.com/@antv/util/-/util-1.2.5.tgz#8896c5055ec29e4a344b5daa97bf82905f7d40cd" @@ -797,6 +914,11 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== +"@types/d3-timer@^1.0.9": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@types/d3-timer/-/d3-timer-1.0.9.tgz#aed1bde0cf18920d33f5d44839d73de393633fd3" + integrity sha512-WvfJ3LFxBbWjqRGz9n7GJt08RrTHPJDVsIwwoCMROlqF+iDacYiAFjf9oqnq0mXpb2juA2N/qjKP+MKdal3YNQ== + "@types/events@*": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -2235,6 +2357,55 @@ cyclist@^1.0.1: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9" integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= +d3-color@1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a" + integrity sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q== + +d3-dispatch@1: + version "1.0.6" + resolved "https://registry.yarnpkg.com/d3-dispatch/-/d3-dispatch-1.0.6.tgz#00d37bcee4dd8cd97729dd893a0ac29caaba5d58" + integrity sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA== + +d3-ease@^1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/d3-ease/-/d3-ease-1.0.6.tgz#ebdb6da22dfac0a22222f2d4da06f66c416a0ec0" + integrity sha512-SZ/lVU7LRXafqp7XtIcBdxnWl8yyLpgOmzAk0mWBI9gXNzLDx5ybZgnRbH9dN/yY5tzVBqCQ9avltSnqVwessQ== + +d3-force@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/d3-force/-/d3-force-2.0.1.tgz#31750eee8c43535301d571195bf9683beda534e2" + integrity sha512-zh73/N6+MElRojiUG7vmn+3vltaKon7iD5vB/7r9nUaBeftXMzRo5IWEG63DLBCto4/8vr9i3m9lwr1OTJNiCg== + dependencies: + d3-dispatch "1" + d3-quadtree "1" + d3-timer "1" + +d3-interpolate@^1.3.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-1.4.0.tgz#526e79e2d80daa383f9e0c1c1c7dcc0f0583e987" + integrity sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA== + dependencies: + d3-color "1" + +d3-quadtree@1: + version "1.0.7" + resolved "https://registry.yarnpkg.com/d3-quadtree/-/d3-quadtree-1.0.7.tgz#ca8b84df7bb53763fe3c2f24bd435137f4e53135" + integrity sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA== + +d3-timer@1, d3-timer@^1.0.9: + version "1.0.10" + resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-1.0.10.tgz#dfe76b8a91748831b13b6d9c793ffbd508dd9de5" + integrity sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw== + +dagre@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/dagre/-/dagre-0.8.5.tgz#ba30b0055dac12b6c1fcc247817442777d06afee" + integrity sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw== + dependencies: + graphlib "^2.1.8" + lodash "^4.17.15" + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -2375,6 +2546,11 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= +detect-browser@^4.6.0: + version "4.8.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-4.8.0.tgz#1d73bd88c17be866901950ce0aaae1ed060902c6" + integrity sha512-f4h2dFgzHUIpjpBLjhnDIteXv8VQiUm8XzAuzQtYUqECX/eKh67ykuiVoyb7Db7a0PUSmJa3OGXStG0CbQFUVw== + detect-file@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" @@ -3066,6 +3242,11 @@ get-value@^2.0.3, get-value@^2.0.6: resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= +gl-matrix@^3.0.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-3.3.0.tgz#232eef60b1c8b30a28cbbe75b2caf6c48fd6358b" + integrity sha512-COb7LDz+SXaHtl/h4LeaFcNdJdAQSDeVqjiIihSXNrkWObZLhDI4hIkZC11Aeqp7bcE72clzB0BnDXr2SmslRA== + glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -3178,6 +3359,13 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== +graphlib@^2.1.8: + version "2.1.8" + resolved "https://registry.yarnpkg.com/graphlib/-/graphlib-2.1.8.tgz#5761d414737870084c92ec7b5dbcb0592c9d35da" + integrity sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A== + dependencies: + lodash "^4.17.15" + growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" @@ -4444,6 +4632,11 @@ mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: dependencies: minimist "0.0.8" +moment@^2.24.0: + version "2.24.0" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" + integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== + move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" @@ -4640,6 +4833,11 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= +numericjs@^1.2.6: + version "1.2.6" + resolved "https://registry.yarnpkg.com/numericjs/-/numericjs-1.2.6.tgz#c0daf25c4bcb22e043bf83443f9f39e8b336798b" + integrity sha1-wNryXEvLIuBDv4NEP5856LM2eYs= + object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -6638,7 +6836,7 @@ tryer@^1.0.1: resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== -tslib@^1.9.0: +tslib@^1.10.0, tslib@^1.9.0: version "1.11.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==