Tracery (noun)
Ornamental interlacing and branching lines in architecture.
Sometimes tracery is openwork decorating a window as in Gothic cathedrals and other times it spreads across flat surfaces like ceiling vaults. Tracery can be carved in wood or made from brick, but most often it is created in stone.