From 6dd95145b155eedf7f05293668838b354393bac9 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 6 Feb 2024 00:53:17 +0100 Subject: [PATCH] fix(docs): move node from edges array --- docs/examples/layout/App.vue | 33 ++++++++++++++++++ docs/examples/layout/initial-elements.js | 43 ++++++++++++------------ 2 files changed, 55 insertions(+), 21 deletions(-) diff --git a/docs/examples/layout/App.vue b/docs/examples/layout/App.vue index 105c77e7..b75bbe0b 100644 --- a/docs/examples/layout/App.vue +++ b/docs/examples/layout/App.vue @@ -2,6 +2,7 @@ import dagre from 'dagre' import { nextTick, ref } from 'vue' import { Panel, Position, VueFlow, useVueFlow } from '@vue-flow/core' +import { Background } from '@vue-flow/background' import { initialEdges, initialNodes } from './initial-elements.js' @@ -54,6 +55,8 @@ function handleLayout(direction) {