in reply to Re: (cLive ;-) Re: representing a tree graphically...
in thread representing a tree graphically...
Nice code, but one thing's not as it should be (which I implied, but didn't specify *explicitly* before). I need the nodes to display in order (to allow users to build the order they want pages displayed in when menus are drawn, so they need to be sorted by 'treepath', eg:
and not the re-ordered way that your code outputs the tree at the moment, if that makes sense.#one + #two | \ #five | \ #boo | \ #baz \ #three + #four + #yak \ #six + #foo | \ #yuk \ #ggg
But thanks for the insight. I'll have a little play with the ideas you presented.
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (cLive ;-) Re: representing a tree graphically...
by hossman (Prior) on Jan 10, 2002 at 03:02 UTC |