integrated a drawNode class to mirror drawEdge
update node functionality added and node captions now update when properties are changed in editor