Phylogeny visualisation library for Newick tree format.
Forked from phylocanvas-3 development branch of Phylocanvas developed by The Centre for Genomic Pathogen Surveillance
@mkoliba/phylogeny-tree
: main package containing visualisation library@mkoliba/phylogeny-tree-plugin-context-menu
: adds context menu@mkoliba/phylogeny-tree-plugin-interactions
: adds interaction features such as zoom, highlight, selection, view of subtree@mkoliba/phylogeny-tree-plugin-scalebar
: adds a scalebar to bottom left corner of canvas for length reference.@mkoliba/phylogeny-tree-plugin-annotations
: adds annotations above leaves@mkoliba/phylogeny-tree-plugin-metadata
: adds additional metadata lables and markers next to leaves
add package to your project using yarn add
or npm install -S
Clone repository and run:
yarn install
Start a development build, with optional testing page. page
should match a folder in ./dev/pages
.
yarn start [page]
Available pages with examples:
- annotations
- context-menu
- interactions
- metadata
- scalebar
- tooltip
Run yarn build inside each package, can be optionally scoped using the full package name, i.e. not the directory name.
yarn build [--scope=@mkoliba/phylogeny-tree-plugin-name]
Link every package globally.
yarn run link
-
Run a new build (see above) and commit it.
-
Login to npm
-
Run
yarn release
.
[for beta releases, choose "Custom Version" and enter "3.0.0-beta.{number}"]