Author: Zhanrui Liang Force-based graph drawing algorithm ======================================= Implement by Javascript, using HTML5's canvas.