summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikz-nef/example-net.tex
blob: f91c2015eed91ff15af9ad71ea13ad0c6aeb2295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\RequirePackage{luatex85}
\documentclass{standalone}

\usepackage{fontspec}

\usepackage{tikz}
\usetikzlibrary{graphs}
\usetikzlibrary{nef}
\usetikzlibrary{quotes}

\begin{document}
\begin{tikzpicture}[nef]
    \graph {
        input [ext] -> gate [ens] -> integrator/$x$ [ens] -> output [ext];
        integrator -> [bend right, "$-1$"] gate;
        integrator -> [recurrent] integrator;
        store -> [inhibit] gate;
    };
\end{tikzpicture}
\end{document}