fix up draw graph functionality