0002118: No URLs in pdf/dot version of the relationship graph report
svn: r10643
This commit is contained in:
@@ -225,7 +225,7 @@ class RelGraphReport(Report):
|
|||||||
dirpath = dirpath.lower()
|
dirpath = dirpath.lower()
|
||||||
url = "%s/%s.html" % (dirpath, h)
|
url = "%s/%s.html" % (dirpath, h)
|
||||||
|
|
||||||
self.doc.add_node(p_id,label,shape,color,style,fill)
|
self.doc.add_node(p_id,label,shape,color,style,fill,url)
|
||||||
|
|
||||||
# Output families where person is a parent
|
# Output families where person is a parent
|
||||||
if self.show_families:
|
if self.show_families:
|
||||||
@@ -252,7 +252,7 @@ class RelGraphReport(Report):
|
|||||||
elif self.colorize == 'filled':
|
elif self.colorize == 'filled':
|
||||||
fill = self.colors['family']
|
fill = self.colors['family']
|
||||||
style = "filled"
|
style = "filled"
|
||||||
self.doc.add_node(fam_id,label,"ellipse",color,style,fill)
|
self.doc.add_node(fam_id,label,"ellipse",color,style,fill,url)
|
||||||
# Link this person to all his/her families.
|
# Link this person to all his/her families.
|
||||||
self.doc.add_link( fam_id, p_id, "",
|
self.doc.add_link( fam_id, p_id, "",
|
||||||
self.arrowheadstyle, self.arrowtailstyle )
|
self.arrowheadstyle, self.arrowtailstyle )
|
||||||
|
Reference in New Issue
Block a user