xofc / ged2dot

Genealogy : Creates a simple Graphviz .dot file from a GEDCOM file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ged2dot

Genealogy : Creates a simple Graphviz .dot file from a GEDCOM file.

This simple PERL script generates a simple .dot file from de .ged file.

Usage is : $ ./ged2dot.pl < x.ged > x.dot or $ ./ged2dot.pl < x.ged |dot -Tps -o x.ps

'Individual' nodes, I*, are labelled after the NAME records; 'Family' nodes, F*, are implicitly created by FAMC & FAMS records; FAMC records create F->I relations; FAMS records create I->F relations.

'@' are removed because dot(1) doesn't like them.

This is just a quick&dirty hack...

See also:

About

Genealogy : Creates a simple Graphviz .dot file from a GEDCOM file.

License:GNU General Public License v2.0


Languages

Language:Perl 100.0%