Questions tagged [automata]
{automata} is about the realization of automata (i.e. finite state machines) in (La)TeX.
171 questions
0 votes
0 answers
37 views
Can LaTeX Arrange Nodes for Finite Automata Automatically? [duplicate]
I need to draw highly complex deterministic and non-deterministic finite automata in LaTeX. Is there a specific package or platform that can automatically arrange the automaton layout with minimal ...
1 vote
1 answer
140 views
Hiding start state arrow in tikz automata overlay
I'm using tikz-automata library to draw an automata with just one state, which is an initial state. I wish to hide this state on the first slide and make it visible only on the second slide onwards. ...
4 votes
2 answers
151 views
Control positioning of Tikz label of an edge
Here's my code: \usepackage{tikz} \usetikzlibrary{automata, positioning, arrows} \tikzset{ ->, % makes the edges directed >=stealth, % makes the arrow heads bold node distance=3cm, % specifies ...
2 votes
0 answers
60 views
Can TikZ/Graph do automatic placement taking into account edge label length?
I wish to automatically draw a graph, with labels of diverse lengths on the edges. For it to be pretty, I need that: If a node is automatically placed below another, then the edge label length ...
3 votes
1 answer
107 views
Draw edge between same node such that there is no overlap
How can I adjust the path \path (a) edge [edge, loop left] node {$1_a$} (a) so that both the beginning and end of the path are near the node, but not so near that there is an overlap between the node ...
2 votes
1 answer
287 views
Antiparallel arrows between nodes
I am attempting to draw state machines in which two states have input that shifts the current state to each other. The following representation using bent arrows does not suit my application: \...
4 votes
2 answers
363 views
Change accepting states using automata and overlay-beamer-styles without having nodes shift around
I am trying to draw an automaton using TikZ with the automata package that I am modifying from slide to slide with overlay-beamer-styles. One of the things I am changing is which nodes are marked as ...
-2 votes
1 answer
357 views
Flow diagram Latex Code [closed]
Can someone please help with a code that will draw this flow chart diagram in Latex.The image is given the picture below.
0 votes
2 answers
117 views
Nested tikz picture
I want to have the following tikzpicture \begin{tikzpicture} [ node distance = 5cm, on grid, auto, every loop/.style={stealth-}] % State q0 \node (q0) [state, initial, ...
1 vote
1 answer
109 views
Edge endpoints when automating node connections with Tikz/automata
I'm trying to draw a Markov chain. As I have 11 states, I tried to automate the declaration of states as well as the edges in a for loop. Here is my MWE: \documentclass{standalone} \usepackage{tikz} \...
0 votes
1 answer
130 views
How to set edge label style in latex using tikz?
The edge caption style of this automaton is really fancy, yet I can't figure out how to use tikz to reproduce it, any help would be greatly appreciated! I could only use tikz automata library to draw ...
3 votes
1 answer
248 views
Squiggly transition in automaton
I need to make an automaton, that looks like this: I can only do the following: \usepackage{tikz} \usetikzlibrary{arrows, automata, quotes, positioning } \begin{...
6 votes
3 answers
502 views
Make edges parallel
The edges are matching. I would like them to be parallel horizontally. I tried changing the value of the yshit parameter, but it didn't work. \documentclass{article} \usepackage{geometry} \...
0 votes
1 answer
100 views
How to make edges parallel
How can I make the edges between the vertices {q_1,q_3} and {q_1,q_2,q_3} parallel? Code: \documentclass[tikz,12pt,border=1mm]{standalone} \usepackage[brazil]{babel} \usepackage{tkz-euclide} \...
1 vote
3 answers
148 views
Reposition graph edges
How can I place the loop of vertex {q_1, q_2, q_3} and vertex {empty set} above and below these vertices, respectively (as in the drawing below), instead of on the right? This is my .TEX: \...