Difference between revisions of "Graph Types"

From FreekiWiki
Jump to navigation Jump to search
m (Category:Help)
 
(5 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
; dot
 
; dot
 
: for directed graphs (standard)  
 
: for directed graphs (standard)  
; neato
+
: start graph like this: <nowiki><graphviz>#!/usr/bin/dot</nowiki>
: for undirected graphs
+
: or just like this: <nowiki><graphviz></nowiki>
; twopi
 
: radial layouts of graphs
 
; circo
 
: circular layouts of graphs
 
; fdp
 
: another one for undirected graphs
 
  
  
 
<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 38: Line 33:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 48: Line 42:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
 
</graphviz>
 
</graphviz>
  
 
+
; neato
 +
: for undirected graphs
 +
: start graph like this: <nowiki><graphviz>#!/usr/bin/neato</nowiki>
  
 
<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 79: Line 79:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 89: Line 88:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
 
</graphviz>
 
</graphviz>
  
 +
; twopi
 +
: radial layouts of graphs
 +
: start graph like this: <nowiki><graphviz>#!/usr/bin/twopi</nowiki>
  
 
<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 119: Line 125:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 129: Line 134:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
 
</graphviz>
 
</graphviz>
  
 +
; circo
 +
: circular layouts of graphs
 +
: start graph like this: <nowiki><graphviz>#!/usr/bin/circo</nowiki>
  
 
<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 159: Line 171:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 169: Line 180:
 
   Printers -> HardwareGrants
 
   Printers -> HardwareGrants
 
   Printers -> Infrastructure
 
   Printers -> Infrastructure
 +
  WhiteHole -> ThriftStore
 +
  WhiteHole -> HardwareGrants
 +
  WhiteHole -> Infrastructure
  
 
   }
 
   }
 
</graphviz>
 
</graphviz>
  
 +
; fdp
 +
: another one for undirected graphs
 +
: start graph like this: <nowiki><graphviz>#!/usr/bin/fdp</nowiki>
  
 
<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 199: Line 217:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 209: 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.