Changeset 3422 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorShapeInfo.cs
- Timestamp:
- 04/19/10 22:07:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorShapeInfo.cs
r3386 r3422 160 160 shape.Collapsed = this.Collapsed; 161 161 foreach (string connectorName in this.connectorNames) 162 shape.AddConnector(connectorName); 162 if (connectorName != OperatorShapeInfoFactory.SuccessorConnector && connectorName != OperatorShapeInfoFactory.PredecessorConnector) 163 shape.AddConnector(connectorName); 163 164 164 165 shape.UpdateLabels(this.labels); … … 191 192 operatorShape.RemoveConnector(oldConnectorNames[j]); 192 193 193 //add new connectors 194 //add new connectors except successor and connector 194 195 for (; i < this.connectorNames.Count; i++) 196 if (this.connectorNames[i] != OperatorShapeInfoFactory.SuccessorConnector && this.connectorNames[i] != OperatorShapeInfoFactory.PredecessorConnector) 195 197 operatorShape.AddConnector(this.connectorNames[i]); 196 198
Note: See TracChangeset
for help on using the changeset viewer.