Difference between revisions of "trees"

From GeneWeb
Jump to: navigation, search
m
(two different methods)
Line 8: Line 8:
 
Beyond these predefined or parametrisable trees, it is possible, with some effort and perseverance, to construct much richer trees. An example has been provided by Michael White:
 
Beyond these predefined or parametrisable trees, it is possible, with some effort and perseverance, to construct much richer trees. An example has been provided by Michael White:
  
[[Image:Arbre_m_white.png|2000px]]
+
== Using path from a root to its ancestors ==
 +
[[Image:Arbre_m_white.png|1000px]]
  
 
This tree is the result of the merge of all paths between the root and a selected set of sosa illustrating the level of inbreeding in the ancestry.
 
This tree is the result of the merge of all paths between the root and a selected set of sosa illustrating the level of inbreeding in the ancestry.
Line 14: Line 15:
 
Note on this example that certain persons are displayed multiple times (for instance Flora M. Maxwell, the mother of the root), due to the fact that it is not possible to reorganise this graph in the plane without crossing lines.
 
Note on this example that certain persons are displayed multiple times (for instance Flora M. Maxwell, the mother of the root), due to the fact that it is not possible to reorganise this graph in the plane without crossing lines.
  
Building such a tree is achieved in the following fashion:
+
It is built by a url containing three parts:
*<code><nowiki>http://localhost:2317/base?;m=RLM;</nowiki></code> followed by a succession of {{c|1=i<sub>1+2p</sub>=index<sub>1+2p</sub>;i<sub>2+2p</sub>=index<sub>2+2p</sub>;}} p vaying from 0 to n (limit?).
+
*<code><nowiki>http://localhost:2317/base_name?pz=stanley+edison;nz=white;ocz=0;</nowiki></code> is the prefix, setting Stanley Edison White as the sosa 1,
*index<sub>1+2p</sub> is the index of a person, as defined by GeneWeb (see [[namesake|Managing namesakes]]).
+
*<code>m=DAG;p1=stanley+edison;n1=white;</code> is the GeneWeb command, setting Stanley Edison White as the root of the tree,
 +
*the remainder is a succession of {{c|1=s<sub>i</sub>=sosa_number<sub>i</sub>;}} where {{c|sosa_number<sub>i</sub>}} is the sosa number of the ancestor you have chosen to include in the tree.
 +
 
 +
The url can be enriched with {{c|1=image=on;}} and {{c|1=spouse=on;}}.
 +
 
 +
== Using path between two individuals ==
 +
[[Image:Arbre_henri.jpg||1000px]]
 +
 
 +
Another possibility uses the path between any two persons in the following fashion:
 +
*<code><nowiki>http://localhost:2317/base_name?;m=RLM;</nowiki></code> as prefix and GeneWeb command,
 +
*followed by a succession of {{c|1=i<sub>1+2p</sub>=index<sub>1+2p</sub>;i<sub>2+2p</sub>=index<sub>2+2p</sub>;}} p vaying from 0 to n (limit?) where <code>index<sub>1+2p</sub></code> is the index of a person, as defined by GeneWeb (see [[namesake|Managing namesakes]]).
 
*one can associate a text to each person through the parameter {{c|1=t<sub>1+2p</sub>=free text;}}. This text will be displayed boldface next to the name.  
 
*one can associate a text to each person through the parameter {{c|1=t<sub>1+2p</sub>=free text;}}. This text will be displayed boldface next to the name.  
  
The graph is the result of the union of all ascendance path between the couples designated by {{c|1=i<sub>1+2p</sub>=index<sub>1+2p</sub>;i<sub>2+2p</sub>=index<sub>2+2p</sub>;}}.
+
The example above merges all the ascendance path between between Henri Bidaud '''(lui)''' and its relations (godparents, godchildren, person for which he was witness at some event), and has been augmented, for the sake of demonstration, by some links to a common ancestor.
At this day, paths through marriage are not taken into account.
+
 
 +
At this time, there is no option to instruct the {{c|m=RLM}} command do use relation by marriage paths. This explains the isolated person "Francis Redier" '''(mariage)''' for which Henri was witness to his wedding with Chantal Bridaud.  
  
 
The url can be enriched with {{c|1=image=on;}} and {{c|1=spouse=on;}}.
 
The url can be enriched with {{c|1=image=on;}} and {{c|1=spouse=on;}}.

Revision as of 07:13, 9 June 2016

150px-Geographylogo svg.png Language: English • français

GeneWeb provides a powerful tool to build and display trees. Ascendant/Descendants menu offers a rich set of options to display ascendances or descendances as lists or trees, with or without spouses, with or without images, ...

The templm template offers similar functions under the headings "Ascendants", "Siblings", "Descendants", as well as under the "Relations" heading. The latter displays the tree between the selected eprson ans all its relations (godfather, godmother, godchildren, persons to which he or she was witness at some event. Each event in turn offers a button to display the relation between the person and its witnesses.

Beyond these predefined or parametrisable trees, it is possible, with some effort and perseverance, to construct much richer trees. An example has been provided by Michael White:

Using path from a root to its ancestors

Arbre m white.png

This tree is the result of the merge of all paths between the root and a selected set of sosa illustrating the level of inbreeding in the ancestry.

Note on this example that certain persons are displayed multiple times (for instance Flora M. Maxwell, the mother of the root), due to the fact that it is not possible to reorganise this graph in the plane without crossing lines.

It is built by a url containing three parts:

  • http://localhost:2317/base_name?pz=stanley+edison;nz=white;ocz=0; is the prefix, setting Stanley Edison White as the sosa 1,
  • m=DAG;p1=stanley+edison;n1=white; is the GeneWeb command, setting Stanley Edison White as the root of the tree,
  • the remainder is a succession of si=sosa_numberi; where sosa_numberi is the sosa number of the ancestor you have chosen to include in the tree.

The url can be enriched with image=on; and spouse=on;.

Using path between two individuals

1000px

Another possibility uses the path between any two persons in the following fashion:

  • http://localhost:2317/base_name?;m=RLM; as prefix and GeneWeb command,
  • followed by a succession of i1+2p=index1+2p;i2+2p=index2+2p; p vaying from 0 to n (limit?) where index1+2p is the index of a person, as defined by GeneWeb (see Managing namesakes).
  • one can associate a text to each person through the parameter t1+2p=free text;. This text will be displayed boldface next to the name.

The example above merges all the ascendance path between between Henri Bidaud (lui) and its relations (godparents, godchildren, person for which he was witness at some event), and has been augmented, for the sake of demonstration, by some links to a common ancestor.

At this time, there is no option to instruct the {{{1}}} command do use relation by marriage paths. This explains the isolated person "Francis Redier" (mariage) for which Henri was witness to his wedding with Chantal Bridaud.

The url can be enriched with image=on; and spouse=on;.


GeneWeb Manual

Rembrandt Old Man Reading a Book.jpg

Use and manage genealogical databases

Technical annex