Open main menu

Gramps β

Changes

Howto: Make a relationship chart

268 bytes removed, Yesterday at 03:14
m
Before you start
{{languages|Howto: Make a relationship chart}}
How to make a relationship chart (for either ancestors, descendants, ...) with Gramps 5.x. and the [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_5#Relationship_Graph|Relationship graph report]].[[File:RelationshipChartDescendants-example-41.png|right|thumb|300px|An example chart]]
== Before you start ==
* ps2pdf: for converting ps to pdf
* [https://www.adobe.com/products/acrobat/readstep2.html adobe reader], [https://kpdf.kde.org/ kpdf]: for viewing pdf charts
* [https://www.libreoffice.org/download LibreOffice] or [httphttps://www.calligra-suite.org/ Calligra]: for viewing odt documents
== Filters: what persons to print ? ==
In Gramps you can define filters to make a selection of individuals, see [[Example_filters| Examples of filters]]. In the relationship chart all custom person filters you made will be available, as well as the standard descendants and ancestors filters. These last start from the active person.
{{man tip|You can add [[Step_relationships|stepchildren]] to a family:|by setting the ''Relationship to Mother'' (or Father) for the child to ''stepchild'' in the [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_1#Child_Reference_Editor|Child Reference Editor]]. The other parent's Relationship should remain set to ''Birth''. In doing so, these children will become part of a descendant report without the need to create a custom filter to include them.}}
=== How many people ?===
Select '''OK''' to generate the chart.
The result can be seen to the right. You can use print this on a dedicated printer (If required change the '''GraphViz Options''' DPI of png file.), or if you use the default DPI of 72 you can use this image on a website to share. In the last example below, you can use the tip explained in [[Make flash plugin from a png]], to make the resulting graph easier to navigate.
In the chart image, males are blue, females are pink and the yellow balloons indicate a family node in which a marriage date is printed (if known). You can select not to see this family node by deselecting in the '''Graph Style''' tab the option ''Show family nodes''.
*If you have a bad resolution of png, eg unreadable text, this is probably because you have set a paper size which is to small. See [[Howto:_Make_a_relationship_chart#Example_1-A:_a_descendant_chart|Example 1-A]]: set the papersize of number of pages to a high number, but select in '''GraphViz Options''', in ''Aspect ratio'': <tt>Fill the given area</tt>, or use <tt>Compress to minimal size</tt>
{{man warn|Reports and custom IDs|After a GEDCOM import, your database can use some non-standard IDs (ie. 123I or 456U not set on {{man menu|Edit --> Preferences --> ID Formats}}). If generated reports do not properly display data, then try [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Tools#Reorder_Gramps_ID|Reorder Gramps IDs tool]] ({{man menu|Tools->Family Tree Processing->Reorder Gramps IDs}}).}}
== Additional things to try ==
* You can make descendant charts and add them to the media gallery of the person. Like that, the chart is available from the website.
* Offer a chart on your website as a [[Make flash plugin from a png |flash relationship graph]], enabling zooming, moving, ... over your data or just use by using SVG for Firefox and Chrome, see the [[Addon:DenominoViso|DenominoViso]]addon.
== Help improve the Graph reports ==
If you examine the dot specifications, you will note that much more can be done with GraphViz output. If you have programming skills you can add some functionality:
* Improved text in the boxes: what text and how to organize it?
* Coloring. See the [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_5#Family_Lines_Graph|Family Lines Graph]]: for a color per family, for specific relations, for the central person, ...
== See also ==
* [[Gramps_{{Version manualman version}}_Wiki_Manual_-_Reports_-_part_5#Relationship_Graph|Relationship Graph - User Manual]].
[[Category:Tutorials|Make a relationship chart]]
[[Category:How do I...|R]]