The weight vector diagram is enclosed in a polygon. Each weight vector is a 2D point on the diagram, and they're connected with a line, similar to the image below.Given this, how does one draw the diagram of the self-organizing map that produced these weight vectors? Please give an algorithm rather than a concrete answer to the specific image.
Self-organizing map drawing diagram of network from diagram of final weight vectors
neural networks