-
Notifications
You must be signed in to change notification settings - Fork 78
phylotree.js API
Tony Boyles edited this page Sep 13, 2017
·
22 revisions
phylotree.js defines an object generator in the D3 namespace: d3.layout.phylotree
which is derived (in the JavaScript sense) from d3.layout.hierarchy, with all of its functions and elements. Utility (global) functions and variables are prefixed with d3_phylotree
phylotree.js uses semantic versioning.
Available topics
- Core - creating and manipulating phylotree.js objects
- Layout - functions effecting and affecting tree layout and rendering
- Options - various object-level options that control display, interactivity, etc
- [Node rendering] - functions controlling how tree nodes (tips and internal nodes) are rendered
- [Branch rendering] - functions controlling how tree branches are rendered
- [Event handling] - custom events and handlers
- [Branch selection] - functions for selecting branches based on various criteria
- d3.layout.phylotree - create an empty tree object.
- phylotree - an object representing the phylogenetic tree.
- node - an object representing a node in the phylogenetic tree.
- phylotree.placenodes - compute tree layout (screen coordinates)
- phylotree.update - render the phylotree object using current layout and styles