diff --git a/html/admin/js/graphViewer/demo.html b/html/admin/js/graphViewer/demo.html index 43c6458bb3..2c4eeabd64 100644 --- a/html/admin/js/graphViewer/demo.html +++ b/html/admin/js/graphViewer/demo.html @@ -246,6 +246,18 @@ viewer = new GraphViewer(d3.select("svg"), 980, 640, aaconfig, nsconfig, esconfig, layouterConfig, evconfig); } + function bindExpander() { + viewer.rebind({expand: {target: "nodes", type: "click"}}); + } + + function bindEdit() { + + } + + function bindDelete() { + viewer.rebind({}) + } + var viewer;