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
4
votes
3 answers

Counting p-cousins on a directed tree

We're given a directed tree to work with. We define the concepts of p-ancestor and p-cousin as follows p-ancestor: A node is an 1-ancestor of another if it is the parent of it. It is the p-ancestor of a node, if it is the parent of the (p-1)-th…
4
votes
1 answer

Data structure for a family tree with multiple partners and siblings?

I have a very basic family tree structure but I need to figure out how to make it support multiple partners and siblings without as much redundancy. The base of the entire tree is the person that's creating the tree. Consider this very simple…
meder omuraliev
  • 183,342
  • 71
  • 393
  • 434
4
votes
3 answers

creating horizontal tree with css

I have an array that i populate a genealogy table with. It is in order like this: ---------3 ----1 --------4 0 --------5 ----2 --------6 and so on... an example is…
coyne1981
  • 41
  • 1
  • 2
4
votes
2 answers

graph database for genealogy

could someone point me to a working use of a graph database for genealogy? I would like to learn neo4j and I use python so I was looking to make a genealogy graph db for myself to learn graph db's. I searched for examples to emulate and learn from…
Duncan
  • 219
  • 3
  • 8
3
votes
1 answer

Python simplepyged graphical representation of family trees

Does anyone know a way to use the python package simplepyged (for parsing gedcom files) for graphical representation of family trees? XY-Pic? Matlibplot? pictex? I appreciate any help! Thanks!
jankos
  • 896
  • 1
  • 11
  • 16
3
votes
1 answer

Create recursive view with WHERE clause

I am trying to make a view for my recursive query, and use the view with a where clause to set a starting point. CREATE TABLE dog ( id int, name varchar(50) ) CREATE TABLE dog_parent ( id int, dog_id int, parent_id int, ) This…
skorpio
  • 179
  • 1
  • 6
3
votes
1 answer

Customization of the Balkan FamilyTree Js library

Can you tell me if there is any possibility of adding custom buttons or links, or changing existing buttons and their routes on the display of the library family tree? For example, add a button next to a person's circle. Example of filling in the…
3
votes
1 answer

Grappa Graphviz dot-Visualization Problem and Questions

i am using this dot-Code for my Test: digraph G { edge [dir=none]; p1 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; q1 [shape=circle,style=filled,label="",height="0.01",width="0.01"]; q2…
bladepit
  • 853
  • 5
  • 14
  • 29
3
votes
2 answers

Implement family tree visualization in Graphviz

I am trying to build a family tree with multiple generations using Python Graphviz. I've created functions to ease adding people using their relations (add married couple, add children). Though, I am facing an issue with Graphviz layout such that…
Youstanzr
  • 605
  • 1
  • 8
  • 16
3
votes
1 answer

saving tree data in database (family tree)

I am trying to store a family tree. Here is the platform that I am using, Zend framework, Mysql, Ajax I have searched stackoverflow I came across this post which is very helpful in handling data in terms of objects. "Family Tree" Data Structure I'll…
SAM
  • 641
  • 2
  • 16
  • 30
3
votes
1 answer

is there a jquery plugin for creating something like organisational hierarchy chart?

I m woring on a genealogy project. I have been trying to find a jquery plugin for creating family tree.
Paras
  • 2,997
  • 6
  • 35
  • 46
3
votes
1 answer

Family Tree with multiple parents using D3, VX & React

Currently, I'm trying to have a family tree which will have Spouses/Partners (Multiple) Children of Spouses/Partners I want to get this done in React.js, and I am using VX for it. As per D3 tree structure, we could have only one parent for a…
Vaishak
  • 462
  • 2
  • 6
  • 17
3
votes
1 answer

Neo4j Family Tree Relationship Design

I am designing an extended family tree using Neo4j. During the design of the relationships I came up with two approaches: CREATE (p:Person)-[:PARENT_OF]->(s:Person) CREATE (p:Person)-[:STEPPARENT_OF]->(s:Person) CREATE…
Porjaz
  • 771
  • 1
  • 8
  • 28
3
votes
2 answers

How can I mitigate having bidirectional relationships in a family tree, in Neo4j?

I am running into this wall regarding bidirectional relationships. Say I am attempting to create a graph that represents a family tree. The problem here is that: * Timmy can be Suzie's brother, but * Suzie can not be Timmy's brother. Thus, it…
Monica Heddneck
  • 2,973
  • 10
  • 55
  • 89
3
votes
1 answer

Styling edges in Cytoscape.js for a Family Tree

I have a Family Tree application that uses Django and I am trying to use http://js.cytoscape.org for the UI. I would like to style edges between romantic partners like…
AlexFADev
  • 51
  • 3
1 2
3
10 11