|Pathologically Eclectic Rubbish Lister|
Re: representing a tree graphically...by jreades (Friar)
|on Jan 09, 2002 at 03:53 UTC||Need Help??|
Well, it depends. :^)
If this is an HTML-related question, then I've always preferred to use a LoL along the following lines:
This does away with the sorting issue and gives you a fairly obvious way to change parameters in a menu so that if you need a special icon or want to manipulate the menu while writing an HTML file, you can.
Of course, this doesn't have any obvious mechanism for drawing your nodes correctly (this straight scenario works best for DHTML menus where elements aren't supposed to cause a reflow.
I don't know if this exactly answers your question since it's unclear (to me at least) what your output format is, and I do like some aspects of your system a lot (the matrix transformations seem quite quick and simple), while having doubts about others (the numbering scheme is unduly difficult for a human to read).