adds analysis diagram and design diagram