Given a description of a graph in the dot language, for example this graph:
graph G { a -- b -- c -- d b -- e -- d } |
Then this img tag in an html web page:
<img src="/cgi-bin/webdot/webdot/basic.dot.neato.png"> |
will produce the graph layout at the top of this page.
The URL in the img src reference consists of four parts:
/cgi-bin/webdot | The WebDot CGI server
(can be a full URL, or a relative URL like this if webdot is on the same server as the html source.) |
/webdot/basic.dot | The graph source file
(can be a full URL, or a relative URL like this if the graph source is on the same server as webdot. If it is to be a full URL of a different server than the webdot cgi is on, then the webdot cgi must be configured for public graph serving.) |
.neato | The layout engine (can be either: ".dot", ".neato", or ".twopi") |
.png | The output format (other bitmap formats are: ".gif") |