1 \documentclass[tikz
]{standalone
}
2 \usetikzlibrary{positioning
}
4 \begin{tikzpicture
}[node distance=
3em,nodes=
{rectangle,draw,minimum width=
12em
}]
5 % \node (0) [dotted] {Business layer};
6 % \node (1) [below=of 0] {Presentation layer};
7 \node (
1)
[] {presentation
};
8 \node (
2)
[below=of
1] {application
};
9 % \node (3) [below=of 2] {Network layer};
10 \node (
3)
[below=of
2] {perception
};
12 \draw [<->
] (
1) -- (
2);
13 \draw [<->
] (
2) -- (
3);
16 (
[xshift=
1em,yshift=-
2em
]1.south west)
17 -- (
[xshift=
1em,yshift=-
1em
]1.south west)
18 -- (
[yshift=-
1em,xshift=
1em
]1.south east)
19 -- (
[xshift=
1em
]1.north east)
20 -- (
[xshift=
3em
]1.north east)
21 -- node
[draw=none,midway,sloped,below,yshift=-
2pt
] {network
} (
[xshift=
3em
]3.south east)
22 -- (
[xshift=
1em
]3.south east)
23 -- (
[yshift=
1em,xshift=
1em
]3.north east)
24 -- (
[xshift=
1em,yshift=
1em
]3.north west)
25 -- (
[xshift=
1em,yshift=
2em
]3.north west)
26 -- (
[yshift=
2em,xshift=
1em
]3.north east)
27 -- (
[yshift=-
2em,xshift=
1em
]1.south east)
30 \draw [densely dotted
] (
1.south) -- (
2.north);
31 \draw [densely dotted
] (
2.south) -- (
3.north);