aboutsummaryrefslogtreecommitdiff
path: root/slides/images
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:08:37 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:08:37 +0200
commitc0d3e968f8ec64a6d43591b87d57bb5112764aa0 (patch)
tree2e2bee9d3520ce1317ccfb21b899c2011440820b /slides/images
parent284a60cf65523b3a868a58cf2edc97d190a95608 (diff)
downloadiot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.gz
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.bz2
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.xz
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.zip
wip
Diffstat (limited to 'slides/images')
-rw-r--r--slides/images/mqtt-example-architecture.pgf2
-rw-r--r--slides/images/mqtt-example-architecture2.pgf27
2 files changed, 28 insertions, 1 deletions
diff --git a/slides/images/mqtt-example-architecture.pgf b/slides/images/mqtt-example-architecture.pgf
index b36827c..240b06b 100644
--- a/slides/images/mqtt-example-architecture.pgf
+++ b/slides/images/mqtt-example-architecture.pgf
@@ -12,8 +12,8 @@
\node (c1)[draw, circle, fit=(c1_label)] {};
\node (c2)[draw, circle, fit=(c2_label)] {};
\node (c3)[draw, circle, fit=(c3_label)] {};
-\node (central)[draw, circle, fit=(central_label)] {};
\node (broker)[draw, rectangle, thick, inner ysep=5 mm, inner xsep=10 mm, fit=(broker_label)] {};
+\node (central) at (central_label) [draw, circle, text width=2 cm] {};
\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (c1) to [bend right] (broker);
\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (c2) -- (broker);
diff --git a/slides/images/mqtt-example-architecture2.pgf b/slides/images/mqtt-example-architecture2.pgf
new file mode 100644
index 0000000..c67d411
--- /dev/null
+++ b/slides/images/mqtt-example-architecture2.pgf
@@ -0,0 +1,27 @@
+\begin{tikzpicture}
+
+\path
+ (-3 cm, 0) node (c1_label) {Device \#1}
+ ( 0 cm, 0) node (c2_label) {Device \#2}
+ ( 3 cm, 0) node (c3_label) {Device \#3}
+
+ (0, -3 cm) node (broker_label) {Broker}
+
+ (-2 cm, -6 cm) node (agg_label) {Aggregator}
+ ( 2 cm, -6 cm) node (email_label) {Email}
+;
+
+\node (c1)[draw, circle, fit=(c1_label)] {};
+\node (c2)[draw, circle, fit=(c2_label)] {};
+\node (c3)[draw, circle, fit=(c3_label)] {};
+\node (broker)[draw, rectangle, thick, inner ysep=5 mm, inner xsep=10 mm, fit=(broker_label)] {};
+\node (agg) at (agg_label) [draw, circle, text width=2 cm] {};
+\node (email) at (email_label) [draw, circle, text width=2 cm] {};
+
+\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (c1) to [bend right] (broker);
+\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (c2) -- (broker);
+\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (c3) to [bend left] (broker);
+\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (agg) -- (broker);
+\draw[{Latex[length=4mm, round]}-{Latex[length=4mm, round]}] (email) -- (broker);
+
+\end{tikzpicture}