-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot.sil
61 lines (52 loc) · 1.26 KB
/
dot.sil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\begin[papersize=a6,class=plain]{document}
\neverindent
\nofolios
\use[module=packages.embedders]
\font[family=Libertinus Serif, size=10]
\center{\font[weight=700, size=12]{Embedded graphs}}
\bigskip
\font[family=Libertinus Sans]
\begin{center}
\begin[type=embed, format=dot, height=2cm, layout=dot]{raw}
graph {
node [fillcolor="lightskyblue:darkcyan" style=filled gradientangle=270]
a -- { b d };
b -- { c e };
c -- { f g h i };
e -- { j k l m n o };
}
\end{raw}
\hfill
\begin[type=embed, format=dot, width=3cm, layout=neato]{raw}
graph {
node [fillcolor="lightskyblue:darkcyan" style=filled gradientangle=270]
a -- { b d };
b -- { c e };
c -- { f g h i };
e -- { j k l m n o };
}
\end{raw}
\medskip
\begin[type=embed, format=dot, width=3cm, layout=twopi]{raw}
graph {
node [fillcolor="lightskyblue:darkcyan" style=filled gradientangle=270]
a -- { b d };
b -- { c e };
c -- { f g h i };
e -- { j k l m n o };
}
\end{raw}
\hfill
\begin[type=embed, format=dot, height=3.7cm, layout=sfdp]{raw}
graph {
node [fillcolor="lightskyblue:darkcyan" style=filled gradientangle=270]
a -- { b d };
b -- { c e };
c -- { f g h i };
e -- { j k l m n o };
}
\end{raw}
\end{center}
\medskip
\center{\embed[format=dot, src=embedders.dot, width=95%fw]}
\end{document}