Gramps 4.0 Wiki Manual - Reports - part 5

From Gramps
Jump to: navigation, search
Gnome-important.png Special copyright notice: All edits to this page need to be under two different copyright licenses:

These licenses allow the Gramps project to maximally use this wiki manual as free content in future Gramps versions. If you do not agree with this dual license, then do not edit this page. You may only link to other pages within the wiki which fall only under the GFDL license via external links (using the syntax: [http://www.gramps-project.org/...]), not via internal links.<br\> Also, only use the known conventions


Previous Index Next




This section describes the different Graphs available in Gramps.

Back to Index of Reports.

Graphs

These reports are related to GraphViz. Therefore it is important that the Graphviz program is installed on your computer. On Linux you can use your package manager. (The actual version is 2.28).

Gnome-important.png
Reports and custom IDs

After a GEDCOM import, your database can use some non-standard IDs (ie. 123I or 456U not set on Edit --> Preferences --> Identifiants ID). If generated reports do not properly display data, then try Reorder GRAMPS IDs tool (Tools-->Database Processing-->Reorder GRAMPS IDs).

All three graphs Family Lines, Hourglass, and Relationship Graphs share common options: GraphViz-layout, GraphViz-options, and Note.

Also they share with the other reports common options: Paper and Document.

Common Options

There are also several GraphViz-specific options related to pagination, color, and details of the graph.

This plugin uses GraphViz. GraphViz takes the .gv files and creates the final files, such as .gif, .png, .pdf, .ps, etc.

GraphViz Layout

Fig. 11.5.1 Layout
  • Font family: Choose the font family. If international characters don't show, use FreeSans font. FreeSans is available from the NonGNU org.
    • Default
    • PostScript/ Helvetica
    • True Type/ FreeSans
  • Font size: The font size in points
  • Graph Direction: Whether the graph goes from top to bottom or left to right
    • Vertical (top to bottom)
    • Vertical (bottom to top)
    • Horizontal (left to right)
    • Horizontal (right to left)
  • Number of Horizontal Pages: GraphViz can create very large graphs by spreading the graph across a rectangular array of pages. This controls the number of pages in the array horizontally. Only valid for dot and pdf via Ghostscript.
  • Number of Vertical Pages: GraphViz can create very large graphs by spreading the graph across a rectangular array of pages. This controls the number of pages in the array vertically. Only valid for dot and pdf via Ghostscript.
  • Paging Direction: The order in which the graph pages are output. This option only applies if the horizontal pages or vertical pages are greater than 1.


GraphViz Options

Fig. 11.5.2 GraphViz
  • Aspect Ratio: Affects greatly how the graph is layed out on the page.
    • Minimal Size
    • Fill the given area
    • Use the optimal number of pages
  • DPI: dots-per-inch. Typically between 75 and 120 if generating .png or .gif files, but 300 or 600 if generating files to be printed. When creating images such as .gif or .png files for the web, try numbers such as 100 or 300 DPI. When creating PostScript or PDF, use 72 DPI.
  • Node Spacing: The minimum amount of free space, in inches, between individual nodes. For vertical graphs, this corresponds to spacing between columns. For horizontal graphs, this corresponds to spacing between rows. Default is 0.20.
  • Rank Spacing: The minimum amount of free space, in inches, between ranks. For vertical graphs, this corresponds to spacing between rows. For horizontal graphs, this corresponds to spacing between columns. Default is 0.20.

Note

Fig. 11.5.3 Note
  • Note to add to the graph: This text will be added to the graph
  • Note Location : Whether the note will appear on top or bottom of the page
  • Note size: The size of note text, in points (default 32)


Family Lines Graph

You can choose the family lines graph with Reports ->Graphs -> Family Lines Graph...

People of Interest

Fig. 11.5.4 People of Interest

The graph works by starting with a list of "people of interest". This initial list of people is then used to find both ancestors and descendants.

  • People of interest: click on STOCK_ADD en STOCK_REMOVE to add/remove people of interest. When in doubt, try adding your grandparents as a starting place.

Three tick boxes:

  • Follow parents to determine family lines: when selected, this causes the graph to follow the parents to determine the full list of people of interest. You most likely want this selected.
  • Follow children to determine family lines: when selected, this causes the graph to follow the children of the people of interest.
  • Try to remove extra people and families: when selected, this option causes the graph to aggressively attempt to remove extra ancestors and families from the family tree.


Family Colours

Fig. 11.5.5 Family Colours
  • Family colours: Select the colour to use for people with a specific surname. Two columns are available: Surname and Colour. Click on STOCK_ADD or STOCK_REMOVE to add a surname. Double-click on a surname to edit the colour.


Individuals

Fig. 11.5.6 Individuals
  • Males, Females, Unknown: the colour to use for people whose surname doesn't match any of the names on the "Family Colours" tab.
  • Families: the colour to use for families (weddings).

Two tick boxes:

  • Limit the number of parents: if selected, then the number of ancestors will be limited by the amount shown. This can only be selected if "Follow parents" has also been selected on the "People of Interest" tab.
  • Limit the number of children: if selected, then the number of children will be limited by the amount shown. This can only be selected if "Follow children" has also been selected on the "People of Interest" tab.


Images

Fig. 11.5.7 Images

Tick box:

  • Include thumbnail images of people.
  • Thumbnail location:
    • Beside the name
    • Above the name


Options

Fig. 11.5.8 Options
  • Graph coloring: Males will be shown in blue, females with red. If the sex of an individual is unknown it will be shown with gray. Options are:
    • Colored outline
    • B&W outline
    • Colour fill

Six tick boxes:

  • Use rounded corners: Use rounded corners to differentiate between women and men
  • Include dates: date of birth, date of death, and marriage dates will be included in the graph when this is selected.
  • Limit dates to years only: from the above only show the years.
  • Include places: place of birth, place of death, and place of marriage will be included in the graph when this is selected.
  • Include the number of children: marriage text will include the total number of children when this is selected.
  • Include researcher and date: a label will be placed at the bottom of the graph when this is selected.
  • Include private records: people and events marked as private will be included in the graph when this is selected.


Result

Fig. 11.5.9 Family Lines with thumbnails
Fig. 11.5.10 Family Lines

Results are shown here.


Hourglass Graph

Generate an hourglass graph using the GraphViz generator. Go to Reports -> Graph -> Hourglass Graph....

Options

Fig. 11.5.11 Options
  • Center Person: this is really the person in the middle of the graph.
  • Max Descendant Generations: default 10
  • Max Ancestor Generations: default 10


Graph Style

Fig. 11.5.12 Style
  • Graph coloring: Males will be shown in blue, females with red. If the sex of an individual is unknown it will be shown with gray. Options are:
    • Colored outline
    • B&W outline
    • Colour fill
  • Use rounded corners: Use rounded corners to differentiate between women and men on a black and white version.


Result

Fig. 11.5.13 Hourglass Graph

Here you can see the result of the Hourglass Graph.


Relationship Graph

The Relationship Graph creates a complex relationship graph in GraphViz format.

Graph Options

Via the menu: Reports-> Graphs- >Relationship Graph.... You will be presented a Relationship Graph window where you can change all the settings.

Options

Fig. 11.5.14 Report Options

Some important options here:

  • Filter: Standard options here are the entire database (not recommended!), Descendants of, Descendant families of, Ancestors of, People with common ancestor with, or a custom made filter.
  • Filter Person: If you use a custom filter, no Person can be chosen. Otherwise choose the correct person here. There are several tick boxes here:
    • Include Birth, Marriage and Death dates
    • Limit dates to years only
    • Use place when no date
    • Include URLs
    • Include IDs
    • Include thumbnail images of people: checking this box gives you another input field Thumbnail Location
  • Thumbnail Location: only active when last check box was checked: above or beside the name are the possibilities

Graph Style

Fig. 11.5.15 Graph Style
  • Graph coloring: Males will be shown in blue, females with red. If the sex of an individual is unknown it will be shown with gray. Options are:
    • Colored outline
    • B&W outline
    • Color fill
  • Arrowhead direction: Choose the direction that the arrow point: Descendants <- Ancestors, Descendants -> Ancestors, Descendants <-> Ancestors, Descendants - Ancestors
    • Use rounded corners: Use rounded corners to differentiate between women and men
    • Indicate non-birth relationships with dotted lines: No-birth relationships will shown up as dotted lines in the graph.
    • Show family nodes: Families will show up as ellipses, linked to parents and children.

You can find a detailed explanation in a tutorial How to make a relationship chart

Example

Fig. 11.5.16 Example of Descendant Families of...

Let us make a simple example. We want a relationship graph with the Descendant Families of a certain person.

  1. First check that this person is the active person. (You change this later but this is handier)
  2. Go via the menu Reports->Graphs->Relationship Graph...
  3. Papersize : A4 metric landscape: we know there will be not too many people on the graph, so this is ok
  4. Report Options: filter: Descendant Families of... check include dates, limited to years and we want ID's as well
  5. Graph Style : Color fill, rounded corners and show Family Nodes
  6. GraphViz Layout: Font size: 15 pts FreeSans Direction: top to bottom
  7. GraphViz Options: Fill given area dpi 133
  8. Note : we add title on the top size: 18 pts
  9. Output Format: we want a JPEG file and after making of the graph to open a Image Viewer.

The result is shown here.

Back to Index of Reports.


Previous Index Next