From 02239b51f73f2d67370b1a18f0101bcf6fed9a85 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 11 May 2012 02:29:42 +0200 Subject: Adding colors to the LDAP schema. --- figures/network.tex | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'figures/network.tex') diff --git a/figures/network.tex b/figures/network.tex index 6cebbf8..8be726a 100644 --- a/figures/network.tex +++ b/figures/network.tex @@ -6,11 +6,7 @@ \usepackage{ae} \usepackage{tikz} \usetikzlibrary{shadows,positioning,calc,fit,fadings,external} - -\tikzset{% - external/optimize command away=\withCurrentBoundingBox -} -\def\withCurrentBoundingBox{\pgfusepath{use as bounding box}} +\tikzset{external/force remake} \tikzexternalize \newcommand{\machine}[2][]{ @@ -73,8 +69,8 @@ \centering \vspace*{\fill} -\tikzsetnextfilename{network-cropped} -\begin{tikzpicture} +\tikzsetnextfilename{network-trimmed} +\begin{tikzpicture}[trim left=10cm, trim right=10cm] \begin{scope}[node distance=5pt] % The member's machine @@ -116,7 +112,6 @@ \machine[gnu]{ (MSA) (MTA) } \end{scope} - \withCurrentBoundingBox \begin{pgfonlayer}{background} \begin{scope} @@ -181,8 +176,8 @@ (SMTP-client.north) .. controls +(0,5cm) and +(-5cm,0) .. ($0.5*(SMTP-server)+0.5*(LDAP-consumer)+(0,1.5cm)$) - node[pos=1,above,proto] {ESMTPSA} - node[pos=1,below,what] {\texttt{sendmail}} + node[pos=.5,above,proto] {ESMTPSA} + node[pos=.5,below,what] {\texttt{sendmail}} .. controls +(5cm,0) and +(0,5cm) .. (MSA.north) node[pos=0.985,above,port] {587}; @@ -208,8 +203,7 @@ .. controls +(30:8cm) and +(0,-2.5cm) .. (LDAP-producer.south) node[pos=0.5,above,proto] {LDAP \textnormal{(over \texttt{SSH})}} - node[pos=0.15,above,what] {auth. bind to} - node[pos=0.15,below,what] {mod. password} + node[pos=0.15,below,what] {mod. \texttt{userPassword}} node[pos=0.96,above,port] {389}; \draw[->,route] (MSA) edge -- cgit v1.2.3