BoundsManipulator figureManipulator = new BoundsManipulator();
controller.setSelectionManipulator(figureManipulator);
// Make resizing reroute the connectors too
DragInteractor j = figureManipulator.getHandleInteractor();
j.addLayerListener(new LayerAdapter() {
public void mouseDragged(LayerEvent e) {
connectorA.reroute();
connectorB.reroute();
connectorC.reroute();
connectorD.reroute();