SelectionGetter#

class omni.kit.widget.graph.SelectionGetter(model: GraphModel)#

Bases: AbstractBatchPositionGetter

A class for retrieving the selection from a GraphModel.

This helper class is designed to be used in conjunction with GraphModelBatchPosition to obtain the current selection within the GraphModel.

Parameters:

model (GraphModel) – The graph model from which the selection is to be retrieved.

Methods

__init__(model)

Initializes a new instance of the SelectionGetter class.

Attributes

__init__(
model: GraphModel,
)#

Initializes a new instance of the SelectionGetter class.