How can you tell if two line drawings are the same

Two drawings, each composed of line segments, may appear identical, even though the data sets by which they are stored in a computer bear no obvious relationship to one another. An algorithm is presented by which any data set specifying a line drawing may be reduced to a canonical form. Any two data sets that specify line drawings that look the same will become identical when reduced to canonical form.