Add options to sandclock in tree document generator
This works and is actually needed to style the root node.
This commit is contained in:
parent
cc28935b15
commit
daa845492d
@ -409,10 +409,7 @@ class TreeDocBase(BaseDoc, TreeDoc):
|
||||
options = ['id=%s' % family.gramps_id]
|
||||
if 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):
|
||||
self.write(level, '}\n')
|
||||
|
Loading…
Reference in New Issue
Block a user