chore(core): cleanup

This commit is contained in:
braks
2023-12-12 23:36:33 +01:00
committed by Braks
parent 0b2787000c
commit 58689d751a
6 changed files with 5 additions and 11 deletions
@@ -1,5 +1,5 @@
import { Position } from '../../..//types'
import { getBezierEdgeCenter } from './general'
import { Position } from '~/types'
export interface GetBezierPathParams {
sourceX: number
@@ -1,5 +1,5 @@
import { Position } from '../../..//types'
import { getBezierEdgeCenter } from './general'
import { Position } from '~/types'
export interface GetSimpleBezierPathParams {
sourceX: number
@@ -1,6 +1,6 @@
import type { XYPosition } from '../../..//types'
import { Position } from '../../..//types'
import { getSimpleEdgeCenter } from './general'
import type { XYPosition } from '~/types'
import { Position } from '~/types'
export interface GetSmoothStepPathParams {
sourceX: number
+1 -1
View File
@@ -21,8 +21,8 @@ import type {
XYPosition,
XYZPosition,
} from '../types'
import { useWindow } from '../composables'
import { isDef, warn } from '.'
import { useWindow } from '~/composables'
export function nodeToRect(node: GraphNode): Rect {
return {