From 11e66a4c3cdce7dfa0a09f3f246e9d2b9e68466e Mon Sep 17 00:00:00 2001 From: tch1001 Date: Fri, 23 Sep 2022 14:57:22 +0800 Subject: [PATCH 01/29] fixed open button --- src/components/DataPanel.vue | 50 +++++++++++++----------------------- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/src/components/DataPanel.vue b/src/components/DataPanel.vue index 18e75dc..7d6d03d 100644 --- a/src/components/DataPanel.vue +++ b/src/components/DataPanel.vue @@ -2,36 +2,19 @@

ID : {{ data_panel.uid }}

- +
-
- +
+
- + + +
- +
@@ -43,10 +26,13 @@ \ No newline at end of file diff --git a/src/graphData.ts b/src/graphData.ts index 3752a5f..2365377 100644 --- a/src/graphData.ts +++ b/src/graphData.ts @@ -36,6 +36,9 @@ var configs = vNG.defineConfigs({ }, node: { selectable: true, + normal: { + color: node => node.color, + } }, edge: { selectable: true, diff --git a/src/views/Graph.vue b/src/views/Graph.vue index b9efd25..684b695 100644 --- a/src/views/Graph.vue +++ b/src/views/Graph.vue @@ -9,11 +9,13 @@ :data_panel="dataPanel" @updatedDataPanel="updatedDataPanel"> + \ No newline at end of file diff --git a/src/views/Graph.vue b/src/views/Graph.vue index 684b695..6bce2cb 100644 --- a/src/views/Graph.vue +++ b/src/views/Graph.vue @@ -9,7 +9,7 @@ :data_panel="dataPanel" @updatedDataPanel="updatedDataPanel"> - + \ No newline at end of file diff --git a/src/graphData.ts b/src/graphData.ts index 3752a5f..2365377 100644 --- a/src/graphData.ts +++ b/src/graphData.ts @@ -36,6 +36,9 @@ var configs = vNG.defineConfigs({ }, node: { selectable: true, + normal: { + color: node => node.color, + } }, edge: { selectable: true, diff --git a/src/views/Graph.vue b/src/views/Graph.vue index b9efd25..684b695 100644 --- a/src/views/Graph.vue +++ b/src/views/Graph.vue @@ -9,11 +9,13 @@ :data_panel="dataPanel" @updatedDataPanel="updatedDataPanel"> + \ No newline at end of file diff --git a/src/views/Graph.vue b/src/views/Graph.vue index 684b695..6bce2cb 100644 --- a/src/views/Graph.vue +++ b/src/views/Graph.vue @@ -9,7 +9,7 @@ :data_panel="dataPanel" @updatedDataPanel="updatedDataPanel"> - + From 3616d35117b6800c3bba03309ef628198db9b361 Mon Sep 17 00:00:00 2001 From: Tan Chien Hao Date: Wed, 5 Oct 2022 23:12:32 +0800 Subject: [PATCH 25/29] bug fixes for adding tags --- src/components/DecoPanel.vue | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/components/DecoPanel.vue b/src/components/DecoPanel.vue index 8b86ab1..249f2cf 100644 --- a/src/components/DecoPanel.vue +++ b/src/components/DecoPanel.vue @@ -18,7 +18,7 @@