work in progress converting FamilyLines to new GraphViz plugin

svn: r9612
This commit is contained in:
Stéphane Charette
2007-12-28 10:08:19 +00:00
parent 8eab7c6af2
commit 5ea0cd4b3e
8 changed files with 1085 additions and 31 deletions

View File

@@ -304,7 +304,14 @@ class RelGraphReport(Report):
label = u""
lineDelimiter = '\\n'
# if we have an image, then start an HTML table; remember to close the table afterwards!
# If we have an image, then start an HTML table; remember to close the table afterwards!
#
# This isn't a free-form HTML format here...just a few keywords that happen to be
# simillar to keywords commonly seen in HTML. For additional information on what
# is allowed, see:
#
# http://www.graphviz.org/info/shapes.html#html
#
if self.bUseHtmlOutput and imagePath:
lineDelimiter = '<BR/>'
label += '<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="0" CELLBORDER="0"><TR><TD></TD><TD><IMG SRC="%s"/></TD><TD></TD>' % imagePath
@@ -503,4 +510,5 @@ register_report(
description = _("Generates a relationship graphs using Graphviz."),
author_name ="Brian G. Matherly",
author_email ="brian@gramps-project.org"
)
)