We recommend a good call flow tool.
Author: miles (http://blog.csdn.net/yanghehong)
We recommend a good call flow tool called pot.
You can download: http://sourceforge.net/projects/callplot/ from the SourceForge project home page
Download the file with the suffix 1. You can change the suffix to .rar and decompress it. This webpage does not mean that the downloaded file is an executable file or a compressed package. How can I change the suffix? I also tried multiple methods to find the correct method.
After decompression, you can find a callplot. Jar executable file, which is developed in Java. So install a Java Virtual Machine and then use the command line
Java-jar callplot. jar can be started.
First, write the role and message designed by call flow to a text file in a certain format (you can set the interval, text size, message label, and so on), and then execute
Text File name written in Java-jar callplot. Jar
The flow chart drawn from ASCII is displayed.
Note that when you paste a graph into a word or other document, you must set the font to an equal-width font (such as courier) so that the graph will not be deformed.
It is very simple and practical to use this to draw call flow or various sequence diagrams. After the document is posted, it is also convenient for people who will read the document to search for it later, because it is plain text.
It seems that IETF writers like this tool because all RFC images need to be painted in plain text.
The following is an example from the IETF maillist.
Example of the original text file:
OPT/columnpitch/15
Guy/f/Fred
Guy/B/barney
F-> B/please
Note/B/gives bowling ball
B-> F/stuff
B. f/RTP
F-> B/Thank you
B-> F/You're welcome
Generated graph ::
Fred barney
|
|
|
| Please |
| -------------> |
|
|
| Gives bowling ball
|
|
|
| Stuff |
| <------------- |
|
|
| RTP |
| ...... |
|
|
| Thank you |
| -------------> |
|
|
| You're welcome |
| <------------- |
|
|
|
|