Difference between revisions of "Graph Types"

From FreekiWiki
Jump to navigation Jump to search
 
m (Category:Help)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
These are the same graphs shown with different rendering engines:
 +
 +
; dot
 +
: for directed graphs (standard)
 +
: start graph like this: <nowiki><graphviz>#!/usr/bin/dot</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 24: Line 33:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 34: 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 65: Line 79:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 75: 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 105: Line 125:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 115: 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 145: Line 171:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 155: 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 185: Line 217:
 
   Prebuild -> Build
 
   Prebuild -> Build
 
   Prebuild -> WhiteHole
 
   Prebuild -> WhiteHole
  WhiteHole -> ThriftStore
 
 
   Build -> ThriftStore
 
   Build -> ThriftStore
 
   Build -> HardwareGrants
 
   Build -> HardwareGrants
Line 195: 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.