Connect blocks on the Canvas
- Last UpdatedFeb 12, 2024
- 2 minute read
Each block has a set of input ports and output ports. Input ports appear at the top of block while output ports appear at the bottom.
Each port has a data type. You can tell the data type for a port by the icon that the port uses:
-
Image (
) – An image from the image dataset.
-
Numeric (
) – A numeric value.
-
Text (
) – A string of text.
-
Boolean (
) – A two-state logical value (true or false).
When you connect blocks on the Canvas, you should only connect ports that have the same data type.
To connect blocks on the Canvas
-
Drag the output port of one block onto the input port of another block.
The data types for the ports must match to successfully make the connection.