How can i get svg from collapsed subprocess?

Hi dear community, i need generate a png from the collapsed subprocess.

i reached this in main process using the svg generated from the modeler, but i need generate a png from collapsed sub process too.

do you know any behaivor for reache this?

Thankyou so much.

PD: I was looking for the forum topic and found nothing

The best way is to programmatically navigate into the sub process and export the image.

You can use Canvas#setRootElement to navigate into a sub-process:

const subProcess = elementRegistry.get('mySubProcess');

1 Like

@nikku Thankyou so much, this works for me.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.