- set_collapsed()
-
Type : Mutator
Title : set_collapsed
Usage : $node->set_collapsed(1);
Function: Sets whether the node's descendants are shown as collapsed into a triangle
Returns : $self
Args : true or false value
- set_collapsed_clade_width()
- Sets collapsed clade width.
Type : Mutator
Title : set_collapsed_clade_width
Usage : $node->set_collapsed_clade_width(6);
Function: sets the width of collapsed clade triangles relative to uncollapsed tips
Returns :
Args : Positive number
- set_x()
-
Type : Mutator
Title : set_x
Usage : $node->set_x($x);
Function: Sets x
Returns : $self
Args : x
- set_y()
-
Type : Mutator
Title : set_y
Usage : $node->set_y($y);
Function: Sets y
Returns : $self
Args : y
- set_radius()
-
Type : Mutator
Title : set_radius
Usage : $node->set_radius($radius);
Function: Sets radius
Returns : $self
Args : radius
- set_tip_radius()
-
Type : Mutator
Title : set_tip_node_radius
Usage : $tree->set_tip_radius($node_radius);
Function: Sets tip radius
Returns : $self
Args : tip radius
- set_node_color()
-
Type : Mutator
Title : set_node_color
Usage : $node->set_node_color($node_color);
Function: Sets node_color
Returns : $self
Args : node_color
- set_node_outline_color()
-
Type : Mutator
Title : set_node_outline_color
Usage : $node->set_node_outline_color($node_outline_color);
Function: Sets node outline color
Returns : $self
Args : node_color
- set_node_shape()
-
Type : Mutator
Title : set_node_shape
Usage : $node->set_node_shape($node_shape);
Function: Sets node_shape
Returns : $self
Args : node_shape
- set_node_image()
-
Type : Mutator
Title : set_node_image
Usage : $node->set_node_image($node_image);
Function: Sets node_image
Returns : $self
Args : node_image
- set_branch_color()
-
Type : Mutator
Title : set_branch_color
Usage : $node->set_branch_color($branch_color);
Function: Sets branch_color
Returns : $self
Args : branch_color
- set_branch_shape()
-
Type : Mutator
Title : set_branch_shape
Usage : $node->set_branch_shape($branch_shape);
Function: Sets branch_shape
Returns : $self
Args : branch_shape
- set_branch_width()
-
Type : Mutator
Title : set_branch_width
Usage : $node->set_branch_width($branch_width);
Function: Sets branch width
Returns : $self
Args : branch_width
- set_branch_style()
-
Type : Mutator
Title : set_branch_style
Usage : $node->set_branch_style($branch_style);
Function: Sets branch style
Returns : $self
Args : branch_style
- set_font_face()
-
Type : Mutator
Title : set_font_face
Usage : $node->set_font_face($font_face);
Function: Sets font_face
Returns : $self
Args : font_face
- set_font_size()
-
Type : Mutator
Title : set_font_size
Usage : $node->set_font_size($font_size);
Function: Sets font_size
Returns : $self
Args : font_size
- set_font_style()
-
Type : Mutator
Title : set_font_style
Usage : $node->set_font_style($font_style);
Function: Sets font_style
Returns : $self
Args : font_style
- set_font_weight()
-
Type : Mutator
Title : set_font_weight
Usage : $node->set_font_weight($font_weight);
Function: Sets font_weight
Returns : $self
Args : font_weight
- set_font_color()
-
Type : Mutator
Title : set_font_color
Usage : $node->set_font_color($color);
Function: Sets font_color
Returns : font_color
Args : A color, which, depending on the underlying tree drawer, can either
be expressed as a word ('red'), a hex code ('#00CC00') or an rgb
statement ('rgb(0,255,0)')
- set_text_horiz_offset()
-
Type : Mutator
Title : set_text_horiz_offset
Usage : $node->set_text_horiz_offset($text_horiz_offset);
Function: Sets text_horiz_offset
Returns : $self
Args : text_horiz_offset
- set_text_vert_offset()
-
Type : Mutator
Title : set_text_vert_offset
Usage : $node->set_text_vert_offset($text_vert_offset);
Function: Sets text_vert_offset
Returns : $self
Args : text_vert_offset
- set_rotation()
-
Type : Mutator
Title : set_rotation
Usage : $node->set_rotation($rotation);
Function: Sets rotation
Returns : $self
Args : rotation
- set_clade_label()
-
Type : Mutator
Title : set_clade_label
Usage : $node->set_clade_label('Mammalia');
Function: Sets a label for an entire clade to be visualized outside the tree
Returns : $self
Args : string
- set_clade_label_font()
-
Type : Mutator
Title : set_clade_label_font
Usage : $node->set_clade_label_font({ '-face' => 'Verdana' });
Function: Sets font properties for the clade label
Returns : $self
Args : {
'-face' => 'Verdana', # Arial, Times, etc.
'-weight' => 'bold',
'-style' => 'italic',
'-colour' => 'red',
}