Re: [graphviz-interest] Dendrograms/Cladograms
Ron Savage <[email protected]> Sat, 26 Dec 2015 09:37:37 +1100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Hi Hermann On 26/12/15 07:48, [email protected] wrote: > Hi Ron, > >> This is because there's no easy way of walking the tree and >> determining how wide it will spread. >> > please provide a sample input file you consider difficult. I was thinking of a tree which branches outwards, but at some point one of the outer nodes starts a trend of repeated branching back towards the center. I assume this would make it difficult to determine the height (plotted left-to-right) of the cladogram. I do admit this is speculation. > I am not sure what the input looks like, but if it is just a tree, then > simple traversal(s) will allow to determine all the information > necessary and produce the .pic file needed for the cladogram. Perhaps, but I'm uneasy about outputting .pic, since I don't know it and I don't know my target audience. Since I've already indicated I have great respect for dot, you might think that's inconsistent, but pic is not shipped with dot. What I'm trying to say is I'm juggling various goals: o Write all code in Perl. This is my strong preference. o Avoid calling any external software if possible. This is to simplify end-user usage. As it is, I've already had a formal request to automatically install dot when someone installs one of my dot-using modules. But this is a can of worms, even though now, in Perl, we have Alien::Base + it's plugins which attempts to support such installs. o If calling external software, stick to formats I'm familiar with. So, DOT language in preference to .pic. > I played a bit more with "pic", made "pic" produce a Christmas tree > today ;-) > https://twitter.com/HermannSW/status/680343940692836352 Neato, very neato. -- Ron Savage - savage.net.au _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest