edited graphService