SMS: Power systems applications of graph theory