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
0
votes
1 answer

Fetching nested data with NEO4J in Family Tree

First of all, I'm new to NEO4J and to CYPHER. So I'm twerking here and there to figure out to get the result I want. Below is my graph. Let's say it's a simple family tree. I have come up with this simple cypher query to fetch the direct…
Sithira
  • 995
  • 1
  • 7
  • 18
0
votes
0 answers

MySQL Family Tree Recursive Query (version 5.6)

I am trying to get a query that returns a family tree from the very first ancestor to their last descendant. I am using MySQL version 5.6, and here is the query I came up with: SELECT p1.individual_id as ParentId, …
AMR
  • 1
  • 2
0
votes
3 answers

How to filter out array of objects based on gender using filter in javascript?

Below is the code I am trying out to filter out the array for males and females. But it seems it is returning the whole array again in both male and female variables. const male = await familyTree.filter(async(uncle) => {uncle.gender === 'Male'});…
Bunny808
  • 1
  • 1
0
votes
1 answer

How to access or loop through the nested array of objects which can be infinite sometimes or keep adding by the user in jSON array objects in nodejs?

I have a JSON object which has a nested array as children. So basically I have a family tree that can gets keep expanding means the addition of children can happen. And I want to access every object inside this family tree via a loop. How can I do…
Biku7
  • 450
  • 6
  • 16
0
votes
0 answers

Concept to find common ancestor in family tree SQL/PHP

I have one table in MariaDB with persons: I have one PHP to show a tree of a person of interest. It shows parents upwards, and children downwards, both recursivley. My plan was to add a PHP to show common ancestor. But I don't know what my approach…
Robbas
  • 39
  • 1
  • 9
0
votes
0 answers

Find common ancestor in SQL family tree WITH clause, table doesn't exist

I looked at How to get lowest, common parent for 2 rows in recursive table (SQL) where they suggest: WITH hier1 (id, parent) AS ( SELECT id, parent FROM table WHERE id = @user1 UNION ALL SELECT id,…
Robbas
  • 39
  • 1
  • 9
0
votes
0 answers

Create family tree using linked list and transverse tree in preorder in C

I wanna create a family tree using linked list and transverse the tree in preorder. Rule 1: Each of the node should contain name, gender, pointer for storing the husband's/wive's information, and pointers to store the children's information. Rule 2:…
yiheng
  • 1
  • 1
0
votes
1 answer

Layout Problem between Labels Dot Language Graphviz

I am having issues on keeping Marge near Homer and Herb near Lucia to avoid this above-line (check the image). Basicly i need to keep married couples together and push aside brothers to fix the lines from mixing. Here is my source code: digraph G { …
0
votes
1 answer

Need a good UI development tool for newbie for a complex org chart or family chart

I have a very complex org chart or a family chart with confusing relationships. For eg. a child can have multiple parents and each child will have multiple properties which can point to another data up in the tree(like a dotted relationship) The…
msathia
  • 81
  • 1
  • 7
0
votes
0 answers

GEDCOM compatible file output in C#.NET

I tried to create a simple interface for building a gedcom compatible text file using C#.NET. I am stuck with proper FAM record creation (I mean, something is logically wrong in my code). I believe that tester.cs has a complete information of…
Bimal Poudel
  • 1,214
  • 2
  • 18
  • 41
0
votes
1 answer

How with a help of id connect family members in a family tree program with SQL Server?

I am working a program in C# in a Visual Studio development, as a base, I am using SQL Server 2016. My problem is that I can't determine who is related to whom using the ID of each member.
Balsa
  • 1
0
votes
0 answers

Plotting pedigree / famliy tree using igraph in R

I have some very simple pedigree data that I would like to make visualise graphically. Example data here I have tried with kinship2, but had no success - see here for previous issues with kinship2 I have also been trying with igraph but have not…
TomCLewis
  • 145
  • 2
  • 10
0
votes
1 answer

Error in kinship2 creating of pedigree object

I am trying to plot very simple pedigrees with kinship2. I only have one generations but lots of different families. id <- sample(1:100, 50, replace=F) dadid <- sample(100:110, 50, replace=T) momid <- sample(111:121, 50, replace=T) sex <-…
TomCLewis
  • 145
  • 2
  • 10
0
votes
0 answers

degree of kinship in the family tree

I'm writing a family tree program and I'm having troubles with realization of degree of kinship.I inputting two names, and program need to output degree of kinship. For example, when you enter - Alison and Anthony, it should turn out that Anthony is…
hardkaze
  • 1
  • 1
0
votes
0 answers

Write a function to find the family tree of a tweet

I have a dataframe in Python, listing a bunch of tweets with their id, created time and the tweet id each one has interacted with. e.g. 006 to 004, 002 quoted 999 (999 is an old tweet, not listed here). The table is sorted based on the created…
Joseph Yang
  • 49
  • 1
  • 4