remove diagram