Javascript widget to draw a graph annotation on an image.