Graph theory is used in the analysis and design of electrical networks such as power grids and circuits.