Advanced TreeView algorithm needed ..

Advanced TreeView algorithm needed ..

Post by Steven Fillingh » Wed, 19 Jun 2002 14:18:04

Hi all,
  Looking for an algorithm to intelligently display a modified
TreeView that allows nodes to have 0 or more child nodes AND 1 or more
parent nodes (except root node(s) which dont have a parent).

  I am developing an application that has such a model and need an
algorithm to display such a model to the user.  It becomes complicated
when a node has two parents which are of different depths in the tree

Simple example ..

|       |
|       +---D-+-E
|             |

Here B has two children C & D, and E has two parents D & F.

Any thoughts, pointers, links etc welcome ..


Steve Fillingham