public IConnection CreateConnection(IConnectionPoint sourcePoint, IConnectionPoint destinationPoint) { if (!sourcePoint.CanConnect(destinationPoint)) { return(null); } var connection = new NeuroFiberConnection(sourcePoint, destinationPoint, new DirectLineRouter()); this.ConnectionAdded?.Invoke(this, new ConnectionEventArgs(connection)); return(connection); }