问题 I have a JPG, BMP, or SVG image (see example below) and I need an algorithm to extract the vertices (X, Y) coordinates and the egdes (i.e., a list that indicates which vertices are connected). The Edges can be of the form of a boolean true/false for each vertex pair or simply a list of vertex pairs that are connected. Any ideas welcome. For example, I would like a function (or series of functions) which input the image and output two lists: Vertices : Vertex 1: X = 1, Y = 2 Vertex 2: X = 3, Y