Type Alias GraphEdges<ID, FROM, TO>

GraphEdges<ID, FROM, TO>: Map<FROM, Set<TO>>

a directed acyclic graph edges mapping optimized for looking up number of connections going into and out of a node

Type Parameters

  • ID
  • FROM extends ID = ID
  • TO extends ID = ID