Change zoom of subprocess plane

I want to change programmatically zoom of subprocess plane. How can I do it? I can change zoom of root, but how can I change zoom of subprocess?

You use Canvas#zoom to zoom programmatically. How would that work differently for subprocesses?

How can I find canvas of subprocess?

Can you write code example to change zoom of subprocess plane?

There is only one canvas and it always shows the active root element, so you can always use Canvas#zoom.

Thank you. This is how works for me
eventBus.on(‘root.set’, function (e) {
canvas.zoom(0.75);
});

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