Use Edge\Undirected instead of Edge\UndirectedId
Remove needless Edge\UndirectedId