Add standard, context, and block nodes to a graph and connect them.
Nodes are the fundamental building blocks of any graph. To build your graph you need to add nodes to it and connect them. There are three types of nodes you can add to a graph: standard nodes, context nodes, and block nodes.
Before you can add nodes to a graph, you need to create a graph instance. If you haven’t done this yet, follow the instructions in Implement a graph tool.
To add a standard node to your graph:
The node appears on the canvas. You can move it, remove it, or connect it to other nodes.
To add a context node to the graph:
The context node appears on the canvas. It behaves like any other node in the graph. You can move it, remove it, or connect it to other nodes.
A new context node doesn’t contain any blocks. Follow the steps in Add a block node to a context node to add blocks to the context node.
To add a block node inside a context node:
After you add a block node, you can remove or connect a block node the same way as other nodes.