graph:
* updated to get edges in/from vertices