Differential formatting of node labels in nw_display
Opened this issue · 1 comments
Hi,
I find the ability of nw_display to plot trees in SVG and customize them with a CSS style excellent. However, there is something that I do not manage to do.
When using a CSS file, I can assign a different style to the branches of different clades. However, the same is not possible on clade name labels. The -l and -i options exist, but they affect the all clade labels, without offering the option to change the label style of the arbitrary clades.
FYI, what I am trying to achieve here is make specific nodes transparent (both the branches and the text associated with it). Maybe the grammar of the CSS file could be extended in a future version from:
<CSS> <flag> <label>+
to:
<CSS> <flag> <elem> <label>+
where is B, L, or N for affecting either the 'B'ranch, its 'L'ength label, or its 'N'ame. This would give more customization possibilities.
Best,
Florent
That's a good idea. I'll put it into my TODO list. Currently I am finilizing the re-write of the manual (moved from LaTeX to ConTeXt), so I have frozen the addition of features, but once the new manual is out, I'll look into it.
Thanks!
Thomas