Let's not talk about anything. directly go to the Code:
Digraph G {<br/> ". class files "->" instrumented. class files "[label =" instr "] <br/>" instrumented. class files "->" RunTime data "[label =" Run (through RT) "] <br/> ". class files "->" metadata "[label =" metadata "] <br/> CREP [label =" coverage report "] <br/> {" metadata "" RunTime data" "Java source files"}-> CREP [label = "report"] <br/>}
Run the following command to generate an image (use-t to specify the output type, and support vector graphics formats such as postscript and SVG ):
Dot-tpng data. Dot> data.png
The above code can generate a diagram like this:
Dot can define nodes and connections between nodes. Each element has attributes such as label, Font, and color, which is a magic weapon for drawing flowcharts!
Website: http://www.graphviz.org/
More Demo: http://www.graphviz.org/Gallery.php