Generally means "corner to corner".
In Geometry it is a line segment that goes from one corner to another, but is not an edge. See below.
So when we directly join any two corners (called "vertices") which are not already joined by an edge, we get a diagonal.