next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Graphs :: showTikZ(Digraph)

showTikZ(Digraph) -- outputs TikZ syntax for displaying a graph or digraph in TeX

Synopsis

Description

showTikZ requires the external program dot2tex, available at http://www.fauskes.net/code/dot2tex/.

The following code gives TikZ syntax for the complete graph K5.

showTikZ completeGraph 5