EN
The homology theory of colored posets, defined by B. Everitt and P. Turner, is generalized. Two graph categories are defined and Khovanov type graph cohomology are interpreted as Ext* groups in functor categories associated to these categories. The connection, described by J. H. Przytycki, between the Hochschild homology of an algebra and the graph cohomology, defined for the same algebra and a cyclic graph, is explained from the point of view of homological algebra in functor categories.