Palette

Contents

Palette#

class hugr.hugr.render.Palette(background: str, node: str, edge: str, dark: str, const: str, discard: str, node_border: str, port_border: str)[source]#

Bases: object

A set of colours used for rendering.

Methods

named

Attributes

background

node

edge

dark

const

discard

node_border

port_border