Trees in GeneWeb

From GeneWeb
Jump to navigation Jump to search
Error creating thumbnail: File missing
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

Error creating thumbnail: File missing

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. Indexes "i" must be consecutive (i.e. the scan of this list will stop at the first missing integer starting at 1).

The url can be enriched with im=off; and sp=off;(images and spouses are displayed by default).

Using path between two individuals

Error creating thumbnail: File missing

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 indexn 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 his 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 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 image=on; and spouse=on;.

Compact descendant trees

In addition to the classical descendant tree (m=D&t=V) another descendant tree template is proposed (m=D&t=TV). In this new descendant tree, it is possible to reduce the width of the tree by selecting one particular descendant with the clickable vertical bar above that person. With this option, the tree will be limited to the direct ascendants of the selected person plus the brothers and sisters of those ascendants (but not their other descendants).

Use monospace font for descendant tree view on templm

A small monospace font based of DejaVu Sans Mono with only need caracters is available in /webfonts/dejavusansmono-genewebfont.woff2 (9 ko) and should do the job since v7. If you still see bad rendering of the descendant horizontal treeview, check your browser fixed width font and choose a “better monospaced one”. DejaVuSans.ttf works well.

grimaldi courrier.png grimaldi dejavu.png


GeneWeb Manual

Error creating thumbnail: File missing

Use and manage genealogical databases

Technical annex