Defined in File GraphTools.hpp
Copies all nodes of the input graph to a new graph (edges are not copied).
G – The input graph.
Graph with the same nodes as the input graph (and without any edge).