Difference between revisions of "De:Gramps 3.3 Wiki Handbuch - Berichte - Teil 5"

From Gramps
Jump to: navigation, search
(Grafiken erstellen)
(Stundenglasdiagramm)
Line 90: Line 90:
 
==<u>Stundenglasdiagramm</u>==
 
==<u>Stundenglasdiagramm</u>==
  
[[Image:Hourglass report.png|right|250px|thumb|Abb. 8.32 Hourglass Graph of Smith John Hjalmar]]
+
[[Image:Hourglass report.png|right|250px|thumb|Abb. 8.32 Stundenglasdiagramm von Smith John Hjalmar]]
Generate an hourglass graph using the GraphViz generator.
 
  
User can set maximum Descendant Generations and maximum Ancestor Generations
+
Erstellt unter der Verwendung von GraphViz ein Stundenglasdiagramm.
 +
 
 +
Der Anwender kann die maximale Anzahl der Vorfahren- und Nachkommengenerationen festlegen.
  
 
{{-}}
 
{{-}}

Revision as of 12:59, 6 December 2011

Dieser Abschnitt beschreibt die verschieden Grafiken aus Gramps.

Zurück Index Nächste


Gnome-important.png Spezielle Copyright Notiz: Alle Änderungen auf dieser Seite müssen unter zwei copyright Lizenzen stehen:

