code: def render_tree(self, **kwargs):
          
          self.setup(**kwargs)
          svg = self.svg.root
          for f in self.xml_filters:
              svg = f(svg)
          self.teardown()
          return svg
docs: Render the graph, and return (l)xml etree