Skip to content

Commit

Permalink
chore(core): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bcakmakoglu committed Dec 12, 2023
1 parent e72968e commit 7490b45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/Edges/utils/bezier.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Position } from '../../..//types'
import { getBezierEdgeCenter } from './general'
import { Position } from '~/types'

export interface GetBezierPathParams {
sourceX: number
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/Edges/utils/simple-bezier.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Position } from '../../..//types'
import { getBezierEdgeCenter } from './general'
import { Position } from '~/types'

export interface GetSimpleBezierPathParams {
sourceX: number
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/components/Edges/utils/smoothstep.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7490b45

Please sign in to comment.