added ability to select a pre-set graph definition