finish diagram