Implemented the edge() query for undirected graphs. It's probably not going to work for directed graphs with vectors - I don't know if the functions are there.