buffalo_panel.app.tui.SimulationNodeData

class buffalo_panel.app.tui.SimulationNodeData(path, schema, kind, key_label=None)[source]

Structured metadata stored on each visible tree node.

Attributes

path

Canonical location of the node value inside simulation data.

schema

Schema node describing the field or object at path.

kind

Whether the node represents a field, list item, or mapping entry.

key_label

User-facing label for renamable mapping keys when relevant.

is_mapping_entry

Return whether the node represents one mapping entry key.

path: NodePath

Canonical location of the node value inside simulation data.

schema: SchemaNode

Schema node describing the field or object at path.

kind: NodeKind

Whether the node represents a field, list item, or mapping entry.

key_label: str | None

User-facing label for renamable mapping keys when relevant.

property is_mapping_entry: bool

Return whether the node represents one mapping entry key.