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:

    Creative force, like a musical composer, goes on unweariedly repeating a simple air or theme, now high, now low, in solo, in chorus, ten thousand times reverberated, till it fills earth and heaven with the chant.
    Ralph Waldo Emerson (1803–1882)