Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrienverge/familytreemaker
Generates a family tree graph from a simple text file
https://github.com/adrienverge/familytreemaker
Last synced: 29 days ago
JSON representation
Generates a family tree graph from a simple text file
- Host: GitHub
- URL: https://github.com/adrienverge/familytreemaker
- Owner: adrienverge
- Created: 2013-09-28T15:55:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-05-25T11:33:56.000Z (over 1 year ago)
- Last Synced: 2024-11-07T15:46:56.785Z (about 1 month ago)
- Language: Python
- Size: 164 KB
- Stars: 207
- Watchers: 17
- Forks: 82
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - adrienverge/familytreemaker - Generates a family tree graph from a simple text file (Python)
README
familytreemaker
===============This program creates family tree graphs from simple text files.
The input file format is very simple, you describe persons of your family line
by line, children just have to follow parents in the file. Persons can be
repeated as long as they keep the same name or id. An example is given in the
file `LouisXIVfamily.txt`.Installation
------------Simply clone the repo.
This script outputs a graph descriptor in DOT format. To make the image
containing the graph, you will need a graph drawer such as [GraphViz] [1].[1]: http://www.graphviz.org/ "GraphViz"
Usage
-----The sample family descriptor `LouisXIVfamily.txt` is here to show you the
usage. Simply run:
```
$ ./familytreemaker.py -a 'Louis XIV' LouisXIVfamily.txt | dot -Tpng -o LouisXIVfamily.png
```
It will generate the tree from the infos in `LouisXIVfamily.txt`, starting from
*Louis XIV* and saving the image in `LouisXIVfamily.png`.You can see the result:
![result: LouisXIVfamily.png](/LouisXIVfamily.png)