HarisIqbal88 / PlotNeuralNet

Latex code for making neural networks diagrams
MIT License
21.54k stars 2.83k forks source link

How do i change midarrow to rightarrow #111

Open JackEnzo opened 3 years ago

JackEnzo commented 3 years ago

Hello dear Mr. Haris Iqbal ,i want change '\midarrow' to '\rightarrow' as follows,but look it doesn't work.

def to_connection( of, to): return r""" \draw [connection] ("""+of+"""-east) -- node {\rightarrow} ("""+to+"""-west); """

LauraChow commented 2 years ago

def to_connection( of, to): return r""" \draw [connection] ("""+of+"""-east) -- ("""+to+"""-west) node {\midarrow}; """ It worked for me.