DATASETS


LEAF LABEL DECORATIONS

Table of contents

Overview

Leaf decorations are colour objects / shapes to be shown between the leaf node labels and branches:

The tree:

(A:0.1,(B:0.2,(C:0.3,D:0.4)100:0.05)100:0.1)90:0.43;

the dataset:

!defaultstrokewidth	0.7
A	triangle,red:red
B	triangle,white:red
C	triangle,white:green
D	triangle,green:green

A decoration shape can be written as :

shape,fill_color[:stroke_color](_stroke_color)

Note

  1. a leaf label can have multiple decoration shapes, but only one decoration dataset can be shown at a time
  2. leaf labels can have different numbers of colour shapes; see more examples bellow. Here is an annotated example of the dataset:

Supported color shapes

  1. triangle
  2. circle
  3. rect
  4. star
  5. check

Supported modifiers

!defaultstrokewidth	0.7

Examples

Example 1:

!defaultstrokewidth	0.7
A	star,red
B	rect,red	check,green
C	star,white:red	triangle,white:green
D	circle,white:green

Add leaf label decoration to collapsed trees

Evolview supports collapsing at internal nodes; collapsed nodes are treated as leaf nodes. It is therefore very straightforward to add leaf label decorations to a collapsed tree. See here for more information.