Swim Lane resize - keep the resize adornment in view

Hello,

I’m using the swimlanes example for my diagram. Is there a way to keep the resize adornment in the view when I resize the diagram horizontally?

The actual behaviour

Expected result

Thanks.

I think you can override ResizingTool.doMouseMove to also call

this.diagram.doAutoScroll(this.diagram.lastInput.viewPoint);

Then when the user holds the mouse just inside the edge of the viewport, the diagram will auto-scroll.

We do not support autoscrolling outside of the viewport (or DIV) because such an action might be interpreted as a drag-and-drop operation. Although in your case that would not make sense.