digraph acyclic detect implementation
Merge branch 'develop'