Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generates a family tree graph from a simple text file

NotificationsYou must be signed in to change notification settings

eusiGitHub/familytreemaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This program creates family tree graphs from simple text files.

The input file format is very simple, you describe persons of your family lineby line, children just have to follow parents in the file. Persons can berepeated as long as they keep the same name or id. An example is given in thefileLouisXIVfamily.txt.

Installation

Simply clone the repo.

This script outputs a graph descriptor in DOT format. To make the imagecontaining the graph, you will need a graph drawer such as [GraphViz]1.

Usage

The sample family descriptorLouisXIVfamily.txt is here to show you theusage. Simply run:

$ ./familytreemaker.py -a 'Louis XIV' LouisXIVfamily.txt | dot -Tpng -o LouisXIVfamily.png

It will generate the tree from the infos inLouisXIVfamily.txt, starting fromLouis XIV and saving the image inLouisXIVfamily.png.

You can see the result:

result: LouisXIVfamily.png

About

Generates a family tree graph from a simple text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python100.0%

[8]ページ先頭

©2009-2025 Movatter.jp