From a9c9a135b92279bfd02ed3cab292ad02fae684cf Mon Sep 17 00:00:00 2001
From: Adam Procter <adamprocter@researchnot.es>
Date: Fri, 5 Jun 2020 12:06:47 +0100
Subject: [PATCH] small edits

spotted some minor tweaks while chatting to Toby about code base.
---
 app/src/experimental/layers/ConnectionsLayer.vue | 2 +-
 app/src/store/index.js                           | 8 ++++++--
 app/src/views/Sandbox.vue                        | 2 --
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/src/experimental/layers/ConnectionsLayer.vue b/app/src/experimental/layers/ConnectionsLayer.vue
index 1d2b233..27c8142 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 daf70c3..479108b 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 67c9a5c..26dd838 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
-- 
GitLab