Commit 9c1ad6aa authored by Adam Procter's avatar Adam Procter

//wip

parent 70148629
Pipeline #177 failed with stages
in 1 minute and 1 second
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,16 @@ 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
},
methods: {
...mapGetters([
'allObjects'
......@@ -70,12 +80,19 @@ export default {
var owner = knowledgeObj.text(element.owner)
owner.move(0,40)
// rect_1.connectable({
// container: links,
// markers: markers
// }, rect_2).setLineColor("#000000");
})
nodes.dblclick(node => {
console.log("yo")
// 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