Is the scale of a hex map measured along the edges of the map or across the center?

Various official sources include hex maps with scales on them: the Sword Coast from Dragon of Icespire Peak says "1 hex = 5 miles." Is that 5 miles measured across the center of each hex, or an edge length? I can’t seem to find any clarification in the DMG or otherwise.