pyaiml21.graphmaster.node.GMNode

class pyaiml21.graphmaster.node.GMNode(obj: typing.Optional[typing.Any] = None, children: typing.Dict[str, pyaiml21.graphmaster.node.GMNode] = <factory>)[source][source]

Represents a node in the graphmaster used for storing pattern paths.

The only usable fields are obj - for storing whatever should be retrieved for the pattern path if this is its last node, and children - a mapping from string to other node.

Methods

Attributes

obj

children