The invention discloses a graphic layout method applicable to a software visualization process, which belongs to the technical field of software visualization. The method comprises: firstly, setting the left upper corner of canvas as the origin of coordinate, performing deep search of a to-be-processed digraph obtained in the software visualization process, and obtaining the coordinate of the left upper coroner of each node frame according to the search result; secondly, acquiring the frame length and width information of each node according to the set text content and type of each node; and finally, obtaining the coordinate of the central point of a frame rectangle according to the coordinate of the left upper corner of each node frame and the frame length and width information of each node. In the invention, when the digraph has a large number of nodes, the intercrossed lines are reduced as much as possible; and the layout of other nodes connected with a node in a geometric space is taken into full consideration, the positions of the nodes in the digraph are concentrated relatively, and the readability of a hierarchic system structure chart is high.