1.1 --- a/moinformat/serialisers/pretty/graphviz.py Sat Jul 01 00:43:48 2023 +0200
1.2 +++ b/moinformat/serialisers/pretty/graphviz.py Sat Jul 01 18:40:45 2023 +0200
1.3 @@ -30,11 +30,18 @@
1.4
1.5 # Node handler methods.
1.6
1.7 + def block(self, block):
1.8 + self.out("%sBlock\n" % self.output.indent)
1.9 + self.container(block)
1.10 +
1.11 def directive(self, directive):
1.12 self.out("%sDirective: key=%r value=%r directive=%r\n" % (
1.13 self.output.indent, directive.key, directive.value,
1.14 directive.directive))
1.15
1.16 + def text(self, text):
1.17 + self.out("%sText: %r\n" % (self.output.indent, text.s))
1.18 +
1.19 serialiser = GraphvizSerialiser
1.20
1.21 # vim: tabstop=4 expandtab shiftwidth=4