mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
style: import type
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import dagre from 'dagre'
|
||||
import {Edge, Node, Position} from '@xyflow/react'
|
||||
import type {Edge, Node} from '@xyflow/react'
|
||||
import { Position} from '@xyflow/react'
|
||||
|
||||
export const getLayoutedElements = (nodes: Node[], edges: Edge[], direction = 'TB') => {
|
||||
const dagreGraph = new dagre.graphlib.Graph()
|
||||
|
||||
Reference in New Issue
Block a user