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:

    Our whole walk was through a thoroughly Catholic country, and there was no trace of any other religion. I doubt if there are any more simple and unsophisticated Catholics anywhere.
    Henry David Thoreau (1817–1862)