aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/d3js-graph.js
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/d3js-graph.js
parent197d9acab4fb5097d3dce56227c2096abdc075bd (diff)
Improved supervisor requests & events recording
Change-Id: I4eb52820d2bec4ca4f2e3e455db7eb79d1a09d12 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'htdocs/d3js-graph.js')
-rw-r--r--htdocs/d3js-graph.js14
1 files changed, 9 insertions, 5 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);
//});
+
+*/