Questions tagged [family-tree]

A family tree, or pedigree chart, is a chart representing family relationships in a conventional tree structure.

The more detailed family trees used in medicine, , and social work are known as genograms. (From Wikipedia)

165 questions
7
votes
1 answer

Directed Acyclic Graph with Hierarchical Layout

I am trying to programmatically build a family tree. I don't care what format the input data is in, as text is easy to parse (I'm an NLP researcher), but I'm having trouble figuring out how to build (display) the tree. Here are my issues: Family…
7
votes
2 answers

"Family Tree" Data Structure

I'm looking for a way to represent a family tree in PHP. This means that children will need to inherit from two (or more) parents. Here are the requirements: 1, 2, or more parents Bonus points if I can attach metadata like a last name or…
Casey Chu
  • 25,069
  • 10
  • 40
  • 59
7
votes
5 answers

CSS3 family tree, how to add wife

I'm following this guide on how to make a family tree using only CSS3. But I can't really get my head around how to make a marriage. To clarify: What the codes does now is this: what i want to add is this: I know it's a simple question, but right…
Michael Tot Korsgaard
  • 3,892
  • 11
  • 53
  • 89
7
votes
1 answer

Drawing family trees with WPF

I'm searching for tutorials on how to draw a family tree with WPF (and C#). Something like http://www.myheritage.nl/FP/family-tree.php?s=65040841 or Family.Show but for a complete beginner. Family.Show is a bit too complex to start. I don't want to…
user145042
6
votes
4 answers

Cladogram, tree of life, cladistics, taxonomy in JS or canvas?

Good people - I need some help to find a way to create an interactive cladogram or phylogenetic tree (yes, I have read all related posts, and do not find what I am looking for). The thing is, I need the nodes to be name-able. An example would be…
benteh
  • 2,218
  • 4
  • 31
  • 41
6
votes
3 answers

MySQL Store Relationship (Family) Tree

I need to build a family tree in php and MySQL. I'm pretty surprised at the lack of open source customizable html family tree-building software there is out there, but I digress. I have spent a lot of time reading about storing MySQL digraphs and…
Explosion Pills
  • 188,624
  • 52
  • 326
  • 405
6
votes
3 answers

Logic for family tree program

I am creating a family tree program in Java, or at least trying to. I have developed several classes: Person - getters and setter for name gender age etc FamilyMember - extends Person getters and setters for setting parents and children Family -…
dr85
  • 733
  • 3
  • 13
  • 19
6
votes
1 answer

javascript library for building tree-node hierarchy

I am looking for JavaScript library that can perform the following tasks: Dynamically generate tree (graph-node) (hierarchy structure of data) Can connect nodes together Zoom option for graph area labels for each node Basically, like…
user1476552
  • 107
  • 1
  • 1
  • 11
6
votes
3 answers

How can I construct a family tree with Perl?

I have a programming assignment in Perl that requires me to do the following: Creates a table in a mySQL database, and inserts these records into it: Loads the data from the table into an array of instances of class Son. Using the array, creates…
Troy C.
  • 79
  • 5
5
votes
0 answers

powerbi how to create family trees/Hierarchy Chart with multiple children

This link shows how to create family trees/Hierarchy Chart in powerBI using the Hierarchy Chart Custom Viz by Akvelon. It shows how a node could have a multiple parents. But is there a way to have multiple children for the same parent? Visual…
user2543622
  • 5,760
  • 25
  • 91
  • 159
5
votes
4 answers

Find path for N levels with repeating pattern of directional relationships in Neo4J

I'm trying to use Neo4j to analyze relationships in a family tree. I've modeled it like so: (p1:Person)-[:CHILD]->(f:Family)<-[:FATHER|MOTHER]-(p2) I know I could have left out the family label and just had children connected to each parent, but…
tralston
  • 2,825
  • 3
  • 19
  • 22
4
votes
1 answer

What is the best way to implement a family tree using ASP.NET MVC & SQL Server

I am trying to create a Family Tree website (for personal use) using MVC3 and SQL Server 2008 however I am relativly new to MVC3 (Using Razor & Entity Framework) but know SQL Server quite well. I am getting quite frustrated and am tempted to develop…
tmccallion
  • 51
  • 3
4
votes
3 answers

Family Tree display

I am creating a family tree program. My question is how do i position the nodes? Originally i positioned the root at the center of my screen and it works fine if it is a perfect binary tree and the levels are very less. However it is not most often…
TCM
  • 16,780
  • 43
  • 156
  • 254
4
votes
2 answers

Query the relation between two people in a Prolog Family Tree

Suppose I have the below code in my familyTree.pl file: male(tom). male(bob). female(lisa). female(emily). parent(tom, bob). parent(lisa, bob). morethanfriends(emily, bob). father(X,Y) :- male(X), parent(X,Y). mother(X,Y) :- female(X),…
Cihan Keser
  • 3,190
  • 4
  • 30
  • 43
4
votes
2 answers

Family Tree CSS

Is there a way to get a child element to follow its parent? The problem is that if there is only one child and the parent has a huge text to it, the position of the connector becomes really bad. How can I fix it? Fiddle demo * {margin: 0; padding:…
Curunir
  • 1,186
  • 2
  • 13
  • 30
1
2
3
10 11