Base interface for a graph node. It defines the basic properties and methods that all graph nodes should have.
const express: IGraphBaseEntityNode<typeof GraphTypeEnum.Express, {port: string}> = {}class Express implements IGraphBaseEntityNode<typeof GraphTypeEnum.Express, {port: string}> {} Copy
const express: IGraphBaseEntityNode<typeof GraphTypeEnum.Express, {port: string}> = {}class Express implements IGraphBaseEntityNode<typeof GraphTypeEnum.Express, {port: string}> {}
v0.1.0
IGraphEventEntityNode for a node that can emit update events.
The type of the node. It should be a number.
The properties of the node. It should be an object with string keys and unknown values.
Readonly
The unique identifier of the node. It should be a const string for static nodes. (like UUID)
The type of the node. It should be a const number. (like an enum value)
Optional
Base interface for a graph node. It defines the basic properties and methods that all graph nodes should have.
Example
Since
v0.1.0
See
IGraphEventEntityNode for a node that can emit update events.