Type alias NodeId

NodeId: Brand<string, "NodeId">

Uniquely identifies as node in the model graph.

The underlying type is a string. Additionally, we use Brand to provide better type support.

The following codes creates a NodeId:

Example

const nodeId = '42' as NodeId;