Пример #1
0
 public void Link(FlowPort outPort, FlowPort inPort)
 {
     outPort.Node.Link(outPort, inPort);
 }
Пример #2
0
 public void Link(FlowPort outPort, FlowPort inPort)
 {
     _flowConnections.Add(new FlowConnection(outPort, inPort));
     _flowConnections.Sort((x, y) => _graph.GetNode(x.TargetNode).Rect.position.x.CompareTo(_graph.GetNode(y.TargetNode).Rect.position.x));
 }