Simple DA Graph object with topological sorting