Container layout problem [message #242699] |
Mon, 05 May 2008 19:56 |
Eclipse User |
|
|
|
Originally posted by: abhijit.aparadh.morganstanley.com
I am trying to solve a layout problem. I have a model with 2 different
types of nodes. say Node A and Node B. Node A can contain 0 or more nodes
(of type A or B). And this hierarchy can grow recursively.
I want to design something which will lay out the nodes one below the
other without any connection between the nodes with indentation when ever
a node of type A is encountered.
e.g.
|--------------|
|Node A |
|--------------|
| Node B |
| ------------ |
| |Node A | |
| |----------| |
| | Node B | |
| | Node B | |
| | ... | |
| ------------ |
| Node B |
| ... |
|--------------|
Node of type A has compartment which contain all its children.
The "Top Node" and "Child node" etc are NOT labels, but actual figures.
Is there any way to achieve this?
Also when I load a model from file, is there any way to show the
compartments of Node A collapsed by default?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03290 seconds