How can I increase the size of the head of the arrows in a tkz-graph
graph? This question is similar to Is it possible to change the size of an arrowhead in TikZ/PGF?, but requires an adaptation of the solution to tkz-graph
specifically.
-
Related Question: Meta Arrow Tips– Peter GrillCommented Mar 22, 2012 at 17:51
Add a comment
|
1 Answer
With \SetUpEdge
you could adapt the answers given in the question you mention. For example:
\pgfarrowsdeclare{biggertip}{biggertip}{%
\setlength{\arrowsize}{1pt}
\addtolength{\arrowsize}{.5\pgflinewidth}
\pgfarrowsrightextend{0}
\pgfarrowsleftextend{-5\arrowsize}
}{%
\setlength{\arrowsize}{1pt}
\addtolength{\arrowsize}{.5\pgflinewidth}
\pgfpathmoveto{\pgfpoint{-5\arrowsize}{4\arrowsize}}
\pgfpathlineto{\pgfpointorigin}
\pgfpathlineto{\pgfpoint{-5\arrowsize}{-4\arrowsize}}
\pgfusepathqstroke
}
\begin{tikzpicture}
\Vertex{a}
\Vertex[x=2,y=0]{b}
\Vertex[x=4,y=0]{c}
{\SetUpEdge[style={->,>=triangle 45}]
\Edge(a)(b)}
{\SetUpEdge[style={->,>=biggertip}]
\Edge(b)(c)}
\end{tikzpicture}