A visual graphics program topological sorting method

The present invention discloses a visual graphics program topological sorting method, the sign-ascending order according to the transverse coordinate x, the same x-coordinate by ascending y coordinate longitudinal, form a preliminary sequence; closed loop design pattern network disruption of symbols, the or sET closed symbols with subsequent symbols output connected to a known point; topological sort data according to the depth and priority flow dependency, a defined topological sort rules stack; and is connected to the output point based on input data flow dependencies , followed by subsequent symbols priority is determined whether the state of the known symbol, the data symbol stream dependency branch traversed by sorting. This method reduces manual intervention process, to solve the deadlock dependent closed-loop, flow dependency data forming the branch is to improve the process efficiency.