Folks,

I've just started on this project, so hints on which way to head would
be appreciated.
I'm posting it up in the hopes that someone will say, "Hey, that's what
Project Y does" and that way I don't have to reinvent the wheel.

I got some data in the form of:
Head
SubHeadA
SubSubHead1
SubSubHead2
SubSubHead3
SubHeadB
SubSubHead1
SubSubHead2

What I need to do is arrange that data in some kind of tree form.
Something like (excuse the bad ascii drawing, hopefully it'll come through):

                          Head
                            |
                           /\
              SubHeadA            SubHeadB
                  |                  |
                / | \              / | \
     SubSubHead1  2  3   SubSubHead1 2  3

Ascii would be acceptable, bonus points for graphical.
I said "Org Chart" in the subject because that's the closet thing I could think of that represents the idea I'm shooting for. I suppose I could have said "hierarchal collection of boxes" or maybe "tree of boxes" if that helps.

Ideas on where to start?

-ajb


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to