add graph device