From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 graphics/pgf/contrib/tikz-nef/example-net.tex | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 graphics/pgf/contrib/tikz-nef/example-net.tex

(limited to 'graphics/pgf/contrib/tikz-nef/example-net.tex')

diff --git a/graphics/pgf/contrib/tikz-nef/example-net.tex b/graphics/pgf/contrib/tikz-nef/example-net.tex
new file mode 100644
index 0000000000..f91c2015ee
--- /dev/null
+++ b/graphics/pgf/contrib/tikz-nef/example-net.tex
@@ -0,0 +1,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}
-- 
cgit v1.2.3

