Skip to content

Commit

Permalink
Do not change arrow head globally
Browse files Browse the repository at this point in the history
  • Loading branch information
kshramt committed Feb 1, 2017
1 parent 41c5ca1 commit f35a766
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tikzlibrarybayesnet.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
\tikzstyle{factor caption} = [caption] %
\tikzstyle{every label} += [caption] %

\tikzset{>={triangle 45}}

%\pgfdeclarelayer{b}
%\pgfdeclarelayer{f}
%\pgfsetlayers{b,main,f}
Expand All @@ -55,7 +53,7 @@
%\draw[-,#1] (\x) edge[-] (\f) ; %
} ;
\foreach \y in {#4} { %
\path (\f) edge[->,#1] (\y) ; %
\path (\f) edge[->, >={triangle 45}, #1] (\y) ; %
%\draw[->,#1] (\f) -- (\y) ; %
} ;
} ;
Expand All @@ -66,7 +64,7 @@
% Connect all nodes #2 to all nodes #3.
\foreach \x in {#2} { %
\foreach \y in {#3} { %
\path (\x) edge [->,#1] (\y) ;%
\path (\x) edge [->, >={triangle 45}, #1] (\y) ;%
%\draw[->,#1] (\x) -- (\y) ;%
} ;
} ;
Expand Down Expand Up @@ -137,4 +135,3 @@
\draw [-*,thick] (\x) -- (#1); %
} ;%
}

0 comments on commit f35a766

Please sign in to comment.