dgraph_vertices/3

dgraph_vertices(+ Graph, - Vertices)*

Unify Vertices with all vertices appearing in graph Graph.