Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Odud (1047)

Odud
  (email not shown publicly)

Journal of Odud (1047)

Saturday May 04, 2002
04:10 PM

Family Trees

[ #4671 ]

I've been playing with GraphViz to try to make it produce family trees. It seems to be one of those things that look easy until you try it when it suddenly becomes non-trivial.

Basic problem: how do you make it put the husband and wife in the same rank with their childen in the next lower rank.

I note than some of the GraphViz::X authors report that reordering of the nodes is a problem - for family trees you almost always want the children to be in order of birth and not to be reordered by the layout algorithm.

The ability to produce a pretty diagram from a simple .dot file is very impressive however.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Basic problem: how do you make it put the husband and wife in the same rank with their childen in the next lower rank.

    Isn't that the problem all parents face?

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers