graph drawing tool

bugfix: undo drawing creation

Also clean up drawing state to make sure we don't get into hard-to-debug situations.

Created by  Kartik K. Agaram  on June 2, 2022
U2TKUOIDFGFVQW7FLFSQ5KDIRYWCYIHWD67F5ZTXKR5EEVSGTZZQC
Change contents