π<PlaceHolder> Object Doc.
Purpose: Represents a dynamic string that updates according to the node and fields being manipulated within the CLI.
Key Attributes:
cmd: Reference to the CLI instance.lang, type, name, lemma: Strings representing different aspects of a node in the graph.fields: List of additional fields added or removed by the user.
Key Methods:
update_node(): Updates the Placeholder's attributes based on a new node.update_field(): Adds or removes fields from the Placeholder._add_field(),_remove_field(): Internal methods to manipulate thefieldslist._update_string(): Updates the command prompt with the current state.
Last updated