A general method of systematic derivation of affine moment invariants of any weights and orders is introduced. Each invariant is expressed by its generating graph. Techniques for elimination of reducible invariants and dependent invariants are discussed. This approach is illustrated on the set of all affine moment invariants up to the weight ten.