Add shared graph.