Do you have gojs copy as image?

Do you have gojs copy as image?

As in https://app.diagrams.net/

Yes, call Diagram.makeImage or Diagram.makeImageData. I suspect you want to pass the Diagram.selection collection as the parts option.