rnaglib.algorithms.bfs¶ rnaglib.algorithms.bfs(graph, initial_nodes, nc_block=False, depth=2, label='label')[source]¶ BFS from seed nodes given graph and initial node. Parameters: graph – Nx graph initial_nodes – single or iterable node depth – The number of hops to conduct from our roots Returns: list of nodes