Traversing directed cyclic and acyclic graphs using modified BFS algorithm | IEEE Conference Publication | IEEE Xplore