Directed Acyclic Graph tools - C++, Python, Javascript , PHP