We are creating Go JS diagram blob as below:
let d = myDiagram.documentBounds;
myBlob = myDiagram.makeImageData({ background: “white”, scale:1, returnType: “blob”, callback: createAllSectorsPlumbingBlobs, size: new go.Size(d.width, d.height), maxSize: new go.Size(999999999, 999999999) });
We have multiple diagrams and we are using navigation to display them < A B C D E F G H…>.
Requirement: I need to get blob array of all these diagrams.
Current Implementation: We are switching to each and every page in the navigantion and generating blob for that diagram.
What’s bad in Current Implementation: It is taking a lot of time to swich to each and every page in the navigation and getting it’s blob.
Expectation: I have separate node data array and link data array for all the pages in navigation.
How can we simply get blobs of all these pages without switching to each page?