collect all ancestor paths of a node of type T in a graph
collect all ancestor paths of a node of type T in a graph
collect all distinct nodes (based on reference equality) of type T in a graph
collect all distinct nodes (based on reference equality) of type T in a graph