get all edges of a node