Attention is a cornerstone of cognitive function, and understanding its neural mechanisms is of great significance for both cognitive science and clinical applications. A critical aspect of this endeavor involves elucidating how the brain's network architecture shifts between internally- and externally-directed states. However, the distinct organizational principles of neural networks in these states, as well as the pivotal brain regions and connections that mediate such transitions, remain larg