graph code v0 + closure