Left align nodes

To align e.g. text in a node to the right or to the left, use the left-align-linebreak or the right-align-linebreak:

\l
\r

Source.

Define defaults for nodes and edge

Source

digraph G {

  node [ shape="box"; ]
    some_node_a
    some_node_b

  edge [ style="dotted"; ]

    some_node_a -- some_node_b

Comments

Source

// This is a single line comment.
/* This is a
   multiple line
   comment. */
# Lines like this are also ignored.