Last active
March 12, 2016 23:41
-
-
Save miloh/e46798b3a5ef277f6cb4 to your computer and use it in GitHub Desktop.
flowchart for resetting the elevator at noisebridge. tex file uses tkiz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[latin1]{inputenc} | |
\usepackage{tikz} | |
\usetikzlibrary{shapes,arrows} | |
\begin{document} | |
\pagestyle{empty} | |
% Define block styles | |
\tikzstyle{decision} = [diamond, draw, fill=red!20, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt] | |
\tikzstyle{block} = [rectangle, draw, fill=black!20, | |
text width=10em, text centered, node distance=2.5cm, rounded corners, minimum height=4em] | |
\tikzstyle{line} = [draw, -latex'] | |
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=2cm, minimum height=2em] | |
\begin{tikzpicture} | |
% Place nodes | |
\node [rectangle, draw, thick, node distance=2cm,text width=25em, text | |
centered, text= blue,scale=1.7, fill=black!0] (start) {Elevator Reset Flow Chart}; | |
\node [block, below of=start,text centered, text width=15em] (check) {Check the elevator "IN USE" light outside the elevator door}; | |
\node [decision, below of=check, text width=6em] (inuse) {is the "IN USE" light on?}; | |
\node [block, right of=inuse,node distance=4cm] (stop) {Your Work Here is Finished}; | |
\node [block, below of=inuse,node distance=3.5cm, text width=15em] (open gates) {Open both gates}; | |
\node [block, below of=open gates,node distance=2cm,text width=15em] (get into elevator) {Get into the Elevator}; | |
\node [block, below of=get into elevator,node distance=2cm,text width=13em] (close gates) {Close both gates}; | |
\node [block, below of=close gates,node distance=2cm,text width=23em] (press same button) {For 5 seconds, press and hold the floor button for the floor you are currently on, release button}; | |
\node [block, below of=press same button,text width=20em] (listen) {Slowly open inner elevator gate, listen for the loud 'CLACK' sound of the relay switch in the elevator shaft above}; | |
\node [left of=listen,text width=0em,node distance=7cm] (invis) {}; | |
%\node [block, below of=hear it?] (open gates) {Open both gates}; | |
% Draw edges | |
\path [line] (check) -- (inuse); | |
\path [line] (inuse) -- node [near start, anchor=east] {yes} (open gates); | |
\path [line] (inuse) -- node[anchor=north] {no}(stop); | |
\path [line] (open gates) -- (get into elevator); | |
\path [line] (get into elevator) -- (close gates); | |
\path [line] (close gates) -- (press same button); | |
\path [line] (press same button) -- (listen); | |
\path [line] (listen) -- (invis); | |
\path [line] (invis) |- (check); | |
\end{tikzpicture} | |
\end{document} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment