Difference between revisions of "Addon:Graph View"

From Gramps
Jump to: navigation, search
(Note: * See work around in {{bug|8506}} to enable saving of GraphView charts. / also mentioned it on reddit gramps.)
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Third-party plugin}}
 
{{Third-party plugin}}
 +
{{man warn|The larger the number of people in the Family Tree|The longer the chart will take to appear eg: about 7000 people takes 10 minutes.}}
 +
{{man note|Ancestors tree only available in the Gramps 5.0.x version of Graph View}}
 +
[[File:Graph-View-addon-example-50.png|450px|thumb|right|Graph View - addon - In action showing both ancestors and descendant trees (Gramps 5.0.x version)]]
 +
[[File:Graph-View-plugin-addon-example-42.png|450px|thumb|right|Graph View - addon - In action showing only descendant trees (Gramps 4.2.x version)]]
 +
'''Graph View''' is an interactive {{icon|ance}} {{man label|Charts}} category view addon that presents a navigable ancestors(Gramps 5.0.x version only) and descendant tree using the current active person as a starting point. Clicking another person in the family tree will make that person the active person and will redraw the family tree based on them.
  
[[File:Graph-View-plugin-addon-example-41.png|500px|thumb|right|Graph View - plugin addon - In action]]
+
== Usage ==
  
== What is Graph View ==
+
From the {{icon|ance}} {{man label|Charts}} category view select the '''Graph View''' icon or select {{man menu|View > Graph View}} from the menu.
  
'''Graph View''' is a view plugin that presents a navigable descendant tree using the current active person as a starting point. Clicking another person in the family tree will make that person the active person and will redraw the family tree based on them.
+
=== Configure Options ===
 +
Select {{man menu|View > Configure...}} from the menu to change the following:
 +
 
 +
*Layout
 +
**{{checkbox|1}}{{man label|Show images}} (checkbox selected by default)
 +
**{{checkbox|1}}{{man label|Highlight the home person}} (checkbox selected by default)
 +
**{{checkbox|0}}{{man label|Show full dates}} (checkbox unselected by default)
 +
**{{checkbox|0}}{{man label|Show places}} (checkbox unselected by default)
 +
 
 +
*Colors
 +
**{{man label|Home person color:}} '''<code>#bbe68a</code>'''(default)
  
 
== Features ==
 
== Features ==
Line 14: Line 29:
 
* Clicking the active person will show the parent family of the active person, thereby allowing previous generations to be shown.
 
* Clicking the active person will show the parent family of the active person, thereby allowing previous generations to be shown.
 
* The view can be panned by using mouse click and drag. Select the background of the tree and drag the mouse to pan the view.
 
* The view can be panned by using mouse click and drag. Select the background of the tree and drag the mouse to pan the view.
* The view can be zoomed using the slider.
+
* Use the {{man label|Zoom:}} slider to zoom in or out of the view.
 
* A right mouse click on a person or family node shows the person or family editor as appropriate.
 
* A right mouse click on a person or family node shows the person or family editor as appropriate.
 
* Right click a family to add or delete a spouse or child.
 
* Right click a family to add or delete a spouse or child.
 
* The view redraws in response to changes made to a person or family.
 
* The view redraws in response to changes made to a person or family.
 
+
* Save the dot file for a later printing.  This will save a .gv file and a svg file. You must select a .gv file.
== Configure Options ==
 
You can change the following:
 
 
 
*Layout
 
** Show images : checkbox selected by default
 
** Highlight the home person : checkbox selected by default
 
** Show full dates
 
** Show places
 
 
 
*Colors
 
** Home person color: '''#bbe68a'''(default)
 
  
 
== Prerequisites ==
 
== Prerequisites ==
 
Before '''Graph View''' can be used you will need the following installed:
 
Before '''Graph View''' can be used you will need the following installed:
* Graphviz. If you can run the Gramps Graph reports then you already have this installed.
+
* Graphviz. If you can run the Gramps [[Gramps_5.0_Wiki_Manual_-_Reports_-_part_5|Graph reports]] then you already have this installed.
 
