Renaming diagram