Difference between revisions of "Graph Types"
Jump to navigation
Jump to search
m (Category:Help) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
; dot | ; dot | ||
: for directed graphs (standard) | : 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 29: | Line 33: | ||
Prebuild -> Build | Prebuild -> Build | ||
Prebuild -> WhiteHole | Prebuild -> WhiteHole | ||
− | |||
Build -> ThriftStore | Build -> ThriftStore | ||
Build -> HardwareGrants | Build -> HardwareGrants | ||
Line 39: | Line 42: | ||
Printers -> HardwareGrants | Printers -> HardwareGrants | ||
Printers -> Infrastructure | Printers -> Infrastructure | ||
+ | WhiteHole -> ThriftStore | ||
+ | WhiteHole -> HardwareGrants | ||
+ | WhiteHole -> Infrastructure | ||
} | } | ||
Line 45: | Line 51: | ||
; neato | ; neato | ||
: for undirected graphs | : 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 71: | Line 79: | ||
Prebuild -> Build | Prebuild -> Build | ||
Prebuild -> WhiteHole | Prebuild -> WhiteHole | ||
− | |||
Build -> ThriftStore | Build -> ThriftStore | ||
Build -> HardwareGrants | Build -> HardwareGrants | ||
Line 81: | Line 88: | ||
Printers -> HardwareGrants | Printers -> HardwareGrants | ||
Printers -> Infrastructure | Printers -> Infrastructure | ||
+ | WhiteHole -> ThriftStore | ||
+ | WhiteHole -> HardwareGrants | ||
+ | WhiteHole -> Infrastructure | ||
} | } | ||
Line 87: | Line 97: | ||
; twopi | ; twopi | ||
: radial layouts of graphs | : 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 113: | Line 125: | ||
Prebuild -> Build | Prebuild -> Build | ||
Prebuild -> WhiteHole | Prebuild -> WhiteHole | ||
− | |||
Build -> ThriftStore | Build -> ThriftStore | ||
Build -> HardwareGrants | Build -> HardwareGrants | ||
Line 123: | Line 134: | ||
Printers -> HardwareGrants | Printers -> HardwareGrants | ||
Printers -> Infrastructure | Printers -> Infrastructure | ||
+ | WhiteHole -> ThriftStore | ||
+ | WhiteHole -> HardwareGrants | ||
+ | WhiteHole -> Infrastructure | ||
} | } | ||
Line 129: | Line 143: | ||
; circo | ; circo | ||
: circular layouts of graphs | : 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 155: | Line 171: | ||
Prebuild -> Build | Prebuild -> Build | ||
Prebuild -> WhiteHole | Prebuild -> WhiteHole | ||
− | |||
Build -> ThriftStore | Build -> ThriftStore | ||
Build -> HardwareGrants | Build -> HardwareGrants | ||
Line 165: | Line 180: | ||
Printers -> HardwareGrants | Printers -> HardwareGrants | ||
Printers -> Infrastructure | Printers -> Infrastructure | ||
+ | WhiteHole -> ThriftStore | ||
+ | WhiteHole -> HardwareGrants | ||
+ | WhiteHole -> Infrastructure | ||
} | } | ||
Line 171: | Line 189: | ||
; fdp | ; fdp | ||
: another one for undirected graphs | : 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 197: | Line 217: | ||
Prebuild -> Build | Prebuild -> Build | ||
Prebuild -> WhiteHole | Prebuild -> WhiteHole | ||
− | |||
Build -> ThriftStore | Build -> ThriftStore | ||
Build -> HardwareGrants | Build -> HardwareGrants | ||
Line 207: | 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>
- neato
- for undirected graphs
- start graph like this: <graphviz>#!/usr/bin/neato
- twopi
- radial layouts of graphs
- start graph like this: <graphviz>#!/usr/bin/twopi
- circo
- circular layouts of graphs
- start graph like this: <graphviz>#!/usr/bin/circo
- fdp
- another one for undirected graphs
- start graph like this: <graphviz>#!/usr/bin/fdp