The embodiment of the invention provides a
system capable of realizing automatic
layout of a
flow chart. The
system comprises the steps that the
logical relationship of nodes is obtained; the
logical relationship of the nodes is analyzed and the nodes are graded; the nodes in the same grade are optimized, and an optimal
layout mode is computed; the coordinates of each optimized node in the
flow chart are determined by adopting a
topological order. The
logical relationship of the nodes is analyzed, the nodes are graded, and a Randker iteration
sorting algorithm is adopted for the nodes in the same grade to compute the internal optimal arrangement mode of each grade, so that the number of cross points of flow lines is guaranteed to be the minimum, the nodes are uniformly and linearly distributed in a plane in an
equidistant manner by utilizing a symmetrical
layout method, the disorder and complexity of manual flow charting can be effectively solved accordingly, the reasonable layout of the
flow chart can be realized rapidly and efficiently, and the accuracy of the layout of the flow chart and the clearness of
business logic are guaranteed. Besides, the other embodiment of the invention provides a device capable of realizing automatic layout of the flow chart.