ADG Lua 

ADG Lua Commit Details

Date:2013-04-07 13:43:31 (6 years 5 months ago)
Author:Nicola Fontana
Branch:master
Commit:ae7fceb51b16fbaa493d62561d276e68a4b50245
Parents: 9a8bbce9c1fc0293b9ddee3d0bc6197655c69fdd
Message:doc: improved style consistency of adg-web.tex

Changes:
Mdoc/adg-web.tex (1 diff)
Mdoc/base.tex (3 diffs)

File differences

doc/adg-web.tex
44
55
66
7
7
88
99
10
11
10
11
1212
1313
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
3031
3132
3233
\begin{tikzpicture}[->,>=stealth']
\node[state, minimum width=2cm, outer sep=2pt] (USER) at (0:5cm) {%
\node[state] (USER) at (0:5cm) {%
\textbf{USER}};
\node[stage] (PHP) at (72:5cm) {%
\stage{PHP}{%
\node[actor] (PHP) at (72:5cm) {%
\ACTOR{PHP}{%
\item SilverStripe
\item silverstripe-adg
\item Piston.php}};
\node[stage] (LUA) at (144:5cm) {%
\stage{Lua}{%
\item adg-web.lua
\item piston.lua}};
\node[stage] (ADG) at (216:5cm) {%
\stage{ADG canvas}{%
\item libadg-1.so
\item libcpml-1.so}};
\node[stage] (CAIRO) at (288:5cm) {%
\stage{Cairo library}{%
\item libcairo.so
\item Pango
\item \FILE{Adg.php}
\item \FILE{Piston.php}}};
\node[actor] (LUA) at (144:5cm) {%
\ACTOR{Lua}{%
\item \FILE{adg-web.lua}
\item \FILE{piston.lua}}};
\node[actor] (ADG) at (216:5cm) {%
\ACTOR{ADG canvas}{%
\item \FILE{libadg-1.so}
\item \FILE{libcpml-1.so}}};
\node[actor] (CAIRO) at (288:5cm) {%
\ACTOR{Cairo library}{%
\item \FILE{libcairo.so}
\item PangoCairo
\item FreeType
\item FontConfig}};
doc/base.tex
11
22
3
4
3
4
55
66
77
......
1717
1818
1919
20
20
2121
2222
2323
......
2828
2929
3030
31
32
33
34
31
32
33
34
35
36
37
38
39
3540
3641
\documentclass[border=11pt]{standalone}
\usepackage{tikz,enumitem}
\usetikzlibrary{arrows,automata,calc,positioning}
\usepackage{enumitem,tikz}
\usetikzlibrary{arrows}
\tikzset{
every edge/.style={
inner sep=8pt,
outer sep=2pt
},
stage/.style={
actor/.style={
anchor=center,
rectangle,
rounded corners,
},
}
\newcommand\stage[2]{%
\parbox{3cm}{%
\textbf{#1}\vspace{2pt}%
\begin{itemize}[noitemsep,nosep,leftmargin=1.5em,labelsep=4pt]
\newcommand\FILE[1]{%
\texttt{#1}}
\newcommand\ACTOR[2]{%
\parbox{32mm}{%
\textbf{#1}\vspace{3pt}%
\begin{itemize}[label={$\vcenter{\hbox{\tiny$\bullet$}}$},
noitemsep,nosep,leftmargin=8pt,labelsep=3pt]
\small
#2
\end{itemize}}}

Archive Download the corresponding diff file

Branches

Tags