nx2tikz

wield.control.SFLU.nx2tikz

Export networkx graphs into tikz using signal flow style.

TODO, need to include the style files into TEXINPUTS or this will fail

Functions

dump_pdf(g, fname[, texname])

Write PDF from TeX document using pdflatex.

dump_tex(g, fname, **kwargs)

Write TeX document.

dump_tikz(g, fname, **kwargs)

Write TikZ picture as TeX file.

dumps_tikz(g[, scale])

Return TikZ code as str for networkx graph g.

Details

dump_pdf(g, fname, texname=None, **kwargs)[source][github]

Write PDF from TeX document using pdflatex.

The first positional argument is a graph or a list of graphs to combine into a picture.

dump_tex(g, fname, **kwargs)[source][github]

Write TeX document.

The first positional argument is a graph or a list of graphs to combine into a picture.

dump_tikz(g, fname, **kwargs)[source][github]

Write TikZ picture as TeX file.

The first positional argument is a graph or a list of graphs to combine into a picture.

dumps_tikz(g, scale='0.5em')[source][github]

Return TikZ code as str for networkx graph g.