Print diagram