This adds the add_connection method to the GraphPipeline class. It adds a connection of two nodes and the nodes themselves implicitly. This can help with usability, as it is less error-prone than programming these two steps by hand when creating a pipeline. Also, this allows for considerably shorter pipeline definitions, which helps the readability of the documentation.
This adds the
add_connection
method to theGraphPipeline
class. It adds a connection of two nodes and the nodes themselves implicitly. This can help with usability, as it is less error-prone than programming these two steps by hand when creating a pipeline. Also, this allows for considerably shorter pipeline definitions, which helps the readability of the documentation.Using
add
andconnect
:Using
add_connection
: