//UndirectedEqual to check whether two undirected edges are equal
UndirectedEqual to check whether two undirected edges are equal
// UndirectedEqual to check whether two undirected edges are equal
func (e EdgeID) UndirectedEqual(f EdgeID) bool {
	if e == f {
		return true
	}
	if e.From == f.To && e.To == f.From {
		return true
	}
	return false
}
func ( e EdgeID ) UndirectedEqual ( f EdgeID ) bool { if e == f { return true } if e . From == f . To && e . To == f . From { return true } return false }
UndirectedEqual to check whether two undirected edges are equal
UndirectedEqual to check whether two undirected edges are equal