Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a genealogy family tree showing the relationship between you and another relative
ResourceFunction["GenealogyTreePlot"][relationship] generates a tree showing how the specified relationship relates to you. |
Show the relationship between you and your mother:
In[1]:= | ![]() |
Out[1]= | ![]() |
Show the relationship between you and your father:
In[2]:= | ![]() |
Out[2]= | ![]() |
Show the relationship between you and a gender-neutral sibling:
In[3]:= | ![]() |
Out[3]= | ![]() |
Show the relationship between you and your brother:
In[4]:= | ![]() |
Out[4]= | ![]() |
Show the relationship between you and your sister:
In[5]:= | ![]() |
Out[5]= | ![]() |
Show the relationship between you and your grandmother:
In[6]:= | ![]() |
Out[6]= | ![]() |
Show the relationship between you and your grandfather:
In[7]:= | ![]() |
Out[7]= | ![]() |
Show the relationship between you and your great grandfather:
In[8]:= | ![]() |
Out[8]= | ![]() |
Show the relationship between you and your fourth great grandfather:
In[9]:= | ![]() |
Out[9]= | ![]() |
Show the relationship between you and your grandfather's grandfather:
In[10]:= | ![]() |
Out[10]= | ![]() |
Show the relationship between you and your cousin:
In[11]:= | ![]() |
Out[11]= | ![]() |
Show the relationship between you and your first cousin:
In[12]:= | ![]() |
Out[12]= | ![]() |
Show the relationship between you and your first cousin once removed:
In[13]:= | ![]() |
Out[13]= | ![]() |
Show the relationship between you and your aunt:
In[14]:= | ![]() |
Out[14]= | ![]() |
Show the relationship between you and your great uncle:
In[15]:= | ![]() |
Out[15]= | ![]() |
Show the relationship between you and your great great aunt:
In[16]:= | ![]() |
Out[16]= | ![]() |
Show the relationship between you and your nephew:
In[17]:= | ![]() |
Out[17]= | ![]() |
Show the relationship between you and your grand nephew:
In[18]:= | ![]() |
Out[18]= | ![]() |
Show the relationship between you and your mother's grandfather:
In[19]:= | ![]() |
Out[19]= | ![]() |
Show the relationship between you and your first cousin three times removed:
In[20]:= | ![]() |
Out[20]= | ![]() |
Show the relationship between you and your mother's mother's mother:
In[21]:= | ![]() |
Out[21]= | ![]() |
Show the relationship between you and your mother's second cousin once removed:
In[22]:= | ![]() |
Out[22]= | ![]() |
Default colors for the nodes can be overridden:
In[23]:= | ![]() |
Out[23]= | ![]() |
"Removed" and "Ordinal" qualifiers must be an integer:
In[24]:= | ![]() |
Out[24]= | ![]() |
Some relationships can be referred to multiple ways. In these cases, the plot will be labeled with a canonicalized label for the relationship. Here your mother's second cousin once removed is referred to as your second cousin twice removed:
In[25]:= | ![]() |
Out[25]= | ![]() |
Your grandfather's granddaughter could be one of several relationships, but the tree only provides one:
In[26]:= | ![]() |
Out[26]= | ![]() |
Your brother's sister could be one of several relationships, but the tree only provides one:
In[27]:= | ![]() |
Out[27]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License