A generalization of the total graph of a ring is presented. Various properties are proved and some relations to the total graph of a ring as well as to the zero-divisor graph are established.