finesse.components.node.Port.attached_to

property Port.attached_to

Components that this port is attached to. Optical ports are only ever connected to Space elements. Ports containing signal nodes can have multiple connections and returns a Set.

Getter

Returns the component this port is attached to, or returns None if no such connected component exists. Signal ports return a Set of components attached (read-only).