Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package for drawing queue networks with LaTeX?

Tags:

latex

graphics

Does anyone know how to draw queue network graphs that can be included within LaTeX documents?

like image 822
frnk Avatar asked Oct 27 '09 08:10

frnk


3 Answers

See, e.g., the following examples at TeXample.net for the TikZ and PGF packages:

  • Graphs
  • Automata and Petri nets
like image 113
rcs Avatar answered Nov 17 '22 08:11

rcs


Use METAPOST for your problem.

like image 31
Alexey Malistov Avatar answered Nov 17 '22 07:11

Alexey Malistov


There are many ways to include drawings/graphs/images in your latex document.

The easiest way is just to draw the graph in your drawing program of choice, then export the graph to jpg or png (or eps if you're not using PDFlatex), then use the graphicx package ( \usepackage{graphicx} in your preamble), and include the graph in your document by using the code

\includegraphics[width=4in]{filename.jpg}

As indicated in other answers, there are several drawing languages that can be used with tex: metapost, tikz, and PGF are are powerful. There is also asymptote, another code based drawing language.

You could also use graphviz, which is excellent if your graph is large and you need graph something like network traffic. And dot2tex will turn your graphviz file into something latex can handle.

like image 1
Mica Avatar answered Nov 17 '22 07:11

Mica