import { Traverse } from "https://deno.land/x/rimbu@0.12.3/mod.ts";
const { traverseBreadthFirstHashed } = Traverse;
Returns a stream of connections that can be reached in the given graph
starting at the given startNode
, and using breadth-first traversal. It avoids
loops by internally placing the visited nodes in a HashSet builder.