From 4668e546b33a9cb2ff044af55ba9c1c2c067d6da Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 31 Mar 2016 18:00:21 +0200 Subject: click-highlight nodes --- index.html | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'index.html') diff --git a/index.html b/index.html index 823982e..456ad87 100644 --- a/index.html +++ b/index.html @@ -24,8 +24,38 @@ .attr("height", "100%") .attr("fill", bgColor); var visualizer = new Visualizer(svg); + + var attrFontSize = 20; + function placeAttributes() { + var inputNodes = d3.selectAll(".layer-1")[0]; + var attrs = d3.selectAll(".attribute")[0]; + for (node=0; node -- cgit v1.3.1