chore(core): cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
import { Position } from '../../..//types'
|
||||||
import { getBezierEdgeCenter } from './general'
|
import { getBezierEdgeCenter } from './general'
|
||||||
import { Position } from '~/types'
|
|
||||||
|
|
||||||
export interface GetBezierPathParams {
|
export interface GetBezierPathParams {
|
||||||
sourceX: number
|
sourceX: number
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
import { Position } from '../../..//types'
|
||||||
import { getBezierEdgeCenter } from './general'
|
import { getBezierEdgeCenter } from './general'
|
||||||
import { Position } from '~/types'
|
|
||||||
|
|
||||||
export interface GetSimpleBezierPathParams {
|
export interface GetSimpleBezierPathParams {
|
||||||
sourceX: number
|
sourceX: number
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
import type { XYPosition } from '../../..//types'
|
||||||
|
import { Position } from '../../..//types'
|
||||||
import { getSimpleEdgeCenter } from './general'
|
import { getSimpleEdgeCenter } from './general'
|
||||||
import type { XYPosition } from '~/types'
|
|
||||||
import { Position } from '~/types'
|
|
||||||
|
|
||||||
export interface GetSmoothStepPathParams {
|
export interface GetSmoothStepPathParams {
|
||||||
sourceX: number
|
sourceX: number
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import type {
|
|||||||
XYPosition,
|
XYPosition,
|
||||||
XYZPosition,
|
XYZPosition,
|
||||||
} from '../types'
|
} from '../types'
|
||||||
|
import { useWindow } from '../composables'
|
||||||
import { isDef, warn } from '.'
|
import { isDef, warn } from '.'
|
||||||
import { useWindow } from '~/composables'
|
|
||||||
|
|
||||||
export function nodeToRect(node: GraphNode): Rect {
|
export function nodeToRect(node: GraphNode): Rect {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ import pkg from './package.json'
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
|
||||||
'~': resolve('src'),
|
|
||||||
},
|
|
||||||
extensions: ['.ts', '.vue'],
|
extensions: ['.ts', '.vue'],
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ import pkg from './package.json'
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
|
||||||
'~': resolve('src'),
|
|
||||||
},
|
|
||||||
extensions: ['.ts', '.vue'],
|
extensions: ['.ts', '.vue'],
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
Reference in New Issue
Block a user