Graphviz is a drawing tool developed by several cool people in the famous Bell lab. It provides the concept of "what you think is what you get". It is easy to understand by writing scripts and Drawing Images Using the dot language.
Graphviz installation:
Graphviz has multiple installation methods, including source code and release packages.
Download the latest source code: http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.28.0.tar.gz
Other Version Download link reference: http://www.graphviz.org/pub/graphviz/stable/SOURCES/
Release package:
RedHat and centos: http://www.graphviz.org/Download_linux_rhel.php
Fedora: http://www.graphviz.org/Download_linux_fedora.php
Ubuntu: http://www.graphviz.org/Download_linux_ubuntu.php
Yum:
Yum list 'graphviz * 'view installed graphviz package
Yum install 'graphviz * 'install graphviz
The following describes several simple applications as an example.
Graphviz instance:
Digraph G {node [shape = record, Height =. 1 // I have defined the style below me; node0 [label = "<F0> | <F1> G | <F2>"]; // I am a node, I have three attributes, the second is g, and the other two are empty node1 [label = "<F0 >|< F1> E | <F2>"]; node2 [label = "<F0> | <F1> B | <F2>"]; node3 [label = "<F0> | <F1> F | <F2>"]; node4 [label = "<F0> | <F1> r | <F2>"]; node5 [label = "<F0> | <F1> H | <F2>"]; node6 [label = "<F0> | <F1> Y | <F2>"]; node7 [label = "<F0> | <F1> A | <F2>"]; node8 [label = "<F0> | <F1> C | <F2>"]; "node0": F2-> "node4": F1; // my third property is connected to the second property "node0": F0-> "node1": F1; "node1": F0-> "node2": F1; "node1": F2-> "node3": F1; "node2": F2-> "node8": F1; "node2": F0-> "node7": F1; "node4": F2-> "node6": F1; "node4": F0-> "node5": F1 ;}
Style
For more graphics instances and scripts, see: http://www.graphviz.org/Gallery.php.