Skip to content

Commit 58689d7

Browse files
committed
chore(core): cleanup
1 parent 0b27870 commit 58689d7

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

packages/core/src/components/Edges/utils/bezier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { Position } from '../../..//types'
12
import { getBezierEdgeCenter } from './general'
2-
import { Position } from '~/types'
33

44
export interface GetBezierPathParams {
55
sourceX: number

packages/core/src/components/Edges/utils/simple-bezier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { Position } from '../../..//types'
12
import { getBezierEdgeCenter } from './general'
2-
import { Position } from '~/types'
33

44
export interface GetSimpleBezierPathParams {
55
sourceX: number

packages/core/src/components/Edges/utils/smoothstep.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type { XYPosition } from '../../..//types'
2+
import { Position } from '../../..//types'
13
import { getSimpleEdgeCenter } from './general'
2-
import type { XYPosition } from '~/types'
3-
import { Position } from '~/types'
44

55
export interface GetSmoothStepPathParams {
66
sourceX: number

packages/core/src/utils/graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import type {
2121
XYPosition,
2222
XYZPosition,
2323
} from '../types'
24+
import { useWindow } from '../composables'
2425
import { isDef, warn } from '.'
25-
import { useWindow } from '~/composables'
2626

2727
export function nodeToRect(node: GraphNode): Rect {
2828
return {

packages/core/vite.config.iife.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import pkg from './package.json'
66

77
export default defineConfig({
88
resolve: {
9-
alias: {
10-
'~': resolve('src'),
11-
},
129
extensions: ['.ts', '.vue'],
1310
},
1411
build: {

packages/core/vite.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import pkg from './package.json'
66

77
export default defineConfig({
88
resolve: {
9-
alias: {
10-
'~': resolve('src'),
11-
},
129
extensions: ['.ts', '.vue'],
1310
},
1411
build: {

0 commit comments

Comments
 (0)