A simple graph library written in Scala