add activity and logical diagram