Changes

From Gramps

Addon:NetworkChart

1,255 bytes added, 18:16, 10 March 2017
m
no edit summary
Graph style menu selects the type of connectors with choices being Orthogonal, Straight, and Curved. In the example default output shown on the right, the default orthogonal option was selected resulting in straight connectors with right angles. Graphs with over 1500 people should probably use the Curved or Straight options with noticeable reduction in the time needed for graph generation. Graph direction controls which of the four different orientations to use.
URL Style selects one of Database, Dynamic, Static, or None (Don't include). This option selects what hyperlink will be used for individual nodes when the SVG chart is viewed from a browser. The Database option will select the primary URL from the database if one is available or none if it is not. Dynamic will use the URL Prefix, Suffix from the next line in the Menu and the GrampsID of the node. The Example Default Output chart shown includes dynamic URL's. For example, Henry Webb in the database has GrampsID = I0125. So the URL for that node will have the prefix of 'https://mywebsite.com/home/' and the suffix '.html' yielding a node with a link to 'https://mywebsite.com/home/I0125.html'. The dynamic URL changes for every node. A static URL will use only the URL Prefix and the Don't Include URL or None will not place any link in the nodes.
[[File:Shakespeare_network_static_left_to_right.svg|thumb|800px|center|Example Output for Left to Right and Static URL's]]
===Privacy===
[[File:Network_chart_menu_Privacy.png|thumb|350px|left|Network Chart {{man label|Privacy}} preferences tab]] The {{man label|Privacy}} preferences tab allows dates for birth and marriage to be made vague. All individuals that have a valid date for either a birth or marriage can have that date rounded to the nearest decade after the year to start entered. (This feature will change in the future to round to just the year.<!-- per Gramps make vague function. -->) Additionally, middle names can be changed to just show initials. (This feature will change in the future to just remove middle names altogether.) Finally, private records for individuals can be included or not. If not, the individual node will contain the words "Private Record" for all those individuals marked private in Gramps.
{{-}}
The GrampsID in a database can change for an individual, however, the underlying database handle for an individual should never change. Thus the Use Database Handle option can be used for the Dynamic URL generation on the main menu to replace the GrampsID with the database handle. This is typically much longer than the GrampsID. The last option allows one to stop the overwrite warnings and just overwrite the file.
{{-}}
 
==Performance==
Network Chart was intended for smaller database subsets and is extremely fast for charts with less than 1500 nodes. However, it can generate very large graphs in reasonable time. Some optimizations for large databases are done automatically. The Trim Groups selection is one. Another method to greatly decrease the time to generate a chart on a large database is to select Straight or Curved for the Graph Style on the {{man label|Main}} preferences tab. Some performance data is shown below for a Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz with 16GB of RAM and an SSD for storage.
 
{| class="wikitable" style="margin-left: auto; margin-right: auto;"
!colspan="6"|Network Chart Performance (times are HH:MM:SS)
|-
|Data File
|# Individuals
|Graph Style
|Trim Groups
|SVG File Size
|Time to Generate
|-
|style="text-align:right;"|D03
|style="text-align:right;"|124032
|style="text-align:right;"|Curved
|style="text-align:right;"|2
|style="text-align:right;"|107.2MB
|style="text-align:right;"|00:51:04
|-
|style="text-align:right;"|Royals
|style="text-align:right;"|3010
|style="text-align:right;"|Orthogonal
|style="text-align:right;"|Not Used
|style="text-align:right;"|4.4MB
|style="text-align:right;"|00:00:07
|}
 
<!-- Please leave at bottom of page-->
[[Category:Plugins]]
[[Category:Developers/General]]
116
edits

Navigation menu