enum UserAction ---> enum EdgeType for consistency