Diese Lizenzen ermöglichen es dem Gramps-Projekt die bestmögliche Verwendung dieses Handbuchs als freien Inhalt in zukünftigen Gramps Versionen. Wenn du mit dieser dual Lizenzierung nicht einverstanden bist, bearbeite diese Seite nicht. Du darfst zu anderen Seiten des Wiki die nur unter die GFDL Lizenz fallen nur über externe Links (verwende die Syntax: [http://www.gramps-project.org/...]), nicht über interne Links verlinken.
Außerdem verwende nur die Bekannten Drucktechnische Konventionen


Zurück zur Übersicht der Berichte.

Grafiken

Diese Berichte werden mit der Hilfe von GraphViz erstellt.

Gnome-important.png
Berichte und benutzerdefinierte IDs

Nach einem GEDCOM Import kann deine Datenbank einige nich Standard IDs (z.B. 123I oder 456U nicht eingestellt in Bearbeiten -> Präferenzen -> ID-Formate). Wenn erstellte Berichte die Daten nicht korrekt anzeigen, versuche das Gramps-IDs neu ordnen Werkzeug (Werkzeuge -> Stammbaumverarbeitung -> Gramps IDs neu ordnen).

Grafik der Familienlinien

Abb. 8.25 Beispiel einer Grafik die mit FamilyLines.py ohne Miniatur Bilder erstellt wurde.
Abb. 8.26 Beispiel einer Grafik die mit FamilyLines.py mit Miniatur Bilder erstellt wurde.


Das FamilyLines.py Zusatzmodul wurde erstellt um einfach zu verfolgende Grafiken zu erzeugen. Beachte das FamilyLines nicht alle Personen aus der Datenbank darstellt -- stattdessen erzeugt dieses Zusatzmodul kleinere Stammbäume mit vielen Optionen zum ausprobieren und begrenzen der Anzahl enthaltener Personen. Eine typische Anwendung dieses Zusatzmoduls ist das Erstellen von vereinfachten Grafiken zum drucken auf großen Plottern.

GraphViz Optionen

Abb. 8.27 GraphViz

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

This first tab allows several GraphViz options to be set:

  • Width: the width, in inches, of the final image. Set to a large number if generating .png or .gif files.
  • Height: the height, in inches, of the final image. Set to a large number if generating .png or .gif files.
  • 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.
  • Row spacing: the whitespace to leave, in inches, between rows.
  • Columns spacing: the whitespace to leave, in inches, between columns
  • Graph direction: whether the tree grows from left-to-right, or right-to-left.
  • Ratio: GraphViz uses this to determine how to position items. Only trial-and-error will help you determine the best option to use. (When in doubt, compress tends to work well.)


Personen von Interesse

Abb. 8.28 Personen von Interesse

Das FamilyLines.py Zusatzmodul arbeitet indem es mit einer Liste von "Personen von Interesse" beginnt. Diese initiale Liste von Personen wird verwendet um sowohl Vorfahren als auch nachkommen zu finden.

  • Personen von Interesse:klick auf + und - um Personen von Interesse hinzuzufügen/entfernen.Wenn du dir unsicher bist, versuch deine Großeltern als Startpersonen hinzuzufügen.
  • Den Eltern folgen um Familienlinien festzustellen: wenn dies ausgewählt ist, bewirkt es, das FamilyLines.py den Eltern folgt, um die komplette Liste von Personen von Interesse festzulegen. Meistens willst du dies aktiviert haben.
  • Den Kindern folgen um Familienlinien fest zu stellen: wenn dies ausgewählt ist, bewirkt es, das FamilyLines.py den Kindern folgt, um die komplette Liste von Personen von Interesse festzulegen.
  • Versuchen zusätzliche Personen und Familien zu entfernen: wenn dies ausgewählt ist, bewirkt es, das FamilyLines.py offensiv versucht zusätzliche Vorfahren und Familien aus dem Stammbaum zu entfernen.


Familienfarben

Abb. 8.29 Familienfarben

Wähle die Farbe die für Personen mit einem bestimmten Familiennamen verwendet wird. Klicke auf + oder - um einen Nachnamen hinzuzufügen oder zu entfernen. Klicke doppelt auf einen Nachnamen um die Farbe zu bearbeiten.


Personen

Abb. 8.30 Personen
  • Männer, Frauen und Unbekannt: die Farbe die für Personen verwendet wird, deren Nachname zu keinem Namen aus dem Familienfarben Reiter passt.
  • Familien: die Farbe die für Familien (Hochzeiten) verwendet wird.
  • Anzahl der Eltern begrenzen: wenn ausgewählt wird die Anzahl der Vorfahren auf diesen Wert begrenzt. Dies kann nur gewählt werden, wenn Den Eltern folgen um Familienlinien festzulegen im {{man label|Personen von Interesse} Reiter gewählt wurde.
  • Anzahl der Kinder begrenzen: wenn ausgewählt wird die Anzahl der Kinder auf diesen Wert begrenzt. Dies kann nur gewählt werden, wenn Den Kindern folgen um Familienlinien festzulegen im {{man label|Personen von Interesse} Reiter gewählt wurde.


Optionen

Abb. 8.31 Optionen
  • Diagrammfärbung:
  • Abgerundete Ecken verwenden:
  • Daten aufnehmen: wenn aktiv werden Geburtsdatum, Sterbedatum und das Hochzeitsdatum im Bericht aufgenommen.
  • Daten auf Jahre begrenzen:
  • Orte aufnehmen: wenn aktiv werden der Geburtsort, Sterbeort und Hochzeitsort im Bericht aufgenommen.
  • Anzahl der Kinder aufnehmen: wenn aktiv enthält der Hochzeitstext die Gesamtzahl der Kinder.
  • Vertrauliche Daten aufnehmen: wenn aktiv werden Personen und Ereignisse, die als vetraulich markiert sind in den Bericht aufgenommen.


Stundenglasdiagramm

Abb. 8.32 Stundenglasdiagramm von Smith John Hjalmar

Erstellt unter der Verwendung von GraphViz ein Stundenglasdiagramm.

Der Anwender kann die maximale Anzahl der Vorfahren- und Nachkommengenerationen festlegen.


Beziehungengrafik

The Relationship Graph creates a complex relationship graph in GraphViz format and then converts into graphical output running it through the GraphViz dot tool behind the scene. Specific options for this report include filter, options for dates and places for the events, and whether to include URLs and IDs for individuals and families. 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.

Grafikoptionen

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

The window is divided into two parts. One part provides for all the different tabs available, the other part has the Document Options.

Papieroptionen

Abb. 8.33 Papieroptionen

This first tab as usual in reports regulates the Paper Format and the Margins. A check box controles whether you have metric sizes or not. Relationship Graphs can rapidly become very large. Setting the paper format is essential for succes.

Berichtoptionen

Abb. 8.34 Bericht Optionen
  • Filter: Standard options here are the entire database (not recommended!), Descendants of, Descendant families of, Ancestors of, People with common ancestor with, or a custum made filter.
  • Filter Person: If you use a custom filter, no Person can be choosen. 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

Grafikstil

Abb. 8.35 Grafikstil
  • 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 wiil shown up as dotted lines in the graph.
    • Show family nodes: Families will show up as ellipses, linked to parents and children.

GraphViz Layout

Abb. 8.36 GraphViz 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, postcript 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, postcript 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 Optionen

Abb. 8.37 GraphViz Optionen
  • 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 ammount 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 ammount 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.

Notiz

Abb. 8.38 Notiz
  • 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


Dokumentoptionen

  • Output Format: available formats are: PDF (both Ghostscript and GraphViz), PostScript, SVG, SVGz, JPEG, GIF, PNG and GraphViz gv File
  • Filename: choose where the file will be saved and under which file name

.gv Dateien

If you use .gv files you must realize that those files are meant to be processed by other programs. By themselves, the files will not provide meaningful information; the files must first be processed by another program.

The GraphViz 'dot' tool can transform the graph into postscript, jpeg, png, vrml, svg, and other formats. GraphViz tools are freely available from the GraphViz site.

So make sure you have Graphviz installed. Use your package manager on Linux.

On Ubuntu Karmic the actual version is 2.20.3. The file is only 1.2 MB and provides a lot of commands like: dot, gvcolor, dijkstra ....

Ubuntu Gutsy users can get the deb package via Synaptic or the command line (actual version GraphViz 2.20)

Tango-Dialog-information.png
Tip

If you are not interested in GraphViz code itself and just want to generate graphical output, GRAMPS can do it for you under the hood.


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

Beispiel

Abb. 8.39 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->Realtionship 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.

Das Ergebnis siehst du in (Abb. 8.39).

Zurück zur Übersicht der Berichte


Zurück Index Nächste