fixed diagram publishing

Hi, the diagram publishing was broken, but should be fixed now!
Regards
Arne