GithubHelp home page GithubHelp logo

familytreemaker's Introduction

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.

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

familytreemaker's People

Contributors

adrienverge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

familytreemaker's Issues

Multiple Ancestors

I am trying to model my family tree, with multiple ancestral branches leading to me rather than a single ancestor, but it seems this program only uses one common ancestor and puts everybody else into a straight line :c

Overlapping nodes?

It seems this code has a maximum size for a given generation, for instance I wanted to put my grandmother's five children but on the 4th one, where there's supposed to be another son, I can only see a line from the 3rd children that connects itself with the parenting line, and there's no node for that 4th person, but the weirdest thing is that after that 4th person, the 5th one fits just perfectly, so I don't know how and why is this occurring, because I followed the syntaxis instructions and all the other generations that have fewer members work, so I guess it has a limited amount of people per generation?

error

I must note that the same error occurs with the partner of a given person from that generation, as it only shows the wife and then a self connecting line (and the line that goes to their children) and right next to that node, her sister.
error2

Marriage Dates

This program is great!
It would be handy if one could add the date of marriage to couples as well.

Want to add to existing program for tracking goats

Hey,
I am making a program to keep track of a herd of goats. I want a family tree maker that can show you a visual representation of any goats family tree.
I really like the look of this program, I am having some issues implementing it though. When I run the code just with a simple text file I have made of a small selection of goats (I want this to be automated later on by reading from the database and creating the text file dynamically) but what happens is it only displays in a single line all the goats I have added, not in a family tree way.
Also, I have to run the dot command seperately to get the image generated.
WIth goats, a single female will sometimes have children with different males. how does your program handle this? I realise it is not the exact same case as a human family tree, I just wanted to reach out and see what you had to say. Thanks.
T.V.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.