adding node one by one to the canvas