Subclassed UndirectedGraph to created DirectedGraph