Math & ScienceConstruction of Automata Graph

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
dcl00u
Posts: 4
Joined: Mon Mar 26, 2012 8:20 pm

Construction of Automata Graph

Post by dcl00u »

Hi, I would like to know how to construct a graph for an automata similar to the attached.

I have looked at other packages such as tikZ, vaucanson and gastex but those seems to do only single-element state graphs.

Edit: The graph shown may have been constructed using beamer (could it be a beamer-exclusive feature?)
Attachments
automata-graph.png
automata-graph.png (278.79 KiB) Viewed 2757 times
Last edited by localghost on Tue Nov 20, 2012 10:11 am, edited 1 time in total.
Reason: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Construction of Automata Graph

Post by Stefan Kottwitz »

TikZ can also be used without a specific automata library. Or one may use the automata library and use additional TikZ commands if required.

A general TikZ approach:
  • Define node styles
  • Place nodes (for example in a matrix of nodes, or with relative positioning, or absolute coordinates)
  • Connect nodes with arrows / edges, with nodes as labels
The example graph is not difficult. See perhaps this basic example: simple graph, which does that procedure step by step. Regarding your last question, it's not relevant if beamer or another LaTeX class is used.

Stefan
LaTeX.org admin
dcl00u
Posts: 4
Joined: Mon Mar 26, 2012 8:20 pm

Re: Construction of Automata Graph

Post by dcl00u »

Thanks for the advice and suggestions. I will try it out soon.
Post Reply