In many cases, process design is required, and the most difficult part of the process designer is the manipulation of the process node. One way is for the process designer to drag and drop the node to where it is, although freedom is free, but it is not easy to drag a nice, clear flowchart, and the other is programmed to arrange it, but the programmatic arrangement in many cases, the aesthetics of the defects.
In a word, both have their pros and cons.
A process automatic layout algorithm is developed for this purpose, and the nodes of the process are arranged automatically. That is, the process design process as long as the node, the line can be, layout is completely done by the program, expect the program to calculate the most reasonable way to arrange the flow.
This is easy to say, but really let the program automatically arranged to be elegant, the intersection line is less, it is really not so easy.
The following illustration shows how the automatic layout is calculated.
To make the process easier to see, only one operation per step is added, or a connection line is added.
Here's a look at automating the layout process.
Only two nodes
150725_qgu9_1245989.jpg (6.14 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 3 nodes
150752_tokh_1245989.jpg (12.64 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 4 nodes
150823_b0ca_1245989.jpg (23.67 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 5 nodes
150851_jr9h_1245989.jpg (34.18 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 6 nodes
150913_x7fp_1245989.jpg (43.45 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 7 nodes
150941_mbrh_1245989.jpg (45.66 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Increase to 8 nodes
151003_zkqk_1245989.jpg (54.27 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
Add a new connection
151041_b0gm_1245989.jpg (30.67 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
and add new connections.
151106_dfzk_1245989.jpg (58.66 KB, download number: 0)
Download attachments
2015-5-27 21:09 Upload
From the above situation, our automatic layout algorithm, in most cases, can calculate the best results, only in the second-to-last picture, the best solution is not calculated, but also acceptable solution.
Process automation Layout