Binary Tree Widget

Add binary trees (data structure) using the ‘Binary Tree widget’.

We'll cover the following

This is what it looks like:

What do I need to know?

  • If not already present, you can add a left/right child to a node.

    • With the “+Left” button, you can add a left child to the selected node.

    • With the “Right+” button, you can add a right child to the selected node.

  • You can change the value or color of a node.

    • Click the node and specify the label/text in the text field.

    • Click the node and use the color picker to change the color.

  • You can select the node and click the trash icon to delete it.

See the image below for reference.