Resending to check if my messages are going at all... Tx, Muni ________________________________ From: Muniraju Pulipalyam <munir...@hotmail.com> Sent: Sunday, November 24, 2024 4:07 PM To: dev@graphar.apache.org <dev@graphar.apache.org> Subject: BFS and DFS
Hi All, I have a few collections of edges that connect vertices of different types based on different relationships. In EdgeCollection, I have next_src/next_dest, how do I model DFS and BFS efficiently without having to maintain different iterator pointers? For DFS, I want to go all the way on the connected vertex until next_src/next_dest is false before traversing up to find next_dest/next_src on the original iterator of the vertex I started. Need to also take care of circular references. Any pointers highly appreciated. Thanks, Muni