Michael Blow | 82464fb | 2017-03-28 18:48:13 -0400 | [diff] [blame] | 1 | % |
| 2 | % Licensed to the Apache Software Foundation (ASF) under one |
| 3 | % or more contributor license agreements. See the NOTICE file |
| 4 | % distributed with this work for additional information |
| 5 | % regarding copyright ownership. The ASF licenses this file |
| 6 | % to you under the Apache License, Version 2.0 (the |
| 7 | % "License"); you may not use this file except in compliance |
| 8 | % with the License. You may obtain a copy of the License at |
| 9 | % |
| 10 | % http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | % |
| 12 | % Unless required by applicable law or agreed to in writing, |
| 13 | % software distributed under the License is distributed on an |
| 14 | % "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | % KIND, either express or implied. See the License for the |
| 16 | % specific language governing permissions and limitations |
| 17 | % under the License. |
| 18 | % |
Ian Maxon | 6b4e179 | 2017-02-13 16:58:51 -0800 | [diff] [blame] | 19 | \documentclass[convert={density=300,size=500x500,outext=.png}]{standalone} |
| 20 | \usepackage{tikz} |
| 21 | \usepackage{pgf} |
| 22 | \usetikzlibrary{arrows,positioning} |
| 23 | \usepackage{graphicx} |
| 24 | \tikzset{ |
| 25 | procs/.style={ |
| 26 | rectangle, |
| 27 | rounded corners, |
| 28 | draw=black, thick, |
| 29 | text width=13em, |
| 30 | minimum height=.5em, |
| 31 | text centered}, |
| 32 | % Define arrow style |
| 33 | msgs/.style={ |
| 34 | ->, |
| 35 | thick, |
| 36 | shorten <=2pt, |
| 37 | shorten >=2pt,} |
| 38 | } |
| 39 | \begin{document} |
| 40 | \begin{tikzpicture}[node distance=1cm, auto,] |
| 41 | \node[procs] (nc) {\large Node Controller (NC)}; |
| 42 | \node[procs,above=of nc] (ncservice) {\large NC Service}; |
| 43 | \node[procs, above= of ncservice] (cc) {\large Cluster Controller (CC)}; |
| 44 | |
| 45 | \path [draw, -latex'] (ncservice) -- node {\scriptsize 2. NC startup}(nc); |
| 46 | \path [draw, -latex'] (cc) -- node {\scriptsize 1. NC parameters }(ncservice); |
| 47 | \draw [->] (nc.east) -- ++(1em,0) node[near end, rotate=-90,xshift=-4em] {\scriptsize 3. NC registration} |- (cc.east); |
| 48 | \end{tikzpicture} \\* |
| 49 | |
| 50 | |
| 51 | \end{document} |