A numerical method for analysis of the stress – strain state of elastic media based on a discrete model in form of directed graph is suggested. To analyze a deformable body using the graph approach, we partitione a solid body on elements and replace each element by its model in the form of an elementary cell. The matrices, presenting several structure elements of the graph, and the equations, describing the elementary cells, contribute to deriving the constitutive equations of the intact body.