Graphics, Figures & TablesTikz and large automata

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
DenBeke
Posts: 2
Joined: Mon May 20, 2013 8:53 am

Tikz and large automata

Post by DenBeke »

I'm writing a script to convert DFA's to a Latex automata in Tikz.
This works perfect for smaller automata, but when they become big I've got an error (multiple times):

Code: Select all

l.206 ...cm of ReadChannelEnd0] {ReadChannelEnd1};
                                                  
./test.tex:206: Dimension too large.
<argument> \pgf@xa 
Latex source code: http://pastebin.com/XYa53ZbC

Anyone who could help me with that?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

feuersaenger
Posts: 34
Joined: Sun Oct 16, 2011 5:56 pm

Re: Tikz and large automata

Post by feuersaenger »

Hi DenBeke,

The message indicates that some intermediate (?) computation result became unexpectedly huge - perhaps as result of a division by some very small number. I suppose it should be possible to identify the culprit by reducing your huge example to some smaller picture; perhaps there are some nodes which are too close to each other?

Once you have a reduced your set to a smaller picture which has the same problem, we can surely identify a solution or a work-around.

Kind regards

Christian
DenBeke
Posts: 2
Joined: Mon May 20, 2013 8:53 am

Re: Tikz and large automata

Post by DenBeke »

It works perfect on smaller things...
I never devide by zero.

Could it be that the document page is too small?
Is there a way to enlarge the document automaticly based on the content?
Post Reply