Edit the node Code

Signed-off-by: bonyb <n.banerjee064@gmail.com>
Added Cancel functionality to Add and Edit Node

Signed-off-by: bonyb <n.banerjee064@gmail.com>
Fixed bug for Inconsistent node Positions
Added Functionality for Edit and Submit node
Added Comment Functionality for Cancel and Submit
Re-factored Java code for better code qualitySigned-off-by: bonyb
<n.banerjee064@gmail.com>