Skip to content

Commit

Permalink
Improve explanation of adoption.
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-alec committed Jan 2, 2024
1 parent 00d6aee commit cf1d9ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions specification/hugr.md
Original file line number Diff line number Diff line change
Expand Up @@ -1200,8 +1200,9 @@ nodes is itself a HUGR with some "holes" (edges and nodes that get "filled in"
by the `Replace` operation). To fully specify the operation, some further data
are needed:
- The replacement may containg container nodes with no children, which replace
removed container nodes, adopting all their (non-removed) children.
- The replacement may include container nodes with no children, which adopt
the children of removed container nodes and prevent those children being
removed.
- All new incoming edges from the retained nodes to the new nodes, all
outgoing edges from the new nodes to the retained nodes, and any new edges
that bypass the replacement (going between retained nodes) must be
Expand Down

0 comments on commit cf1d9ac

Please sign in to comment.