The concept of traffic lights includes controlling the system of a traffic light so that a safe level of safety can be obtained. Modeling the problem of traffic lights has been proposed as a problem of assignment in combinatorial theory. This problem is also modeled as a graph coloring problem. In this paper, we have tried to model these problems in practical examples as the problem of staining the fuzzy graph and compare them with the proposed methods.