mod: https://github.com/scala-graph/scala-graph/issues/15