I'm trying to rotate a Tikz-UML sequence diagram by 90 degrees, but the lay-out is completely screwed up when I do. At the moment, I use following code:
\documentclass[11pt,a4paper,oneside]{article}
\usepackage{tikz-uml}
\begin{document}
\begin{tikzpicture}[rotate=90]
\begin{umlseqdiag}
\umlobject[no ddots]{Application}
\umlcreatecall[no ddots, x=4]{Application}{ProfilePageGUI}
\umlcreatecall[no ddots, x=7]{ProfilePageGUI}{RemoveUserDialog}
\umlcreatecall[no ddots, x=10]{ProfilePageGUI}{ConfirmUserDeletionDialog}
\umlobject[no ddots, x=13]{User}
\begin{umlcall}[op={openProfilePage()}, return=""]{Application}{ProfilePageGUI}
\end{umlcall}
\end{umlseqdiag}
\end{tikzpicture}
\end{document}
The horizontal (original, without rotation) version looks like this:
But, when I rotate it, it looks like this:
Is there a different way to rotate this image? I want to do this, because I don't have enough horizontal space for the full diagram.
EDIT: I updated the code to make it compile.
\documentclass...
and ending with\end{document}
. – JMP Apr 18 '16 at 17:35sidewaysfigure
environment or encapsulate it in\rotatebox{90}{\begin{tikzpicture} ...\end{tikzpicture}}
. – Zarko Apr 18 '16 at 18:07