R: check if vs/es is really from the graph, #741