TierkreisNode#

class tierkreis.core.tierkreis_graph.TierkreisNode[source]#

Bases: ABC

A node in a Tierkreis graph.

Methods

from_proto

Load from protobuf node.

is_copy_node

Whether this node is a copy function node.

is_discard_node

Delete nodes have some special behaviour, check for it.

is_unpack_node

Whether this node is an unpack struct function node.

to_proto

Convert to node protobuf message.

classmethod from_proto(node: Node) TierkreisNode[source]#

Load from protobuf node.

is_copy_node() bool[source]#

Whether this node is a copy function node.

is_discard_node() bool[source]#

Delete nodes have some special behaviour, check for it.

is_unpack_node() bool[source]#

Whether this node is an unpack struct function node.

abstract to_proto() Node[source]#

Convert to node protobuf message.