Export diagram now works.