clear method

void clear()

Clears all items from the spatial index.

Implementation

void clear() {
  _nodes.clear();
  _connections.clear();
  _annotations.clear();
  _connectionSegmentIds.clear();
  _nodePortIds.clear();
  _grid.clear();
  _notifyChanged();
}