RegionOrderHints

class hugr.model.load.RegionOrderHints(input_keys: list[int] = <factory>, output_keys: list[int] = <factory>, edges: list[tuple[int, int]] = <factory>, key_to_node: dict[int, ~hugr.hugr.node_port.Node] = <factory>)[source]

Bases: object

Order hint metadata.

Methods

add_node_keys

get_node_by_key

Attributes

input_keys

output_keys

edges

key_to_node