Exemplo n.º 1
0
 public static OutPoint Connect(SerialOutPoint a, GraphNode b, int length = 1)
 {
     var outPoint = a.AddOutConnection();
     var inPoint = b.AddInConnection();
     GraphConnection.Connect(outPoint, inPoint, length);
     return outPoint;
 }
Exemplo n.º 2
0
        public static OutPoint Connect(SerialOutPoint a, GraphNode b, int length = 1)
        {
            var outPoint = a.AddOutConnection();
            var inPoint  = b.AddInConnection();

            GraphConnection.Connect(outPoint, inPoint, length);
            return(outPoint);
        }
Exemplo n.º 3
0
 public override ColorableClass ConnectTo(SerialOutPoint outPoint, int length = 1)
 {
     return(Output.ConnectTo(outPoint, length));
 }
Exemplo n.º 4
0
 public virtual ColorableClass ConnectTo(SerialOutPoint outPoint, int length = 1)
 {
     return this;
 }
Exemplo n.º 5
0
 public override ColorableClass ConnectTo(SerialOutPoint outPoint, int length = 1)
 {
     return Output.ConnectTo(outPoint, length);
 }
Exemplo n.º 6
0
 public virtual ColorableClass ConnectTo(SerialOutPoint outPoint, int length = 1)
 {
     return(this);
 }