0

I am trying to create a flowchart with Tikz. Since it is a long one, it spans three pages. So after creating a node to stop, I am continuing to the next page using \newpage command. Unfortunately some elements in page 1 are connected to page 2, 3 and vice versa. So when I try to create the arrow connection, it is not possible since the \newpage command comes in between. I am sharing the code with you for info. Could anyone help me to improve the flowchart so that I could direct the arrows among multiple pages. My sample code is below:

\begin{tikzpicture}
\node 1
\node 2
........
\draw[arrow] (node1)--(node2)
\draw[arrow] (node2)--(node3)
----
\end tikzpicture}
\newpage
\begin{tikzpicture}
\node 1
\node 2
........
\draw[arrow] (node1)--(node2)
\draw[arrow] (node2)--(node3)
----
\end tikzpicture}
\newpage
 \begin{tikzpicture}
\node 1
\node 2
........
\draw[arrow] (node1)--(node2)
\draw[arrow] (node2)--(node3)
----
\end tikzpicture}
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Apr 11 '15 at 23:46
  • Welcome to TeX SE! Please complete your code so we can compile it! But I'd suggest creating a large chart and then including different parts with \includegraphics. – cfr Apr 11 '15 at 23:47
  • E.g. tex.stackexchange.com/questions/23860/…. – cfr Apr 11 '15 at 23:50
  • Typically you would not draw arrows across page boundaries (you'd run into problems with the printable area of the page anyway), but instead use off-page connectors. See here for an example: flowhelp.com/flowchart/flowchart_connector_detail.html – Paul Gessler Apr 11 '15 at 23:51
  • @Gessler Your link is exactly what we did 50 years ago with ForTran flow charting. When we had a flowchart to large for the page we created a numbered node at the right hand on the first page. And then a node with the same number on the left side of the continued page. The major requirement that both nodes are the same distance from the top of the page and have the same number. This also allowed for a single page to link to more than one following page and for pages to be inter linked. – R. Schumacher Apr 11 '15 at 23:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.