private ConnectorDecoratorView createConnectorDecoratorView() {
   ConnectorDecoratorView connectorDecoratorView = new ConnectorDecoratorView();
   DiagramCell diagramCell = getDiagramCell();
   if (diagramCell == null) {
     return connectorDecoratorView;
   }
   Mapper<? super SNode, ?> descendantMapper =
       getDiagramCell().getRootMapper().getDescendantMapper(getSNode());
   if (descendantMapper == null) {
     return connectorDecoratorView;
   }
   connectorDecoratorView.setSegments(
       ((PolyLineConnection) descendantMapper.getTarget()).getSegments());
   return connectorDecoratorView;
 }