* @return figure
*/
protected IFigure createFigure()
{
EdgeModel model = getEdgeModel();
EdgeFigure eFigure = new EdgeFigure(model.getText(),
model.getTextFont(),
model.getTextColor(),
model.getColor(),
model.getStyle(),
model.getArrow(),
model.getWidth(),
model.getHighlightColor(),
model.isHighlight());
eFigure.updateHighlight(
(HighlightLayer) getLayer(HighlightLayer.HIGHLIGHT_LAYER),
getEdgeModel().isHighlight());
eFigure.setConnectionRouter(new BendpointConnectionRouter()
{
public void route(Connection conn)
{
if (!LayoutOptionsPack.getInstance().getGeneral().
isAnimationDuringLayout()