DOT Language - A Simple Example

A Simple Example

Following is an example script that describes the bonding structure of an ethane molecule. This is an undirected graph and contains node attributes as explained above.

graph ethane { C_0 -- H_0 ; C_0 -- H_1 ; C_0 -- H_2 ; C_0 -- C_1 ; C_1 -- H_3 ; C_1 -- H_4 ; C_1 -- H_5 ; }


Read more about this topic:  DOT Language

Famous quotes containing the word simple:

    Whose are the truly labored sentences? From the weak and flimsy periods of the politician and literary man, we are glad to turn even to the description of work, the simple record of the month’s labor in the farmer’s almanac, to restore our tone and spirits.
    Henry David Thoreau (1817–1862)