\documentclass[a4paper]{article} \usepackage[a4paper,scale=0.9]{geometry} \usepackage{tabularx,pstricks,pst-node,pst-eps} \newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt} % Copyright (c) 2003 by Nick Urbanik . % This material may be distributed only subject to the terms and % conditions set forth in the Open Publication License, v1.0 or later % (the latest version is presently available at % http://www.opencontent.org/openpub/). \begin{document} %\layout %\tiny% \setlength{\extrarowheight}{0pt}% %\mbox{} %\medskip \begin{TeXtoEPS}% %\begin{pspicture}(0,0)(18,4)%\showgrid \begin{pspicture}(0,0)%\showgrid \begin{tabularx}{\linewidth}{@{}>{\ttfamily\bfseries}lllllllll@{}} {\mbox{}\red{}com2sec} & \rnode{secnamec}{\fbox{\emph{secName}}} & \emph{ipSource} & \emph{community}\\ & & \texttt{default}\\[0.08\textwidth] {\mbox{}\red{}group} & \rnode{groupnameg}{\fbox{\emph{groupName}}}\hspace*{2ex} & \emph{model} & \rnode{secnameg}{\fbox{\emph{secName}}} \nccurve[arrows=->,angleB=180]{secnamec}{secnameg}\\ & & \texttt{v1} & \\ & & \texttt{v2c} \\ & & \texttt{usm} \\[5ex] {\mbox{}\red{}access} & \rnode{groupnamea}{\fbox{\emph{groupName}}} \ncline[arrows=->]{groupnameg}{groupnamea} & \emph{context} & \emph{model} & \emph{level} & \emph{prefix} & \emph{readScope} & \emph{writeScope} & \emph{notifyScope} \\ & & \texttt{""} & \texttt{v1} & \texttt{noauth} & \texttt{exact} & \rnode{viewnamer}{\fbox{\emph{viewName}}} & \rnode{viewnamew}{\fbox{\emph{viewName}}} & \rnode{viewnamen}{\fbox{\emph{viewName}}} \\ & & & \texttt{v2c} & \texttt{auth} & \texttt{prefix} & \texttt{none} & \texttt{none} &\texttt{none} \\ & & & \texttt{usm} & \texttt{priv} \\ & & & \texttt{any} \\[4ex] {\mbox{}\red{}view} & \rnode{viewnamev}{\fbox{\emph{viewName}}} \pnode(7,.7){joinpointb} \pnode(1,.7){joinpointa} %\nccurve[arrows=->,angleA=0,angleB=180]{viewnamev}{joinpointa} \nccurve[angleA=0,angleB=180]{viewnamev}{joinpointa} \nccurve[arrows=->,angleB=180]{joinpointa}{joinpointb} \nccurve[arrows=->,angleB=-90]{joinpointb}{viewnamer} \nccurve[arrows=->,angleB=-90]{joinpointb}{viewnamew} \nccurve[arrows=->,angleB=-90]{joinpointb}{viewnamen} & \emph{type} & \emph{oidSubtree} & \emph{[mask]} \\ & & \texttt{included} \\ & & \texttt{excluded} \end{tabularx} \end{pspicture} \end{TeXtoEPS} \end{document}