Changes

From Gramps

Addon:NetworkChart

60 bytes added, 04:56, 11 March 2017
m
no edit summary
The default output is a Scalable Vector Graphics (SVG) file that can be viewed in a browser. Network Chart uses the python networkx module to assist in selecting what to display and the pygraphviz module to generate the chart.
Generating a chart of an entire database on every individual in a very large databases database can lead to long chart generation times (See [[NetworkChart#Performance|Performance]]). Of course, subsets can be selected greatly reducing the chart generation times (See [[NetworkChart#Trim|Trim]] and [[NetworkChart#Highlight|Highlight]]).
{{man note|Slight variations Variations in Graph OutputsLayouts|Generated Network Chart graphs can may change slightly after Gramps restarts. This is due to the Graphviz memory allocation method used by Graphviz, in the dot layout engine is being [https://en.wikipedia.org/wiki/Nondeterministic_algorithm non-deterministic]. The changes are usually very slight but they do occur. A small price for an extremely readable network graph that shows connectivity well.}}
The Shakespeare database used for the examples below was downloaded from the http://genealogyoflife.com/ website.
==Performance==
Network Chart was intended for smaller databases or subsets and is extremely fast for charts with less than 1500 nodes. However, it can generate very large graphs in reasonable time and should be adequate for those large databases that do not change frequently. 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. It should be noted that reducing Reducing the number of nodes to graph via {{man label|Trim}} and {{man label|Highlight}} tabs will reduce graph generation times. In other wordsFor example, if your database contains 50000 65535 individuals and you trim or highlight to plot only about 8000 8191 individuals, it will would take about closer to 20 seconds to generate the chart(based on the following table). Some performance data is shown below for an 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;"
116
edits

Navigation menu