DOT format

DOT format is used to represent the visualization of graphs, for example the shape of nodes and edges. It is the input format of dot, dotty and the graphviz suite.

On this wiki we have enabled the Graphviz extension for MediaWiki, see some examples.

More information at the official GraphML homepage.

An example
Here a simple example copied from this page.

digraph G { a -> b [label="hello", style=dashed]; a -> c [label="world"]; c -> d; b -> c; d -> a; b [shape=Mdiamond, label="this is b"]; c [shape=polygon, sides=5, peripheries=3]; d [style=bold]; }

that is rendered like this:

 digraph G { a -> b [label="hello", style=dashed]; a -> c [label="world"]; c -> d; b -> c; d -> a; b [shape=Mdiamond, label="this is b"]; c [shape=polygon, sides=5, peripheries=3]; d [style=bold]; }

Converters
In trustlet there is a module called conversion that is able to convert a dot file in a c2 and viceversa. Conversion also support pajek format.