Module linking

Module linking 

Source
Expand description

Directives and errors relating to linking Hugrs.

Enums§

NodeLinkingDirective
Directive for how to treat a particular module-child in the source Hugr. (TN is a node in the target Hugr.)
NodeLinkingError
An error resulting from an NodeLinkingDirective passed to HugrLinking::insert_link_hugr_by_node or HugrLinking::insert_link_view_by_node.

Traits§

HugrLinking
Methods that merge Hugrs, adding static edges between old and inserted nodes.

Type Aliases§

NodeLinkingDirectives
Details, node-by-node, how module-children of a source Hugr should be inserted into a target Hugr.