von Bartman » So 3. Sep 2017, 15:00
Mein Vorschlag enthält hauptsächlich nur Empfehlungen:
\documentclass[tikz, border=10pt]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{arrows.meta}
\tikzset{
nodes={font=\sffamily},
blockrand/.style={
draw,
rounded corners,
thick
},
block/.style={
blockrand,
minimum height=3em,
minimum width=9em
},
breit/.style={
blockrand,
minimum height=6em,
minimum width=#1
},
pfeil/.style={
-{Stealth[length=2mm,width=3mm]},
shorten >=1pt,
rounded corners,
ultra thick
}
}
\begin{document}
\begin{tikzpicture}
\node[block](c1){Client 1};
\node[block, right=of c1] (c2) {Client 2};
\node[block, right=of c2] (s1) {Server 1};
\node[block, right=of s1] (s2) {Server 2};
\node[block, below=5cm of s2] (d) {Database};
\path let \p1=(c1.west), \p2=(s2.east) in
node[breit={\x2-\x1}, below=of c1.south west, anchor=north west] (os) {}
(os.south west) node[above right,outer sep=1em] {OS};
\draw[pfeil] (c1.south) -- ++ (0,-5em) -| (s1.south);
\draw[pfeil] (c2.south) -- ++ (0,-4em) -| ([xshift=-2em]s1.south);
\draw[pfeil] ([xshift=2em]s1.south) -- ++ (0,-6em) -| ([xshift=-1.5em]s2.south);
\draw[pfeil] ([xshift=1.5em]s2.south) -- ([xshift=1.5em]d.north);
\path (os) -- coordinate (halberweg) (d);
\draw[dashed]
([xshift=-2.5cm]current bounding box.west|-halberweg) --
node [pos=.03, above=1em] {SW}
node [pos=.03, below=1em] {HW}
(current bounding box.east|-halberweg)
;
\end{tikzpicture}
\end{document}
Mein Vorschlag enthält hauptsächlich nur Empfehlungen:
[code]\documentclass[tikz, border=10pt]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{arrows.meta}
\tikzset{
nodes={font=\sffamily},
blockrand/.style={
draw,
rounded corners,
thick
},
block/.style={
blockrand,
minimum height=3em,
minimum width=9em
},
breit/.style={
blockrand,
minimum height=6em,
minimum width=#1
},
pfeil/.style={
-{Stealth[length=2mm,width=3mm]},
shorten >=1pt,
rounded corners,
ultra thick
}
}
\begin{document}
\begin{tikzpicture}
\node[block](c1){Client 1};
\node[block, right=of c1] (c2) {Client 2};
\node[block, right=of c2] (s1) {Server 1};
\node[block, right=of s1] (s2) {Server 2};
\node[block, below=5cm of s2] (d) {Database};
\path let \p1=(c1.west), \p2=(s2.east) in
node[breit={\x2-\x1}, below=of c1.south west, anchor=north west] (os) {}
(os.south west) node[above right,outer sep=1em] {OS};
\draw[pfeil] (c1.south) -- ++ (0,-5em) -| (s1.south);
\draw[pfeil] (c2.south) -- ++ (0,-4em) -| ([xshift=-2em]s1.south);
\draw[pfeil] ([xshift=2em]s1.south) -- ++ (0,-6em) -| ([xshift=-1.5em]s2.south);
\draw[pfeil] ([xshift=1.5em]s2.south) -- ([xshift=1.5em]d.north);
\path (os) -- coordinate (halberweg) (d);
\draw[dashed]
([xshift=-2.5cm]current bounding box.west|-halberweg) --
node [pos=.03, above=1em] {SW}
node [pos=.03, below=1em] {HW}
(current bounding box.east|-halberweg)
;
\end{tikzpicture}
\end{document}[/code]