DOT language
From Wikipedia, the free encyclopedia
DOT is a plain text graph description language. It is an intuitive and simple way of describing graphs. DOTTY is a software tool that reads DOT scripts and renders the graphs. It is used by many popular applications, including the documentation generator doxygen. DOTTY is a part of the Graphviz package.
[edit] A simple graph example
![A visual rendering of the script by using the tool DOTTY](../../../upload/thumb/a/ab/DottyRenderingofEthaneMolecule.png/225px-DottyRenderingofEthaneMolecule.png)
A visual rendering of the script by using the tool DOTTY
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]; }