Graph sketch