Hello,
is there any way to remember and then set view position, aka how user views a diagram?
I have tried the following
const { verticalOffset, horizontalOffset, currentZoom, } = diagram.scrollSettings;
and then
diagram.pan(horizontalOffs, verticalOffset);
diagram.zoom(currentZoom);
But diagram does not behave as expected and view is not as requested
Is this the recommended solution?
Thank you