A simple graph implementation for Scala showing the use of abstract type members.