Delete diagram reference