change graph/create-edge signature; passing a key is optional