Tree viewer¶
Try it on a tree made here and now:
Drop a Newick file anywhere on this page, or . Nothing leaves your browser. Drop a second file with a header and one row per tip and it is drawn as strips beside the names.
Or paste one
Drag to move, wheel to zoom, double-click to zoom in. From a keyboard, tab to the picture and use up and down to move, plus and minus to zoom and Home to fit; the circular and unrooted views move sideways too. On a screen with the room for it, a small picture of the whole tree says where you are: a rail down the right in the rectangular view, a dial in the corner in the other two, with the part you are looking at marked on it. Clicking or dragging there goes straight to that part. Circular is the same tree in polar coordinates, with depth becoming radius and row becoming angle, so switching to it never asks the program for anything. Unrooted is a different walk with no root and no rows at all, so that one is worked out again and then never again. The layout is worked out once by the program and never again: what moves is the window onto it, so a gesture costs a repaint of what is on screen and never a walk over the tree. Export hands the view back to the program and saves karyon's own figure of it.
The same view from a shell: