Added a CSS rule (white-space: nowrap) to "node" class to make sure the node's DIV container no auto resize when drag to right border of viewable canvas.