diff --git a/app/src/experimental/layers/ConnectionsLayer.vue b/app/src/experimental/layers/ConnectionsLayer.vue index 1d2b233975f000d2fa871c7ac5d05093f0b6ece1..27c814260ea41d596475afa401c5b9270711a046 100644 --- a/app/src/experimental/layers/ConnectionsLayer.vue +++ b/app/src/experimental/layers/ConnectionsLayer.vue @@ -1,4 +1,4 @@ -<template> + <template> <svg v-bind:viewBox="`0 0 ${width} ${height}`" :width="width" diff --git a/app/src/store/index.js b/app/src/store/index.js index daf70c374cb303be270039a2931a7a8eb61140fa..479108b5e68b02c75f531194f2fb307f9172e4ab 100644 --- a/app/src/store/index.js +++ b/app/src/store/index.js @@ -242,6 +242,11 @@ const store = new Vuex.Store({ line_width: e.linewidth, }) + // from db | in app + + // connect_id | connectID + // start_id | startID + pouchdb .get(state.global_con_name) .then(function (doc) { @@ -584,7 +589,7 @@ const store = new Vuex.Store({ commit('EDIT_NODE', { nodeid, nodetext }) }, - startConnect: ( + makeConnect: ( { commit }, { connectid, fromnode, tonode, path, color, linedash, linewidth } ) => { @@ -598,7 +603,6 @@ const store = new Vuex.Store({ linewidth, }) }, - shortcutState: ({ commit }, e) => { commit('SHORTCUT_STATE', e) }, diff --git a/app/src/views/Sandbox.vue b/app/src/views/Sandbox.vue index 67c9a5c41f6c193bf2931ac7723ce56573c6bd0d..26dd838693e4fc3cda15a9add55608dc69337e99 100644 --- a/app/src/views/Sandbox.vue +++ b/app/src/views/Sandbox.vue @@ -3,7 +3,6 @@ <ConnectionsLayer v-bind:width="width" v-bind:height="height" - v-bind:nodes="myNodes" v-bind:connections="connections" /> <PanZoomContainer @@ -24,7 +23,6 @@ v-bind:key="value.node_id" v-bind:nodeid="value.node_id" v-bind:nodetext="value.node_text" - /> </PanZoomContainer> <!-- <SelectionLayer