RenderConfig#

class hugr.hugr.render.RenderConfig(palette: ~hugr.hugr.render.Palette = <factory>, qualify_op_name: bool = False)[source]#

Bases: object

Configuration for rendering a HUGR to a graphviz dot file.

Methods

Attributes

qualify_op_name

If true prepend extension name to operation name.

palette

The palette to use for rendering.

palette: Palette#

The palette to use for rendering. See PALETTE for the included options.

qualify_op_name: bool = False#

If true prepend extension name to operation name.