Re: [graphviz-interest] Dendrograms/Cladograms
[email protected] Sat, 26 Dec 2015 02:20:48 +0100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <20151226022048.Horde.lOPkJTKeuxkVkSND6BNh5Q4@webmail.stamm-wilbrandt.de> |
Hi, > o Write all code in Perl. This is my strong preference. > graph traversal can be done in any language including PERL. > o Avoid calling any external software if possible. This is to > simplify end-user usage. > You will call dot -- what is the difference to calling pic? > o If calling external software, stick to formats I'm familiar with. > So, DOT language in preference to .pic. > But all answers in this thread told you that your rectangular cladogram drawings cannot be done with dot, neither with nor without "splines=ortho". Is it correct that you do not have sample inputs for your cladograms yet? Without sample inputs no algorithm can be developed, regardless of programming or layout tool/language. Hermann. Quoting Ron Savage <[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 _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest