Integration of keeping diagram element when applying a pattern using CVL