graphics utils for toolbox