pgf-tikz / pgf

A Portable Graphic Format for TeX
https://pgf-tikz.github.io/
1.11k stars 106 forks source link

Alternative tree layout #600

Open pgf-tikz-bot opened 11 years ago

pgf-tikz-bot commented 11 years ago

Migrated from SourceForge Author: dschon2013 Timestamp: 2013-05-07 07:10:46

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"

pgf-tikz-bot commented 11 years ago

Migrated from SourceForge Author: tantau Timestamp: 2013-08-29 12:12:33.247000

pgf-tikz-bot commented 11 years ago

Migrated from SourceForge Author: tantau Timestamp: 2013-08-29 12:12:33.655000

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.

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge Author: tantau Timestamp: 2013-09-30 09:58:36.334000