adding clear canvas
adding cli editor script
fixed display canvas
adding draw vertical segment