DOT format

From TrustLet, a free, collaborative project for collecting and analyzing information about trust metrics.

Jump to: navigation, search

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.

[edit] 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:


[edit] Converters

TODO: add ways to convert from DOT and into DOT.

Personal tools