protected void AddDiagramConnectorIfNotExists(IModelRelationship modelRelationship, IDiagram diagram) { if (diagram.ConnectorExists(modelRelationship.Id)) { return; } DiagramService.AddConnector(modelRelationship.Id); }