* [http://live.gnome.org/PyGoocanvas PyGoocanvas] (Gramps3) or [https://wiki.gnome.org/Projects/GObjectIntrospection Goocanvas2 or gir1.2-goocanvas] (Gramps4)
 
* [http://live.gnome.org/PyGoocanvas PyGoocanvas] (Gramps3) or [https://wiki.gnome.org/Projects/GObjectIntrospection Goocanvas2 or gir1.2-goocanvas] (Gramps4)
 
* [http://live.gnome.org/GooCanvas Goocanvas]
 
* [http://live.gnome.org/GooCanvas Goocanvas]
 +
 +
=== Linux ===
  
 
All of these should be available in common Linux distributions.  
 
All of these should be available in common Linux distributions.  
  
For example, Debian packages Goocanvas/PyGoocanvas as libgoocanvas3 and python-pygoocanvas.
+
For example,  
  
=== Note ===
+
;Debian
 +
Packages Goocanvas/PyGoocanvas as libgoocanvas3 and python-pygoocanvas.
  
 
;Linux Mint Debian Edition (LMDE)
 
;Linux Mint Debian Edition (LMDE)
Line 52: Line 59:
  
 
== Issues ==
 
== Issues ==
* See work around in {{bug|8506}} to enable saving of GraphView charts.
+
* {{bug|8054#c44291}} - Test code for Printing.
 +
* {{bug|9806}} Subprocess on [GraphView] can generate a memory issue
 +
* {{bug|8054}} Better label positioning in Graphview
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]
 
[[Category:Views]]
 
[[Category:Views]]

Revision as of 03:13, 4 March 2018

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager.

Gnome-important.png
The larger the number of people in the Family Tree

The longer the chart will take to appear eg: about 7000 people takes 10 minutes.

Gramps-notes.png
Ancestors tree only available in the Gramps 5.0.x version of Graph View

Graph View - addon - In action showing both ancestors and descendant trees (Gramps 5.0.x version)
Graph View - addon - In action showing only descendant trees (Gramps 4.2.x version)

Graph View is an interactive Charts Charts category view addon that presents a navigable ancestors(Gramps 5.0.x version only) and descendant tree using the current active person as a starting point. Clicking another person in the family tree will make that person the active person and will redraw the family tree based on them.

Usage

From the Charts Charts category view select the Graph View icon or select View > Graph View from the menu.

Configure Options

Select View > Configure... from the menu to change the following:

  • Layout
    • Show images (checkbox selected by default)
    • Highlight the home person (checkbox selected by default)
    • Show full dates (checkbox unselected by default)
    • Show places (checkbox unselected by default)
  • Colors
    • Home person color: #bbe68a(default)

Features

  • Interactive.
  • The active person is highlighted.
  • Clicking a person will redraw the family tree based on that person.
  • Clicking the active person will show the parent family of the active person, thereby allowing previous generations to be shown.
  • The view can be panned by using mouse click and drag. Select the background of the tree and drag the mouse to pan the view.
  • Use the Zoom: slider to zoom in or out of the view.
  • A right mouse click on a person or family node shows the person or family editor as appropriate.
  • Right click a family to add or delete a spouse or child.
  • The view redraws in response to changes made to a person or family.
  • Save the dot file for a later printing. This will save a .gv file and a svg file. You must select a .gv file.

Prerequisites

Before Graph View can be used you will need the following installed:

Linux

All of these should be available in common Linux distributions.

For example,

Debian

Packages Goocanvas/PyGoocanvas as libgoocanvas3 and python-pygoocanvas.

Linux Mint Debian Edition (LMDE)

These packages are not available for Linux Mint Debian Edition (LMDE). You can download these as .deb files from launchpad and install them in the usual manner. You need the Binary packages shown at the bottom of that pages, except for the development libraries.

Please make sure to download these for the proper architecture, like amd64 for 64-bit PCs (Intel included).

Opensuse

You may need to install typelib-1_0-GooCanvas-2_0 as mentioned in issue 8076.

Issues

  • 8054#c44291 - Test code for Printing.
  • 9806 Subprocess on [GraphView] can generate a memory issue
  • 8054 Better label positioning in Graphview