Difference between revisions of "Graph Types"

From FreekiWiki
Jump to navigation Jump to search
Line 9: Line 9:
 
<graphviz>#!/usr/bin/dot
 
<graphviz>#!/usr/bin/dot
 
   digraph FREEGEEK {
 
   digraph FREEGEEK {
 +
  size="5,5"
 
   root=Receiving
 
   root=Receiving
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(dot)"
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(dot)"
Line 54: Line 55:
 
<graphviz>#!/usr/bin/neato
 
<graphviz>#!/usr/bin/neato
 
   digraph FREEGEEK {
 
   digraph FREEGEEK {
 +
  size="5,5"
 
   root=Receiving
 
   root=Receiving
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(neato)"
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(neato)"
Line 99: Line 101:
 
<graphviz>#!/usr/bin/twopi
 
<graphviz>#!/usr/bin/twopi
 
   digraph FREEGEEK {
 
   digraph FREEGEEK {
 +
  size="5,5"
 
   root=Receiving
 
   root=Receiving
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(twopi)"
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(twopi)"
Line 144: Line 147:
 
<graphviz>#!/usr/bin/circo
 
<graphviz>#!/usr/bin/circo
 
   digraph FREEGEEK {
 
   digraph FREEGEEK {
 +
  size="5,5"
 
   root=Receiving
 
   root=Receiving
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(circo)"
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(circo)"
Line 189: Line 193:
 
<graphviz>#!/usr/bin/fdp
 
<graphviz>#!/usr/bin/fdp
 
   digraph FREEGEEK {
 
   digraph FREEGEEK {
 +
  size="5,5"
 
   root=Receiving
 
   root=Receiving
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(fdp)"
 
   label="Reuse and Recycling\nof Systems, Printers, and Laptops\nat Free Geek\n(fdp)"

Revision as of 14:07, 29 October 2005

These are the same graphs shown with different rendering engines:

dot
for directed graphs (standard)
start graph like this: <graphviz>#!/usr/bin/dot
or just like this: <graphviz>


This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

neato
for undirected graphs
start graph like this: <graphviz>#!/usr/bin/neato

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

twopi
radial layouts of graphs
start graph like this: <graphviz>#!/usr/bin/twopi

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

circo
circular layouts of graphs
start graph like this: <graphviz>#!/usr/bin/circo

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

fdp
another one for undirected graphs
start graph like this: <graphviz>#!/usr/bin/fdp

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.