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 {
|
||||
|
||||
@@ -6,9 +6,6 @@ import pkg from './package.json'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': resolve('src'),
|
||||
},
|
||||
extensions: ['.ts', '.vue'],
|
||||
},
|
||||
build: {
|
||||
|
||||
@@ -6,9 +6,6 @@ import pkg from './package.json'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': resolve('src'),
|
||||
},
|
||||
extensions: ['.ts', '.vue'],
|
||||
},
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user