Rewritten graph