Open main menu

Gramps β

Changes

Addon:NetworkChart

1,017 bytes added, 23:59, 9 March 2017
no edit summary
===Main===
[[File:Network_chart_menu_Main.png|thumb|400px|left|Network Chart Main Menu]] [[File:Shakespeare_network_1_dynamic_url.svg|thumb|290px|Example Default Output]] The main menu (see image on left) controls the output filename, folder, and chart title. The filename defaults originally to the database name + '_network' with '.svg' is added automatically on output. The Chart Title defaults to the database name and the folder to the top level user default home. Once an entry is changed it will be remembered and used for the next time as well. Clearing the entry will set it back to default. Additionally, name and date formats for the chart can be modified using the Gramps available formatting.
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 are used.
URL Style selects one of Database, Dynamic, Static, or None (Don't include). This option selects what link will be used when an individual node is clicked on the SVG chart when viewed from a browser. The Database option will select the primary URL from the database if one is available or none if one is not. Dynamic will use the URL Prefix, Suffix from the next line 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'. This repeated for every node. A static URL will use only the URL Prefix and the Don't Include URL or None will not place a any link in the nodes.
The font selection is straightforward. Obtain the name of the font that you wish to use and type it in the entry box. The only requirement is that the font already be installed on your system. If the font is not found then a default font will be used. This is a silent operation and will not warn on a font not found. When the SVG graph is generated that font will be identified for use, however, if someone viewing the chart does not have the same font installed they will see their default font instead. Embedding fonts in SVGs or making them a local access is possible but beyond the scope of this plugin. The default font is White Rabbit by Matthew Welch which is an extremely readable font. It can be obtained from https://www.fontsquirrel.com/fonts/white-rabbit and the license found at http://www.squaregear.net/fonts/license.shtml .
The final option on the Main Menu is the spacing used between "generations" of nodes. It can be anywhere from 0.1 - 5.0 inches.
===Color===
116
edits