diff --git a/html/admin/js/graphViewer/demo.html b/html/admin/js/graphViewer/demo.html
index 456e988bc7..29b143574b 100644
--- a/html/admin/js/graphViewer/demo.html
+++ b/html/admin/js/graphViewer/demo.html
@@ -156,6 +156,10 @@
viewer.loadGraph($("#startNode").attr("value"));
}
+ function loadGraphFromAttribute() {
+ viewer.loadGraphWithAttributeValue($("#attribute").attr("value"), $("#value").attr("value"));
+ }
+
function createViewer() {
var nshape,
nlabel,
@@ -368,6 +372,32 @@
+
+