Difference between revisions of "Graph Types"

From FreekiWiki
Jump to navigation Jump to search
m (Category:Help)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
: for directed graphs (standard)  
 
: for directed graphs (standard)  
 
: start graph like this: <nowiki><graphviz>#!/usr/bin/dot</nowiki>
 
: start graph like this: <nowiki><graphviz>#!/usr/bin/dot</nowiki>
: or like this: <nowiki><graphviz></nowiki>
+
: or just like this: <nowiki><graphviz></nowiki>
  
  
 
<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 32: Line 33:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 42: Line 42:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
Line 52: 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 75: Line 79:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 85: Line 88:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
Line 95: 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 118: Line 125:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 128: Line 134:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
Line 138: 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 161: Line 171:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 171: Line 180:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
Line 181: 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)"
Line 204: Line 217:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 214: Line 226:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
 
</graphviz>
 
</graphviz>
 +
 +
[[Category:Help]]

Latest revision as of 22:00, 5 January 2006

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.