Graph code