adds interface diagram