ConnectionLayer cLayer = (ConnectionLayer) getLayer(LayerConstants.CONNECTION_LAYER);
cLayer.setAntialias(SWT.ON);
FanRouter fanRouter = new FanRouter();
fanRouter.setSeparation(20);
ShortestPathConnectionRouter router = new ShortestPathConnectionRouter(f);
fanRouter.setNextRouter(router);
cLayer.setConnectionRouter(fanRouter);
return f;
}