From: Mart Lubbers Date: Thu, 1 May 2014 07:29:12 +0000 (+0200) Subject: firt draft sequence diagram X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=2c932b7a1310ed665dc6737ad24e33589d3ce394;p=bsc-thesis1415.git firt draft sequence diagram --- diff --git a/softwaredesign/sequence/Makefile b/softwaredesign/sequence/Makefile index b80beb1..d75b1c7 100644 --- a/softwaredesign/sequence/Makefile +++ b/softwaredesign/sequence/Makefile @@ -1,2 +1,3 @@ all: pdflatex sequence_diagram.tex + pdflatex sequence_diagram.tex diff --git a/softwaredesign/sequence/sequence_diagram.tex b/softwaredesign/sequence/sequence_diagram.tex index 13cd2d5..d564d7f 100644 --- a/softwaredesign/sequence/sequence_diagram.tex +++ b/softwaredesign/sequence/sequence_diagram.tex @@ -1,60 +1,115 @@ \documentclass{article} +%\usepackage{fullpage} +\usepackage[a3paper, margin=2cm, landscape]{geometry} \usepackage{tikz} -\usetikzlibrary{arrows,shadows} +%\usetikzlibrary{arrows,shadows} \usepackage{pgf-umlsd} +\pagestyle{empty} + \begin{document} +\resizebox{380mm}{!}{ + \begin{sequencediagram} + \newinst[3]{s}{Sources RSS/WEB/MAIL} + \newinst[3]{u}{Non IT person} + \newinst[3]{f}{Hypfront} + \newinst[3]{c}{Hypcrawler} + \newinst[3]{o}{Hypconverter} + \newinst[3]{b}{Hyperleap backend} -\resizebox{!}{1\textheight}{ + \begin{sdblock}{Add site to crawler}{} + \begin{call}{u} + {Identify source} + {s} + {true} + \end{call} -\begin{sequencediagram} + \begin{call}{u} + {Ask frontend} + {f} + {Get interactive session} + \end{call} -\newthread[white]{u}{Non IT person} -\newinst[3]{b}{Hypfront} -\newinst[3]{b}{Hypcrawler} -\newinst[3]{b}{Hypconverter} -\newinst[3]{b}{Hyperleap backend} -% -%\begin{sdblock}{Setting up crawler}{} -% -% \begin{call}{u}{goToDSView()}{f}{showDSView()} -% \end{call} -% -% \begin{sdblock}{Loop}{} -% \begin{call}{u}{draw()}{f}{showDraw()} -% \end{call} -% \end{sdblock} -% -% \begin{call}{u}{saveShape()}{f}{returnToEditor()} -% \begin{call}{f}{promptDefineAttributes()}{u}{defineAttributes()} -% \end{call} -% \begin{call}{f}{sendAttributes()}{b}{true} -% \end{call} -% \end{call} -% -%\end{sdblock} -% -%\begin{sdblock}{Create Diagram} -% -% \begin{call}{u}{createDiagram()}{f}{showDView()} -% \end{call} -% -% \begin{sdblock}{Loop}{} -% \begin{call}{u}{addShape()}{f}{showShape()} -% \begin{call}{f}{promptAddAttributes()}{u}{addAttributes()} -% \end{call} -% \end{call} -% \end{sdblock} -% -% \begin{call}{u}{saveDiagram()}{f}{returnToEditor()} -% \begin{call}{f}{sendAttributes()}{b}{true} -% \end{call} -% \end{call} -% -%\end{sdblock} + \begin{call}{u} + {Train with frontend} + {f} + {true} + \end{call} + + \begin{call}{f} + {Specify frequency} + {c} + {true} + \end{call} + + \begin{call}{f} + {Build pattern and send} + {o} + {true} + \end{call} + \end{sdblock} + + \begin{sdblock}{Periodical crawl loop}{} + \begin{call}{c} + {Download data} + {s} + {true} + \end{call} -\end{sequencediagram} + \begin{call}{c} + {Send data} + {o} + {true} + \end{call} + \begin{call}{o} + {converted XML data} + {b} + {true} + \end{call} + \end{sdblock} + + + + + \end{sequencediagram} } \end{document} + + +% \begin{call} +% +% \begin{sdblock}{Loop}{} +% \begin{call}{u}{draw()}{f}{showDraw()} +% \end{call} +% \end{sdblock} +% +% \begin{call}{u}{saveShape()}{f}{returnToEditor()} +% \begin{call}{f}{promptDefineAttributes()}{u}{defineAttributes()} +% \end{call} +% \begin{call}{f}{sendAttributes()}{b}{true} +% \end{call} +% \end{call} + + % + %\begin{sdblock}{Create Diagram} + % + % \begin{call}{u}{createDiagram()}{f}{showDView()} + % \end{call} + % + % \begin{sdblock}{Loop}{} + % \begin{call}{u}{addShape()}{f}{showShape()} + % \begin{call}{f}{promptAddAttributes()}{u}{addAttributes()} + % \end{call} + % \end{call} + % \end{sdblock} + % + % \begin{call}{u}{saveDiagram()}{f}{returnToEditor()} + % \begin{call}{f}{sendAttributes()}{b}{true} + % \end{call} + % \end{call} + % + %\end{sdblock} + +