DOT (graph description language)

DOT is kept simple but powerful description language for the visual representation of graphs. With DOT can the structure of a directed or undirected graph describe. DOT also possesses language elements to control the visualization of a graph. For example, can determine the form and color of the nodes and the edges.

Is interpreted DOT, for example, by the renderers of the Graphviz software package. Depending on which renderer is used for a graph described with DOT, the result looks different. Each renderer realizes another rationale for visualization. Graphviz provides five renderer available: dot, neato, fdp, circo and twopi.

DOT was developed by AT & T and the Bell Labs. The vocabulary of DOT is relatively small. Syntactically DOT leaning on the C programming language.

Example

The following example is a directed graph with four nodes and three edges represents the node and edge relationships are listed within braces. Directed edges between the nodes are indicated by arrows " - >" are represented.

Digraph graphname   {       a - > b -> c;       b -> d;   } Conversion to PNG

One can Easily convert a dot file to PNG.

Dot - Tpng input.dot > output.png scanning

The following screening programs can render DOT:

  • Graphviz - A collection of applications to DOT screening
  • Grappa - graph editor ( based on Graphviz )
  • OmniGraffle can read and edit DOT files
  • ZGRViewer, GraphViz / DOT screening
  • VizierFX, Flex rasterization library
  • Liviz.JS a conversion to Javascript with animations ( http://ushiroad.com/jsviz/ )

Other file formats for graphs

  • GraphML - XML-based description language for the representation of graphs
292570
de