add collapse option to edge selection
Working out collapse-ation