graph coding done