Graphs for equivalent circuits