indegree

abstract fun indegree(to: Node<T>): Int

The number of edges of this graph pointing to to, i.e. ingoingEdges(to).count().