From 12f5dc9ecedf0ad74cc1303c63743b6647e4081e Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 24 Mar 2015 18:03:10 +0000 Subject: Wide Coverage Translation Demo: zoomable panable collapsible syntax trees This is an experimental solution using JavaScript code from https://github.com/christos-c/tree-viewer, d3js.org and jquery.com. --- src/www/wc.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/www/wc.html') diff --git a/src/www/wc.html b/src/www/wc.html index 3d2b8e12f..b5edef790 100644 --- a/src/www/wc.html +++ b/src/www/wc.html @@ -24,8 +24,14 @@ small { color: #666; } .colors .bad_quality { background-color: #f89; } .placeholder { color: #999; } .error { color: #c00; } -div.e2 { background: white; } +div.e2 table { background: white; } span.inflect { color: blue; } + +.node { cursor: pointer; } +/*.overlay { background-color: #eed; }*/ +.node rect { fill: #fff; stroke: black; stroke-width: 1.5px; } +.node text { font-size: 10px; font-family: serif; } +.link { fill: none; stroke: #ccc; stroke-width: 1.5px; } @@ -91,7 +97,7 @@ span.inflect { color: blue; }
-Last modified: Sun Mar 22 23:30:45 CET 2015 +Last modified: Tue Mar 24 16:59:23 CET 2015
About @@ -100,6 +106,10 @@ span.inflect { color: blue; } - + + + + + -- cgit v1.2.3