Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/19/10 22:07:24 (14 years ago)
Author:
mkommend
Message:
  • corrected bugs in operator graph visualization (ticket #867)
  • changed multi call operators in graph visualization (ticket #979)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorShapeInfoFactory.cs

    r3386 r3422  
    3232  internal static class OperatorShapeInfoFactory {
    3333    public const string PredecessorConnector = "Predecessor";
     34    public const string SuccessorConnector = "Successor";
    3435    public static IOperatorShapeInfo CreateOperatorShapeInfo(IOperator op) {
    35       IEnumerable<string> operatorParameterNames = op.Parameters.Where(p => p is IValueParameter<IOperator>).Select(p => p.Name);
    36       IEnumerable<string> paramaterNameValues = op.Parameters.Where(p => !(p is IValueParameter<IOperator>)).Select(p => p.ToString());
     36      IEnumerable<string> operatorParameterNames = op.Parameters.Where(p => p is IValueParameter && typeof(IOperator).IsAssignableFrom(p.DataType)).Select(p => p.Name);
     37      IEnumerable<string> paramaterNameValues = op.Parameters.Where(p => !(p is IValueParameter && typeof(IOperator).IsAssignableFrom(p.DataType))).Select(p => p.ToString());
    3738
    3839      OperatorShapeInfo operatorShapeInfo = new OperatorShapeInfo(operatorParameterNames, paramaterNameValues);
Note: See TracChangeset for help on using the changeset viewer.