\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}
+
+