diff --git a/examples/Layouting/LayoutingExample.vue b/examples/Layouting/LayoutingExample.vue index 3867c65c..e4182480 100644 --- a/examples/Layouting/LayoutingExample.vue +++ b/examples/Layouting/LayoutingExample.vue @@ -3,7 +3,18 @@ import dagre from 'dagre' import initialElements from './initial-elements' import './layouting.css' -import Flow, { Controls, addEdge, Connection, Edge, Elements, isNode, NodeExtent, Position, removeElements } from '~/index' +import Flow, { + Controls, + addEdge, + ConnectionMode, + Connection, + Edge, + Elements, + isNode, + NodeExtent, + Position, + removeElements, +} from '~/index' const dagreGraph = new dagre.graphlib.Graph() dagreGraph.setDefaultEdgeLabel(() => ({})) @@ -42,6 +53,7 @@ const onLayout = (direction: string) => { return el }) + console.log(elements.value) }