refactored code for colornodeborder
perfect node update
update perfect node fix
Merge branch 'master' into haoxuan3
Code review for moving update of node style to draw-model.js
Moved actual update from controller.js to draw-model.js
Otherwise, fixed up indentation a bit.