Returns a mapping between vertex and number of incoming connections.
Map<T, int> get inDegreeMap => _inDegreeMap();