There are three built-in node types (
group) that you can use. The node types differ in the number and types of handles. An input node has only a source handle, a default node has a source and a target and an output node has only a target handle. You can read about how to add custom types in the custom node types section.
Built-in Node Types
nodeTypes object looks like this:
The keys represent the type names and the values are the components that get rendered. You can add new types by creating a custom node.