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

This commit is contained in:
braks
2023-12-12 23:36:33 +01:00
committed by Braks
parent 0506f6ff93
commit 458b5d42ba
48 changed files with 112 additions and 151 deletions
@@ -1,11 +1,11 @@
import type { DefineComponent } from 'vue'
import { defineComponent, h, inject } from 'vue'
import type { ConnectionLineProps } from '~/types'
import { ConnectionLineType, ConnectionMode, Position } from '~/types'
import { getHandlePosition, getMarkerId } from '~/utils'
import { useVueFlow } from '~/composables'
import { Slots } from '~/context'
import { getBezierPath, getSimpleBezierPath, getSmoothStepPath } from '~/components/Edges/utils'
import type { ConnectionLineProps } from '../../types'
import { ConnectionLineType, ConnectionMode, Position } from '../../types'
import { getHandlePosition, getMarkerId } from '../../utils'
import { useVueFlow } from '../../composables'
import { Slots } from '../../context'
import { getBezierPath, getSimpleBezierPath, getSmoothStepPath } from '../Edges/utils'
const oppositePosition = {
[Position.Left]: Position.Right,