fix(core): remove ts-transform-paths and use relative paths

This commit is contained in:
braks
2023-12-12 23:27:44 +01:00
committed by Braks
parent 0506f6ff93
commit 458b5d42ba
48 changed files with 112 additions and 151 deletions

View File

@@ -1,7 +1,7 @@
import type { Ref } from 'vue'
import { nextTick } from 'vue'
import type { Actions, GraphNode, HandleElement, Position } from '../types'
import { getDimensions } from '.'
import type { Actions, GraphNode, HandleElement, Position } from '~/types'
export function getHandleBounds(selector: string, nodeElement: HTMLDivElement, zoom: number): HandleElement[] | undefined {
const handles = nodeElement.querySelectorAll(`.vue-flow__handle${selector}`)