Controlling node flow using a Gate action