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:

    “How simple a thing it seems to me that to know ourselves as we are, we must know our mothers’ names.”
    —Alice Walker (b. 1944)