elements property

Set<T> get elements

Gets all elements in the Union-Find

Implementation

Set<T> get elements => _nodes.keys.toSet();