SUPERVISION component automatically defines for each node two special ports an Input Gate and an Output Gate. They are managed by SUPERVISION and are not arguments of services of nodes.
Sometimes the flow of data in a graph allow parallel execution of nodes ; but the implementation of the services of these nodes does not allow parallel execution ( services which are not thread-safe, internal dependencies, etc… ). These ports give the possibility to solve such problems.
If there is no link on a Gate, the Gate is ignored at execution time.
The internal type of these ports are boolean.
If there is a link from an output Gate of a node to an Input Gate, the node of the input Gate will be executed after the other node.
If an output port of a switch node is connected to an input gate, the node of the input gate will be executed only if the value of the output port is “True”.
But an output gate may not be connected with a link to an input port.