Function nodeType

Creates and registers a new node type

The node structure that will adhere to this type

Unique identifier for this node type

A typed node factory with associated methods