Add options to sandclock in tree document generator
This works and is actually needed to style the root node.
This commit is contained in:
committed by
Nick Hall
parent
cc28935b15
commit
daa845492d
@@ -409,9 +409,6 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
|||||||
options = ['id=%s' % family.gramps_id]
|
options = ['id=%s' % family.gramps_id]
|
||||||
if option_list:
|
if option_list:
|
||||||
options.extend(option_list)
|
options.extend(option_list)
|
||||||
if subgraph_type == 'sandclock':
|
|
||||||
self.write(level, 'sandclock{\n')
|
|
||||||
else:
|
|
||||||
self.write(level, '%s[%s]{\n' % (subgraph_type, ','.join(options)))
|
self.write(level, '%s[%s]{\n' % (subgraph_type, ','.join(options)))
|
||||||
|
|
||||||
def end_subgraph(self, level):
|
def end_subgraph(self, level):
|
||||||
|
Reference in New Issue
Block a user