Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
WIP: convert to huviz.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Murphy committed Dec 1, 2013
1 parent c6c0e08 commit f6d7d10
Show file tree
Hide file tree
Showing 9 changed files with 1,711 additions and 535 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*~
7 changes: 4 additions & 3 deletions crrt.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
<link href="/css/CRRT.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="edgectrl" class="CRRT">CRRT goes here</div>
<div id="edgectrl" class="CRRT"></div>
<script src="http://d3js.org/d3.v3.js" charset="utf-8"></script>
<script src="js/mintree2d3tree.js" charset="utf-8"></script>
<script src="js/crrt.js" charset="utf-8"></script>
<script>
var CRRTT;
window.addEventListener('load',function(){
CRRTT = new CollapsibleRadialReingoldTilfordTree();
CRRTT.show_tree_in("orlando_tag_tree_PRETTY.json","edgectrl");

//CRRTT.show_tree_in("orlando_tag_tree_PRETTY.json","edgectrl");
//CRRTT.show_tree_in(CRRTT.demo_tree,"edgectrl",false);
CRRTT.show_tree_in("flare.json","edgectrl");
});

</script>
Expand Down
2 changes: 1 addition & 1 deletion css/CRRT.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.CRRT {
z-index:4;
position:absolute; top:0; right:0;
width:400; height:400;
width:300; height:300;
background-color:lightgreen;
}
.node {
Expand Down
14 changes: 12 additions & 2 deletions huvis.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,18 @@
<script src="js/greener_turtle.js" charset="utf-8"> </script>
<script src="js/sortedset.js" charset="utf-8"> </script>
<script src="js/huvis_node_ctrl.js"></script>
<script src="js/huvis.js" charset="utf-8"> </script>
<script src="js/CRRT.js" charset="utf-8"> </script>
<script src="js/huviz.js" charset="utf-8"> </script>
<script src="js/huvisgl.js" charset="utf-8"></script>

<script src="js/mintree2d3tree.js" charset="utf-8"></script>
<script src="js/crrt.js" charset="utf-8"></script>
<script>
var CRRTT;
window.addEventListener('load',function(){
CRRTT = new CollapsibleRadialReingoldTilfordTree();
//CRRTT.set_center()
CRRTT.show_tree_in("orlando_tag_tree_PRETTY.json","edgectrl",false);
});
</script>
</body>
</html>
Loading

0 comments on commit f6d7d10

Please sign in to comment.