1# 2# Gramps - a GTK+/GNOME based genealogy program 3# 4# Copyright (C) 2009 Benny Malengier 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software 18# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19# 20from gramps.gen.plug._pluginreg import * 21from gramps.gen.const import GRAMPS_LOCALE as glocale 22_ = glocale.translation.gettext 23 24MODULE_VERSION="5.1" 25 26# this is the default in gen/plug/_pluginreg.py: plg.require_active = True 27 28#------------------------------------------------------------------------ 29# 30# Family Lines Graph 31# 32#------------------------------------------------------------------------ 33 34plg = newplugin() 35plg.id = 'familylines_graph' 36plg.name = _("Family Lines Graph") 37plg.description = _("Produces family line graphs using Graphviz.") 38plg.version = '1.0' 39plg.gramps_target_version = MODULE_VERSION 40plg.status = STABLE 41plg.fname = 'gvfamilylines.py' 42plg.ptype = REPORT 43plg.authors = ["Stephane Charette"] 44plg.authors_email = ["stephanecharette@gmail.com"] 45plg.category = CATEGORY_GRAPHVIZ 46plg.reportclass = 'FamilyLinesReport' 47plg.optionclass = 'FamilyLinesOptions' 48plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI] 49plg.require_active = False 50 51#------------------------------------------------------------------------ 52# 53# Hourglass Graph 54# 55#------------------------------------------------------------------------ 56 57plg = newplugin() 58plg.id = 'hourglass_graph' 59plg.name = _("Hourglass Graph") 60plg.description = _("Produces an hourglass graph using Graphviz.") 61plg.version = '1.0' 62plg.gramps_target_version = MODULE_VERSION 63plg.status = STABLE 64plg.fname = 'gvhourglass.py' 65plg.ptype = REPORT 66plg.authors = ["Brian G. Matherly"] 67plg.authors_email = ["brian@gramps-project.org"] 68plg.category = CATEGORY_GRAPHVIZ 69plg.reportclass = 'HourGlassReport' 70plg.optionclass = 'HourGlassOptions' 71plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI] 72 73#------------------------------------------------------------------------ 74# 75# Relationship Graph 76# 77#------------------------------------------------------------------------ 78 79plg = newplugin() 80plg.id = 'rel_graph' 81plg.name = _("Relationship Graph") 82plg.description = _("Produces relationship graphs using Graphviz.") 83plg.version = '1.0' 84plg.gramps_target_version = MODULE_VERSION 85plg.status = STABLE 86plg.fname = 'gvrelgraph.py' 87plg.ptype = REPORT 88plg.authors = ["Brian G. Matherly"] 89plg.authors_email = ["brian@gramps-project.org"] 90plg.category = CATEGORY_GRAPHVIZ 91plg.reportclass = 'RelGraphReport' 92plg.optionclass = 'RelGraphOptions' 93plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI] 94