DOT language

From Free net encyclopedia

DOT is a plain text graph description language. It's 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.

A simple graph example

Image:DottyRenderingofEthaneMolecule.png 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];
}

Template:Seealso

External links

Template:Compu-lang-stub