&& (Shape.EDGE_LIKE.equals(ref.getShape()) || sourceView.getMap().getLayoutType() == MapViewLayout.OUTLINE)
&& source.isVisible() && target.isVisible()) {
arrowLink = new EdgeLinkView(ref, getModeController(), sourceView, targetView);
}
else {
arrowLink = new ConnectorView(ref, sourceView, targetView, getBackground());
}
arrowLink.paint(graphics);
arrowLinkViews.add(arrowLink);
}
}