DOT language
(Redirected from DOT Language)
DOT is a plain text graph description language. It's an intuitive and simple way of describing graphs. Dotty is a tool that reads DOT scripts and renders the graphs. It is used by many popular applications, including the documentation generator doxygen.
A simple graph example
Following is an example script that describes the bonding structure of an ethane molecule.
graph ethane {
C_0--H_0 [type=s];
C_0--H_1 [type=s];
C_0--H_2 [type=s];
C_0--C_1 [type=s];
C_1--H_3 [type=s];
C_1--H_4 [type=s];
C_1--H_5 [type=s];
}
External links
Categories: Computer language stubs