fix: import paths

This commit is contained in:
Braks
2022-04-06 20:53:48 +02:00
parent 59870a3a55
commit 1e23893e58
4 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { Elements, Position } from '@braks/vue-flow/src'
import { Elements, Position } from '@braks/vue-flow'
const nodeWidth = 80
const nodeGapWidth = nodeWidth * 2

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import dagre from 'dagre'
import initialElements from './initial-elements'
import { VueFlow, Controls, ConnectionMode, Elements, isNode, CoordinateExtent, Position } from '@braks/vue-flow'
import initialElements from './initial-elements'
const dagreGraph = new dagre.graphlib.Graph()
dagreGraph.setDefaultEdgeLabel(() => ({}))

View File

@@ -1,5 +1,6 @@
<script lang="ts" setup>
import { useDraggableCore } from '@braks/revue-draggable'
import { watchDebounced } from '@vueuse/core'
import { useVueFlow } from '../../composables'
import { GraphNode, NodeComponent, SnapGrid } from '../../types'
import { NodeId, Slots } from '../../context'

View File

@@ -1,5 +1,6 @@
<script lang="ts" setup>
import { useDraggableCore } from '@braks/revue-draggable'
import { watchDebounced } from '@vueuse/core'
import { useVueFlow } from '../../composables'
import { getRectOfNodes } from '../../utils'