Skip to main content
Abstract Abstract base class for all graph nodes. Provides common functionality such as ID generation, tracking of internal components, and conversion to a graph configuration node.

Hierarchy

Constructor

new AbstractNode(
    props: AbstractNodeProps
): AbstractNode
Creates a new AbstractNode.

Parameters

props (AbstractNodeProps) Node configuration including optional id and reportToClient flag.

Returns

AbstractNode Remarks: If no id is provided, one will be auto-generated based on the class name. The reportToClient flag defaults to false.