DotRenderer# class hugr.hugr.render.DotRenderer(config: RenderConfig | None = None)[source]# Bases: object Render a HUGR to a graphviz dot file. Parameters: config – Render config Methods render Render a HUGR to a graphviz dot object. store Render a HUGR and save it to a file. Attributes config render(hugr: Hugr) → Digraph[source]# Render a HUGR to a graphviz dot object. store(hugr: Hugr, filename: str, format: str = 'svg') → None[source]# Render a HUGR and save it to a file. Parameters: hugr – The HUGR to render. filename – Filename for saving the rendered graph. format – The format used for rendering (‘pdf’, ‘png’, etc.). Defaults to SVG.