aboutsummaryrefslogtreecommitdiff
path: root/slides/2018-lwm/img/self-monitor.tex
blob: 089699078c8a51e44d480d08c518805983ada14a (plain)
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
\begin{tikzpicture}[
  -latex,
  entity/.style = {
    draw = gray!30,
    thick,
    rounded rectangle,
    fill = white,
    minimum width = 2cm,
    font = \fontsize{8}{8}\selectfont,
    text = white,
  },
  ls/.style = {
    draw=none,
    font=\fontsize{6}{6}\selectfont,
  },
]
  \node[entity,fill=darkGreen](domain) at (0,0) {Subject};
  \node[entity,fill=darkRed](log) at (0,-3) {Log};
  \path[draw,thick,-latex]
    (domain.south west) --
      node[ls,sloped,below]{Any new certs?}
    (log.north west);
  \path[draw,thick,-latex]
    (log.north east) --
      node[ls,sloped,below]{List of certs}
    (domain.south east);
  \path[draw,thick,-latex]
    (domain.north) |-
    ($ (domain.west) + (domain.north) + (domain) + (-0.25, 0.25) $)
      node[ls,above,pos=0.75]{
        All ok?
      } |-
    (domain.west);
\end{tikzpicture}