added the partial graph