dgraph_to_ugraph/3

dgraph_to_ugraph(+ Graph, - UGraph)*

Unify UGraph with the representation used by the ugraphs unweighted graphs library, that is, a list of the form V-Neighbors, where V is a node and Neighbors the nodes children.