UNPKG

phylotree

Version:

A JavaScript library for developing applications and interactive visualizations involving [phylogenetic trees](https://en.wikipedia.org/wiki/Phylogenetic_tree), written as an extension of the [D3](http://d3js.org) [hierarchy layout](https://github.com/d3/

92 lines (74 loc) 1.29 kB
.tree-selection-brush .extent { fill-opacity: .05; stroke: #fff; shape-rendering: crispEdges; } .tree-scale-bar text { font: sans-serif; } .tree-scale-bar line, .tree-scale-bar path { fill: none; stroke: #000; shape-rendering: crispEdges; } .node circle, .node ellipse, .node rect { fill: steelblue; stroke: black; stroke-width: 0.5px; } .internal-node circle, .internal-node ellipse, .internal-node rect{ fill: #CCC; stroke: black; stroke-width: 0.5px; } .node { font: 10px sans-serif; } .node-selected { fill: #f00 !important; } .node-collapsed circle, .node-collapsed ellipse, .node-collapsed rect{ fill: black !important; } .node-tagged { fill: #00f; } .branch { fill: none; stroke: #999; stroke-width: 2px; } .clade { fill: lightgrey; stroke: #222; stroke-width: 2px; opacity: 0.5; } .branch-selected { stroke: #f00 !important; stroke-width: 3px; } .branch-tagged { stroke: #00f; stroke-dasharray: 10,5; stroke-width: 2px; } .branch-tracer { stroke: #bbb; stroke-dasharray: 3,4; stroke-width: 1px; } .branch-multiple { stroke-dasharray: 5, 5, 1, 5; stroke-width: 3px; } .branch:hover { stroke-width: 10px; } .internal-node circle:hover, .internal-node ellipse:hover, .internal-node rect:hover { fill: black; stroke: #CCC; } .tree-widget { }