I get all the elements info in the canvas.viewbox.changing event.
var eventBus= bpmnModeler.get('eventBus');
eventBus.on(['canvas.viewbox.changing'],1000, function(e) {
paint();
//
});
The coordinate information of the connection after moving the canvas cannot be obtained in this event.
why