add graph program