chore(docs,examples): replace dagre with dagrejs/dagre

This commit is contained in:
braks
2024-05-12 18:06:56 +02:00
committed by Braks
parent 8d3887f615
commit f1bd5b5eef
6 changed files with 9068 additions and 7516 deletions
+1 -2
View File
@@ -7,6 +7,7 @@
"lint": "eslint --ext .js,.ts,.vue ./ && vue-tsc --noEmit"
},
"dependencies": {
"@dagrejs/dagre": "^1.1.2",
"@vue-flow/background": "workspace:*",
"@vue-flow/controls": "workspace:*",
"@vue-flow/core": "workspace:*",
@@ -18,9 +19,7 @@
"devDependencies": {
"@tooling/eslint-config": "workspace:*",
"@tooling/tsconfig": "workspace:*",
"@types/dagre": "^0.7.50",
"@vitejs/plugin-vue": "^4.4.0",
"dagre": "^0.8.5",
"unplugin-auto-import": "^0.16.6",
"vite": "^4.4.11",
"vite-svg-loader": "^4.0.0",
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import dagre from 'dagre'
import dagre from '@dagrejs/dagre'
import { ConnectionMode, Panel, Position, VueFlow, useVueFlow } from '@vue-flow/core'
import { initialEdges, initialNodes } from './initial-elements'
+1 -1
View File
@@ -1,4 +1,4 @@
import type dagre from 'dagre'
import type dagre from '@dagrejs/dagre'
import type { Node } from '@vue-flow/core'
import { useVueFlow } from '@vue-flow/core'
import type { MaybeRefOrGetter } from 'vue'