Save graph