pub fn undirected<T: Ord + Copy>(a: T, b: T) -> [T; 2]
The edge between a and b, either way round: the smaller first.
a
b