[graph-tool] Create graph from a list of nodes