add graph sample