evolbioinfo / gotree

Gotree is a set of command line tools and an API to manipulate phylogenetic trees. It is implemented in Go language.
GNU General Public License v2.0
118 stars 15 forks source link

Strange label placement on radial svg #25

Open hinz1 opened 1 month ago

hinz1 commented 1 month ago

When drawing radial (-r) svg images from newick trees labels get placed too close to tips and get rotated strangely. I guess it looks kind of OK with the fixed 8px font-size (which is way to small for presentations) but after enlarging the labels it looks awkward. Labels overwrite branches etc. An example: echo "((Axx,Bxx),Cxx,(Dxx,Exx));" |/usr/local/bin/gotree draw svg -r So, as a feature request: additional options to manipulate font size for labels, text rotation and text placement would be highly appreciated.