diff --git a/package.json b/package.json index b87c3e5bd7..de9eeb3c13 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "@pureadmin/descriptions": "^1.2.1", "@pureadmin/table": "^3.1.2", "@pureadmin/utils": "^2.4.7", + "@vue-flow/background": "^1.3.0", "@vue-flow/core": "^1.33.4", "@vueuse/core": "^10.9.0", "@vueuse/motion": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fcdd2e532b..f94cdb8c5d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,6 +26,9 @@ dependencies: '@pureadmin/utils': specifier: ^2.4.7 version: 2.4.7(echarts@5.5.0)(vue@3.4.21) + '@vue-flow/background': + specifier: ^1.3.0 + version: 1.3.0(@vue-flow/core@1.33.4)(vue@3.4.21) '@vue-flow/core': specifier: ^1.33.4 version: 1.33.4(vue@3.4.21) @@ -2365,6 +2368,16 @@ packages: path-browserify: 1.0.1 dev: true + /@vue-flow/background@1.3.0(@vue-flow/core@1.33.4)(vue@3.4.21): + resolution: {integrity: sha512-fu/8s9wzSOQIitnSTI10XT3bzTtagh4h8EF2SWwtlDklOZjAaKy75lqv4htHa3wigy/r4LGCOGwLw3Pk88/AxA==} + peerDependencies: + '@vue-flow/core': ^1.23.0 + vue: ^3.3.0 + dependencies: + '@vue-flow/core': 1.33.4(vue@3.4.21) + vue: 3.4.21(typescript@5.4.2) + dev: false + /@vue-flow/core@1.33.4(vue@3.4.21): resolution: {integrity: sha512-ryoamKfQ5pgtdv//Gjpyc4nsawMOwfI2jVzOPvZ92VQs78L4lidiWD7UybqeEkrGw6UPue1CGlzoy/4KlOWcSg==} peerDependencies: diff --git a/src/views/vue-flow/layouting/animationEdge.vue b/src/views/vue-flow/layouting/animationEdge.vue index 64f8fbf4f3..3164fd6468 100644 --- a/src/views/vue-flow/layouting/animationEdge.vue +++ b/src/views/vue-flow/layouting/animationEdge.vue @@ -1,75 +1,138 @@ - + + diff --git a/src/views/vue-flow/layouting/icon.vue b/src/views/vue-flow/layouting/icon.vue new file mode 100644 index 0000000000..5e8c059531 --- /dev/null +++ b/src/views/vue-flow/layouting/icon.vue @@ -0,0 +1,85 @@ + + + diff --git a/src/views/vue-flow/layouting/index.vue b/src/views/vue-flow/layouting/index.vue index 1cd416cba8..065d3e7bbe 100644 --- a/src/views/vue-flow/layouting/index.vue +++ b/src/views/vue-flow/layouting/index.vue @@ -1,64 +1,50 @@