Edge vs vertex

An edge is a line segment connecting two vertices in a graph or other geometric shape. It represents the relationship between two vertices. A vertex is a point where two or more edges meet in a graph or other geometric shape.

In summary, an edge connects two vertices, while a vertex is a point where edges meet.