Fix missing cluster label when Node is used

pull/823/head
Bruno Meneguello 5 years ago
parent 113b17b951
commit c7a10b742f

@ -366,6 +366,8 @@ class Node(_Cluster):
f'<TD align="left">{next(lines)}</TD></TR>' +\
''.join(f'<TR><TD colspan="2" align="left">{line}</TD></TR>' for line in lines) +\
'</TABLE>>'
else:
self.dot.graph_attr["label"] = self.label
self.dot.graph_attr["rankdir"] = self._direction

Loading…
Cancel
Save