Changes

Jump to: navigation, search

Addon:Graph View

2,776 bytes added, 01:11, 6 April 2020
Linux
{{languages|Graph View}}
{{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|Some options only appear in newer versions of Gramps 5.x.x}}
[[File:Graph-View-addon-example-51.png|450px|thumb|right|Graph View - addon - In action showing both ancestors and descendant trees (Gramps 5.1.x version)]]
'''Graph View''' is an interactive {{icon|ance}} {{man label|Charts}} category view addon that presents a navigable ancestors 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-42.png|500px|thumb|right|Graph View - plugin addon - In action]]
== What is Graph View Usage ==
'''Graph View''' is a From the {{icon|ance}} {{man label|Charts}} category view addon that presents a navigable descendant tree using select 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 '''Graph View''' icon or select {{man menu|View > Graph View}} from the family tree based on themmenu.
=== Configure Options ===Select {{man menu|View > Configure...}} from the menu to change the settings on the following four tabs: *Layout**{{checkbox|1}}{{man label|Show images}} (checkbox selected by default)**{{checkbox|1}}{{man label|Show avatars}} (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)**{{checkbox|0}}{{man label|Show tags}} (checkbox unselected by default) *Themes**{{man label|Person theme:}}***'''Default'''*** Image on right side*** Image on left side**{{man label|Home person color:}} '''<code>#000000</code>'''(default)**{{man label|Font:}} - shows the default that can be changed by selecting from the *** {{man label|Pick a Font}} dialog *Animation**{{checkbox|1}}{{man label|Show animation}} (checkbox selected by default)***{{man label|Animation speed (1..5 and 5 is the slower):}} (default is 3)***{{man label|Animation count (0..8 use 0 to turn off):}} (default is 4) *Search**{{checkbox|1}}{{man label|Search in all database}}(checkbox selected by default)**{{checkbox|1}}{{man label|Show person image}}(checkbox selected by default)**{{checkbox|1}}{{man label|Show bookmarked first}}(checkbox selected by default) == Features ==
* Interactive.
* 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.
* Ability to show both ancestors and descendant trees (adjustable from the Graph View toolbar.
* 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 Use the {{man button|'''+'''(Zoom in)}}/{{man button|'''-'''(Zoom out)}} buttons to zoom in or out of the view.* Use the {{man button|'''☐'''(Zoom to best fit)}} button to fit the current family tree graph in the display and use the {{man button|'''1'''(Zoom to original)}} button to reset the view can be zoomed using to the sliderdefault size.
* 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.
* Bookmark a person from the view and manage them using the {{man button|Go to bookmark}} button.
* Ability to {{man button|🔍 Search...}} current family tree graph and total family tree database as well as any saved bookmarks.
* Right click an empty section of the view to choose the type of connecting {{man label|Lines type}}, options are ''Direct'', ''Curves'', ''Ortho''
== Configure Options ==You can change the following[[File*Layout**{{checkboxGraph View Empty context menu.png|1}}{{man label|Show images}} (checkbox selected by default)**{{checkboxthumb|1}}{{man label450px|Highlight Right click menu shown when selecting an empty section of the home chart.]][[File:Graph View person}} (checkbox selected by default)**{{checkboxcontext menu.png|thumb|1}}{{man label450px|Show full dates}} (checkbox unselected by default)Right click menu shown when selecting a Person on the chart.]]**{{checkbox[[File:Graph View family context menu.png|1}}{{man label|Show places}} (checkbox unselected by default) *Colors**{{checkboxthumb|1}}{{man label450px|Home person color:}} '''<code>#bbe68a</code>'''Right click menu shown when selecting a Family (defaultnode)on the chart.]]
== Prerequisites ==
Before '''Graph View''' can be used you will need the following installed:
* Graphviz. If you can run the Gramps [[Gramps_{{Version manual}}_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/GooCanvas Goocanvas]
 
=== Linux ===
All of these should be available in common Linux distributions.
For example,  ;Debian packages Packages Goocanvas/PyGoocanvas as libgoocanvas3 and python-pygoocanvas.
=== Note ===: As of May 2020 the required packages for Debian Testing are gir1.2-goocanvas-2.0 and libgoocanvas-2.0-9 from the official repositories.
;Linux Mint Debian Edition (LMDE)
== Issues ==
* See work around in {{bug|85068054#c44291}} - Test code for Printing.* {{bug|9806}} to enable saving of Subprocess on [GraphView charts.] can generate a memory issue* The larger the number of people {{bug|8054}} Better label positioning in the Family Tree the longer the chart will take to appear eg: about 7000 people takes 10 minutes.Graphview
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Views]]

Navigation menu