Graph implemented in Java and used with different typical algorithms.