http://e.biohackers.net/Directed_acyclic_graph