invalidatePortIndex method

void invalidatePortIndex()

Invalidate the cached port→hyperedge index (e.g. after modifying hyperedges).

Implementation

void invalidatePortIndex() {
  _portHyperedgeIndex = null;
}