Skip to content

Graphviz Diagrams

Graphviz SVG's

G--xx---x++---+33x--355x--522+--244+--4

Tree 1: Tree of Arithmetic Expressions

G55445--43235--323134--312224--2223232--2315132--1521231--2112131--1211121--1102021--0213122--1305022--0514123--1407023--0701011--0103012--0304013--0406014--0608015--08

Tree 2: Game Tree (of Nim)

G44004--04--0114--1220--20--20--2330--31--11--21--32--2

An Unweighted
Undirected
Multi-graph (with loops)

Gcluster0Related Componentcluster00cyclecluster1Related Componentcluster2Related Component00110->1220->2330->3440->4551->5661->62->3882->8992->93->98->311118->118->9101010->114->105->6776->71515161615->16171716->17181816->18191918->192020212120->21232320->23222221->2221->23242423->24

Graph G Undirected Unweighted Unrelated

Graphviz inside Admonitions

graphviz in UnExpanded Block

GEarthEarthMarsMarsEarth->Mars

graphviz in Expanded Block

GEarthEarthMarsMarsEarth->Mars

Graphviz PNG's (lower quality than SVGs)

SYNTAX (WATCHOUT) : NO SPACES BETWEEN ``` and graphviz

``` graphviz dot attack_plan.png
digraph G {
    rankdir=LR
    Earth [peripheries=2]
    Mars
    Earth -> Mars
}
```