From 2de026185b892c10403ad2566ff7341c928656d9 Mon Sep 17 00:00:00 2001 From: martsi Date: Mon, 22 Jul 2024 21:07:11 +0800 Subject: [PATCH] feat(tab) --- src/components/BreakdownChart.vue | 1 + src/pages/Workflow/components/LeftBox.vue | 54 +++++++---------------- 2 files changed, 18 insertions(+), 37 deletions(-) diff --git a/src/components/BreakdownChart.vue b/src/components/BreakdownChart.vue index 28532ff..3ee75ca 100644 --- a/src/components/BreakdownChart.vue +++ b/src/components/BreakdownChart.vue @@ -25,6 +25,7 @@ onMounted(() => { tree.value = new G6.TreeGraph({ container: getGraphNum(), animate: false, + linkCenter: true, layout: { type: "indented", direction: "LR", diff --git a/src/pages/Workflow/components/LeftBox.vue b/src/pages/Workflow/components/LeftBox.vue index 318a1d6..3272a31 100644 --- a/src/pages/Workflow/components/LeftBox.vue +++ b/src/pages/Workflow/components/LeftBox.vue @@ -6,37 +6,11 @@ const sessionStore = useSessionStore();