Commit cdf283f1 authored by Patrick Blumenkamp's avatar Patrick Blumenkamp
Browse files

add border around svg and vary arrow size in example

parent 27a9469c
......@@ -16,8 +16,8 @@ Vue.component("genome-viewer",{
<lane v-for="lane in lanes" :key="lane.id">
</lane>
<!-- TODO: features -->
<svg height="1500px" width="1500px">
<feature v-for="(feature, index) in featureData" :key="feature.name" :feature-id="feature.name" svg-width="200" svg-height="50" :svg-x="10+(index%2 * 400)" :svg-y="index*100+10" color="grey" border-color="red" @click="featureClick">
<svg height="1500px" width="1000px" style="border: 2px solid black">
<feature v-for="(feature, index) in featureData" :key="feature.name" :feature-id="feature.name" :svg-width="(1+index)*20" :svg-height="(1+index)*10" :svg-x="10+(index%2 * 400)" :svg-y="index*100+10" color="grey" border-color="red" @click="featureClick">
</feature>
</svg>
</div>`,
......
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