getActiveCellsInfo method

List<CellDebugInfo> getActiveCellsInfo()

Gets information about all active spatial grid cells for debug visualization.

Returns a list of CellDebugInfo containing:

  • bounds: The world-coordinate bounding rectangle of the cell
  • cellX, cellY: The grid cell coordinates (not pixels)
  • Type breakdown: nodeCount, portCount, connectionCount, annotationCount

This is useful for visualizing how the spatial index partitions space.

Implementation

List<CellDebugInfo> getActiveCellsInfo() => _grid.getActiveCellsInfo();