md8d@mithras.cs.Virginia.EDU (Mriganka Das ) (03/16/91)
Hi netters, Not wanting to re-invent the wheel, I would like to know if anyone has code to DRAW AN (UNBALANCED) BINARY TREE, with a three-tuple of integers as node labels. Obviously any well written code will render irrelevant whether it's a 3-tuple labelling and whether it is unbalanced but I threw them in for the sake of completeness. I would prefer ANSI C, C or Pascal code in that order. I am prepared to give whatever type of input is required, i.e parent pointer, or leftchild rightchild representation, by such a code fragment. Thanks in advance. Any help will be sincerely appreciated and acknowledged. We are trying to grow some cluster trees, and need them fast for a submission deadline, else I would have coded them myself. I guess it would be preferable to mail replies directly to me. - Mrigank.