Convex Polygons - Side Lengths

Compute, and show the length, of each side. Place the length values at the center point of each side.


SVG Source:
Javascript: