Add graph digest sketch.