preamble.tex (1450B)
1 %\usepackage{tikz} 2 \usetikzlibrary{shapes} 3 4 % corporate colors 5 \definecolor{spbuTerracotta}{cmyk}{.08,.91,.92,.33} 6 \definecolor{spbuGray}{cmyk}{.21,.11,.09,.22} 7 8 \definecolor{spbuWhite1}{RGB}{245,246,245} 9 \definecolor{spbuWhite2}{RGB}{230,231,230} 10 \definecolor{spbuWhite3}{RGB}{217,218,217} 11 12 \definecolor{spbuWhiteRed2}{RGB}{255,231,230} 13 \definecolor{spbuWhiteRed3}{RGB}{255,160,160} 14 \definecolor{spbuRed}{RGB}{200,40,40} 15 16 \definecolor{spbuDarkGray}{HTML}{404040} 17 \definecolor{spbuDarkGray2}{HTML}{5F7177} 18 19 \definecolor{spbuGreen}{RGB}{40,160,40} 20 \definecolor{spbuBlue}{RGB}{40,40,160} 21 22 % physical layer 23 \tikzset{Node/.style={rectangle,draw=spbuDarkGray,line width=3pt}} 24 \tikzset{Switch/.style={circle,draw=gray,fill=gray,line width=6pt,solid}} 25 \tikzset{PhysicalLink/.style={draw=gray,line width=6pt,solid}} 26 \tikzset{NetworkLink/.style={draw=black,line width=3pt,dashed}} 27 28 % logical layer 29 \tikzset{Daemon/.style={ellipse,draw=spbuBlue,line width=3pt,solid,scale=0.65}} 30 \tikzset{DaemonLink/.style={draw=spbuBlue,line width=3pt,solid}} 31 32 % application layer 33 \tikzset{Process/.style={ellipse,draw=spbuGreen,line width=3pt,solid}} 34 \tikzset{ProcessEdge/.style={draw=spbuGreen,line width=3pt,solid}} 35 36 \tikzset{Task/.style={Process,anchor=center,draw=spbuGreen}} 37 \tikzset{TaskEdge/.style={ProcessEdge,draw=spbuGreen,solid,->}} 38 \tikzset{Label/.style={label distance=0.1cm,text=spbuTerracotta}} 39 \tikzset{TaskLabel/.style={label distance=0.1cm,text=spbuGreen}}