graph drawing tool

fix a couple of asserts missed in the recent audit

Created by  akkartik  on December 9, 2023
AYG2PQCGAULRJSECW6TEOJMAKH3ZLWJ2ND4DVWC5II3BCV3IGAIQC
Change contents