From 2aa63f0746f57fec72b12a09fb49e18b868bd87b Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Sun, 20 Mar 2022 16:33:34 +0800 Subject: [PATCH] update sankey --- src/views/dashboard/controls/Topology.vue | 48 ++++++++++--------- .../related/topology/components/Graph.vue | 5 +- .../topology/components/PodTopology.vue | 19 +++++--- 3 files changed, 42 insertions(+), 30 deletions(-) diff --git a/src/views/dashboard/controls/Topology.vue b/src/views/dashboard/controls/Topology.vue index d34ee819..6205d8f6 100644 --- a/src/views/dashboard/controls/Topology.vue +++ b/src/views/dashboard/controls/Topology.vue @@ -14,21 +14,26 @@ See the License for the specific language governing permissions and limitations under the License. --> @@ -54,6 +59,10 @@ const dashboardStore = useDashboardStore(); function removeTopo() { dashboardStore.removeControls(props.data); } +function editConfig() { + dashboardStore.setConfigPanel(true); + dashboardStore.selectWidget(props.data); +}