JavaScript component for diagram drawing.