public void Link(FlowPort outPort, FlowPort inPort) { outPort.Node.Link(outPort, inPort); }
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)); }