finesse.components.cavity.Cavity.get_exit_nodes

Cavity.get_exit_nodes()[source]

Obtains a dictionary of source: target mappings where source -> target and target is an exit node of the cavity.

An exit node is defined to be a node that is not internal to the cavity, rather it is obtained on propagation from an internal node to outside the cavity.

Returns
exit_nodesdict

A dictionary of source: target mappings.