PNG file is added instead of PDF file for the diagram