summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-12 17:52:40 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:59:54 +0200
commit75eb2161c641f85dded64a99cb862abfab64eff7 (patch)
treec2c6c515e45bba9ca1b2e30fe392342cab643ae0 /htdocs
parent197d9acab4fb5097d3dce56227c2096abdc075bd (diff)
Improved supervisor requests & events recording
Change-Id: I4eb52820d2bec4ca4f2e3e455db7eb79d1a09d12 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/d3js-graph.js14
-rw-r--r--htdocs/index.html2
-rw-r--r--htdocs/iotbzh-Binding.js3
3 files changed, 12 insertions, 7 deletions
diff --git a/htdocs/d3js-graph.js b/htdocs/d3js-graph.js
index 16b8939..ab826b8 100644
--- a/htdocs/d3js-graph.js
+++ b/htdocs/d3js-graph.js
@@ -86,8 +86,6 @@ function graphAGLBindings() {
});
}
-console.log("SEB d3", d3);
-
// http://bl.ocks.org/mbostock/1153292
// Compute the distinct nodes from the links.
@@ -188,8 +186,9 @@ function graph_mobile_patent_suits() {
}
}
+/*
+Just a test of http://bl.ocks.org/d3noob/8375092
-// http://bl.ocks.org/d3noob/8375092
function interactive_tree() {
var treeData = [{
@@ -404,6 +403,10 @@ function interactive_tree() {
}
}
+*/
+
+/*
+Just a test of https://bl.ocks.org/mbostock/1044242
var flare = [
{"name":"flare.analytics.cluster.AgglomerativeCluster","size":3938,"imports":["flare.animate.Transitioner","flare.vis.data.DataList","flare.util.math.IMatrix","flare.analytics.cluster.MergeEdge","flare.analytics.cluster.HierarchicalCluster","flare.vis.data.Data"]},
@@ -628,7 +631,6 @@ var flare = [
{"name":"flare.vis.Visualization","size":16540,"imports":["flare.animate.Transitioner","flare.vis.operator.IOperator","flare.animate.Scheduler","flare.vis.events.VisualizationEvent","flare.vis.data.Tree","flare.vis.events.DataEvent","flare.vis.axis.Axes","flare.vis.axis.CartesianAxes","flare.util.Displays","flare.vis.operator.OperatorList","flare.vis.controls.ControlList","flare.animate.ISchedulable","flare.vis.data.Data"]}
];
-// https://bl.ocks.org/mbostock/1044242
function hierarchy_edge_bundling() {
var diameter = 960,
@@ -740,7 +742,7 @@ function hierarchy_edge_bundling() {
}
}
-
+// Load a graph on startup
//$("#graph").ready(function(){
setTimeout(function () {
//graph_mobile_patent_suits();
@@ -748,3 +750,5 @@ setTimeout(function () {
//hierarchy_edge_bundling();
}, 500);
//});
+
+*/
diff --git a/htdocs/index.html b/htdocs/index.html
index 7a3f4a8..2fdccd4 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -34,7 +34,7 @@
<button onclick="graphAGLBindings();">Graph AGL bindings</button>
</li>
- <button onclick="callbinder('xds', 'trace', {'ws': 'unix:ave'});">Trace ws unix:ave</button>
+ <button onclick="callbinder('xds', 'trace', {'ws': 'can_emul'});">Trace ws can_emul</button>
</li>
</div>
diff --git a/htdocs/iotbzh-Binding.js b/htdocs/iotbzh-Binding.js
index 1d28658..a64461b 100644
--- a/htdocs/iotbzh-Binding.js
+++ b/htdocs/iotbzh-Binding.js
@@ -85,6 +85,7 @@ function callbinder(api, verb, query) {
//**********************************************
//
//**********************************************
+/*
var topo = null;
function getTopo() {
@@ -119,7 +120,7 @@ function getTopo() {
console.log()
});
};
-
+*/