Menu

#76 Alternative tree layout

Future
open-accepted
nobody
None
1
2013-09-30
2013-05-07
No

Please add the following way to layout trees

Instead of
A
|
+---+---+
| | |
B C D

this is shown
+---------+
| A |
| |
|B C D|
+---------+

instead of
I
|
+-----+-----+
| |
A E
| |
+---+---+ +---+----+
| | | | | |
B C D F G H

this is shown
+------------------------+
| I |
|+---------+ +----------+|
|| A | | E ||
|| | | ||
||B C D| |F G H||
|+---------+ +----------+|
+------------------------+

This is called a "inclusion tree layout"

Discussion

  • Till Tantau

    Till Tantau - 2013-08-29

    This is pretty difficult to achieve since TikZ always creates the parent node before it creates the child nodes. Even with the graph drawing library, nodes are created first and only then processed. However, it would be possible to do some magic with late adding of background code.

    I flag this as low-priority and pending.

     
  • Till Tantau

    Till Tantau - 2013-08-29
    • status: open --> open-accepted
    • Group: --> Next Release (example)
    • Priority: 5 --> 1
     
  • Till Tantau

    Till Tantau - 2013-09-30
    • Group: Next Release --> Future