BoxNode#

class tierkreis.core.tierkreis_graph.BoxNode(graph: TierkreisGraph, location: Location)[source]#

Bases: TierkreisNode

Nested subgraph node. Node signature is that of inner 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.

Attributes

graph

location

classmethod from_proto(node: Node) TierkreisNode#

Load from protobuf node.

is_copy_node() bool#

Whether this node is a copy function node.

is_discard_node() bool#

Delete nodes have some special behaviour, check for it.

is_unpack_node() bool#

Whether this node is an unpack struct function node.

to_proto() Node[source]#

Convert to node protobuf message.