Graph algorithms for Graph for Scala