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:

    His pain was too great. He begged me for the simple mercy of death. And I could do nothing else but help him leave a world that had become a sleepless, tortured nightmare to him.
    Robert D. Andrews, and Nick Grindé. Dr. John Garth (Boris Karloff)