| 1 |
\def\fileversion{v0.1} |
| 2 |
\def\filedate{2017/03/29} |
| 3 |
|
| 4 |
\usetikzlibrary{arrows.meta} |
| 5 |
\usetikzlibrary{shadows} |
| 6 |
\usetikzlibrary{shapes.geometric} |
| 7 |
|
| 8 |
\pgfdeclareshape{rectification}{ |
| 9 |
\inheritsavedanchors[from=circle] |
| 10 |
\inheritanchorborder[from=circle] |
| 11 |
\inheritanchor[from=circle]{center} |
| 12 |
\inheritanchor[from=circle]{north} |
| 13 |
\inheritanchor[from=circle]{south} |
| 14 |
\inheritanchor[from=circle]{west} |
| 15 |
\inheritanchor[from=circle]{east} |
| 16 |
\backgroundpath{ |
| 17 |
\pgfsetarrows{-} |
| 18 |
\pgfpathcircle{\pgfpoint{0}{0}}{\radius} \pgfusepath{stroke,clip} |
| 19 |
\pgfpathmoveto{\pgfpoint{-\radius}{-0.25 * \radius}} |
| 20 |
\pgfpathlineto{\pgfpoint{0}{-0.25 * \radius}} |
| 21 |
\pgfpathlineto{\pgfpoint{\radius}{\radius - 0.25 * \radius}} |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
\tikzset{ |
| 26 |
nef/.style={ |
| 27 |
minimum width=1.5em, minimum height=1.5em, |
| 28 |
every path/.style={>=Latex}, |
| 29 |
graphs/every graph/.style={grow right sep=15mm, branch down sep=15mm, nodes={anchor=center}, edge quotes={above, node font=\footnotesize}}, |
| 30 |
}, |
| 31 |
ext/.style={draw=none}, |
| 32 |
net/.style={draw, rounded corners=0.5em}, |
| 33 |
ens/.style={draw, circle, inner sep=0.25ex}, |
| 34 |
pnode/.style={draw, circle, fill=black, minimum width=0.75em, minimum height=0.75em}, |
| 35 |
rect/.style={draw, shape=rectification, inner sep=0.25ex}, |
| 36 |
ea/.style={draw, fill=white, circle, inner sep=0.05em, double copy shadow={opacity=0.6, shadow yshift=-0.3ex, shadow xshift=0.3ex}}, |
| 37 |
recurrent/.style={loop above, min distance=2em, in=120, out=60}, |
| 38 |
inhibit/.style={-Circle}, |
| 39 |
modulatory/.style={-{Arc Barb[reversed]}} |
| 40 |
} |
| 41 |
|
| 42 |
\endinput |