graph display fix
got rid of redundant command object
added options to configure graph