@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new TransitionConnectionEndpointsEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_ROLE, new TransitionConnectionEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_BENDPOINTS_ROLE, new TransitionConnectionBendpointEditPolicy());
installEditPolicy(EditPolicy.LAYOUT_ROLE, new ActiveLayoutEditPolicy());
}