pub fn placement(doc: &Document, shape: Shape) -> Option<(BlockId, GridRect)>Expand description
The scope a routing shape occupies with its rect: a block sits in its parent’s interior, a port body in its owner’s. Rects only compare within one scope — two scopes are two coordinate spaces.