I need to download multiple diagram images in PDF format, but I only have a single diagram container (div). The diagrams are displayed one at a time based on selected data. However, I want to download all diagrams as a single PDF. I cannot use libraries such as SvgToPDF or PDFKit.
When I try to retrieve the diagram data using ‘fromDiv’, the last diagram model data is always assigned to the selected diagram. How can I resolve this issue?