edges property

Iterable<Edge> get edges

Returns all outgoing edges for this node.

Implementation

Iterable<Edge> get edges sync* {
  var firstEdgeIndex = snapshot._edgesStartIndexForNode[index];
  for (var i = 0, n = edgeCount; i < n; i++) {
    yield Edge._(snapshot: snapshot, index: firstEdgeIndex + i);
  }
}