Parse relation snippets
Change-Id: I41d7c091a95f7478126cfd56bbd9dba179797c9a
diff --git a/dev/demo/relations.html b/dev/demo/relations.html
index 89abf06..fc4ce98 100644
--- a/dev/demo/relations.html
+++ b/dev/demo/relations.html
@@ -15,12 +15,12 @@
<div class="matchinfo">
<div class="matchtree">
<div id="treeRel"></div>
+ <div id="treeRel2"></div>
<div id="treeHier"></div>
</div>
</div>
</li>
</ol>
</div>
-
</body>
</html>
diff --git a/dev/demo/relationsdemo.js b/dev/demo/relationsdemo.js
index bba73ac..200894e 100644
--- a/dev/demo/relationsdemo.js
+++ b/dev/demo/relationsdemo.js
@@ -165,6 +165,11 @@
// Todo: Probably rename to rel.draw()
rel.show();
+ var rel2 = relClass.create(relSnippet);
+ document.getElementById("treeRel2").appendChild(rel2.element());
+ rel2.show();
+
+
var tree = treeClass.create(treeSnippet);
document.getElementById("treeHier").appendChild(tree.element());
});