graph data trimming works