implement service for graph data