Add Prim Graph