export.pdf()/png() does not work.

Currently, I am using diagram 4.2.0 version, and an error occurs when calling diagram.export.pdf()/png(). Please check quickly.

1 Like

Could you please, recheck, as the following example seem to work for me:
If the problem still occurs for you please, provide a complete demo, where the problem can be reconstructed.