update(nodes): Add draggable,selectable and connectable as props to nodes

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent e91188de5c
commit 947baefa02
3 changed files with 18 additions and 20 deletions
@@ -32,7 +32,6 @@ export default {
:selectable="typeof node.selectable === 'undefined' ? store.elementsSelectable : node.selectable"
:connectable="typeof node.connectable === 'undefined' ? store.nodesConnectable : node.connectable"
:snap-grid="snapGrid(node)"
:select-nodes-on-drag="store.selectNodesOnDrag"
>
<template #default="nodeProps">
<slot :name="`node-${node.type}`" v-bind="nodeProps"></slot>