Commit 5bfee873 authored by Adam Procter's avatar Adam Procter

Merge branch 'doubleCLIKTAP'

parents 70148629 b9ab38d0
Pipeline #181 failed with stages
in 1 minute and 16 seconds
......@@ -9,4 +9,8 @@ Please also read the [Code Guide Lines](CODEGUIDELINES.md) along side watching t
Please file bugs as [issues](https://gitlab.adamprocter.co.uk/adamprocter/nodenoggin/issues).
Discussions should be had on [discourse](https://discourse.adamprocter.co.uk).
For the detailed research (also in progress) please visit [manifold](https://manifold.soton.ac.uk).
\ No newline at end of file
For the detailed research (also in progress) please visit [manifold](https://manifold.soton.ac.uk).
I also recorded a longer podcast as a kickstart on describing the project with [Doug Belshaw](https://thoughtshrapnel.com).
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/536179155&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
\ No newline at end of file
This diff is collapsed.
<template>
<div class="viewer">
<h1>STYLISH</h1>
<p>This is some dummy text, no real data yet</p>
</div>
......@@ -8,6 +10,8 @@
<script>
export default {
name: 'styled-viewer',
props: {
......
......@@ -2,6 +2,8 @@
<div id="user-interface">
<!-- the SVG.js stuff appears here -->
<styledviewer v-if="reveal"></styledviewer>
</div>
</template>
......@@ -13,8 +15,21 @@ import draggy from 'svg.draggy.js'
import connectable from 'svg.connectable.js'
import { mapGetters } from 'vuex';
import styledviewer from "@/components/styled-viewer.vue";
export default {
name: 'user-interface',
components: {
styledviewer: styledviewer
},
data:{
},
methods: {
...mapGetters([
'allObjects'
......@@ -70,12 +85,24 @@ export default {
var owner = knowledgeObj.text(element.owner)
owner.move(0,40)
// rect_1.connectable({
// container: links,
// markers: markers
// }, rect_2).setLineColor("#000000");
})
nodes.click(node => {
console.log("start connect")
})
nodes.dblclick(node => {
console.log("open styled viewer component")
// component styled-viewer
})
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment