Text this: Graph theory applications to deregulated power systems