UNPKG

tnt.tree

Version:
36 lines (25 loc) 839 B
<!DOCTYPE html> <meta charset="utf-8"> <title>TnT Examples</title> <div id="body"> <!-- D3.js --> <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <!-- TnT --> <link rel="stylesheet" href="../../build/tnt.tree.css" type="text/css" /> <script src="../../build/tnt.tree.js"></script> <!-- Tree.js --> <script src="collapse_nodes.js"></script> <h1>Collapse tree nodes</h1> <div id="speciesTree"></div> <script> (function() { var tree_vis = tnt.tree() var theme = tnt_theme_tree_collapse_nodes(); theme(tree_vis, document.getElementById("speciesTree")); }()); </script> <footer> <aside>Released under <a href="http://www.opensource.org/licenses/apache2.0.php">Apache 2.0</a>.</aside> Copyright [2016] EMBL - European Bioinformatics Institute </footer> </div>