Bio-Phylo - Re: drawing larger trees

Posted on Fri Jan 25 22:58:38 2008 by rvosa in response to 6684 (See the whole thread of 3)
Re: drawing larger trees
Dear Eleysanne,

my apologies for the late reply. Any additional style (font-family, font-size, font-weight, color, etc.) can be applied as per the documentation for Bio::Phylo::Treedrawer::Svg. Basically, what you do is iterate in this case over all nodes, and for each node add
$node->set_generic( 'svg' => { 'font-size' => '9px' } )
In other words, add a key called 'svg' and a value consisting of a hash reference where the keys are standard CSS properties and the values are standard CSS values.

Hope this helps,

Rutger
Write a response