texmf-dist/doc/latex/tikz-nef/example-net.tex
raw| 1 | \RequirePackage{luatex85} |
| 2 | \documentclass{standalone} |
| 3 | |
| 4 | \usepackage{fontspec} |
| 5 | |
| 6 | \usepackage{tikz} |
| 7 | \usetikzlibrary{graphs} |
| 8 | \usetikzlibrary{nef} |
| 9 | \usetikzlibrary{quotes} |
| 10 | |
| 11 | \begin{document} |
| 12 | \begin{tikzpicture}[nef] |
| 13 | \graph { |
| 14 | input [ext] -> gate [ens] -> integrator/$x$ [ens] -> output [ext]; |
| 15 | integrator -> [bend right, "$-1$"] gate; |
| 16 | integrator -> [recurrent] integrator; |
| 17 | store -> [inhibit] gate; |
| 18 | }; |
| 19 | \end{tikzpicture} |
| 20 | \end{document} |