AbstractBatchPositionGetter#
- class omni.kit.widget.graph.AbstractBatchPositionGetter(
 - model: GraphModel,
 Bases:
ABCHelper to get the nodes to move at the same time.
This class is designed to be subclassed to implement specific strategies for determining the positions of a batch of nodes in a graph UI. It uses weak references to the graph model to avoid circular references and potential memory leaks.
- Parameters:
 model (GraphModel) – The graph model associated with this position getter.
Methods
__init__(model)Initializes the AbstractBatchPositionGetter with a given graph model.
Attributes
Gets the graph model.
- __init__(
 - model: GraphModel,
 Initializes the AbstractBatchPositionGetter with a given graph model.
- property model#
 Gets the graph model.
- Returns:
 A weak reference to the graph model.