chore(core): cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user