Re: [graphviz-interest] Dendrograms/Cladograms

[email protected] Fri, 25 Dec 2015 21:48:42 +0100
Newsgroups gmane.comp.video.graphviz
Message-ID <20151225214842.Horde.hel-2gSZhimkHCxPGrmhAA3@webmail.stamm-wilbrandt.de>
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 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.

I played a bit more with "pic", made "pic" produce a Christmas tree today ;-)
https://twitter.com/HermannSW/status/680343940692836352

Hermann.

Quoting Ron Savage <[email protected]>:

> Hi Hermann
>
> Thanx. These things are definitely possible, but the question is:  
> How automated can this be made?
>
> Thinking about the cladogram, I've realized I will have to draw it  
> on a virtual image, to allow negative co-ords.
>
> This is because there's no easy way of walking the tree and  
> determining how wide it will spread. And this in turn is because any  
> internal node could have any number of descendants all off to one  
> side, like a giant list of cascading 'L' chars.
>
> After that initial plot, I (if I write this!) will simply scale all  
> co-ords so the minimum is 0, or some small number, to push the image  
> away from the frame.
>
> -- 
> 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