(Translated by https://www.hiragana.jp/)
TikZ examples feature: Overlays
 

Overlays examples

The effect of the overlay option is that everything within the current scope is not taken into account when the bounding box of the current picture is calculated. Usually used when referencing nodes in other pictures, but can also be useful when you want to keep some paths out of the bounding box calculation.