I have written the following code for a directed graph, but the size of arrow is too small. My question is how can I enlarge the size of the arrows


    [x=1.3cm, y=1cm,
        every edge/.style={
                        decoration={markings,mark=at position 0.5 with {{\arrow{>}}}}

    \draw (0,1) node [circle,fill, inner sep=2pt] {};
    \draw (2,1) node [circle,fill, inner sep=2pt] {};
    \draw (0,0) node [circle,fill, inner sep=2pt] {};
    \draw (2,0) node [circle,fill, inner sep=2pt] {};
    \draw (0,-1) node [circle,fill, inner sep=2pt] {};
    \draw (2,-1) node [circle,fill, inner sep=2pt] {};

        (2,0)  edge (0,0) 
        (0,-1) edge (2,-1) 

  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Stefan Braun Jun 27 '16 at 16:23

You can add options to \arrow{>}. For example \arrow[scale=2]{>} will double the size (and line width) of the arrow. If you want a different line width you can also add line width option.

For example:


  • It does not change!!! – Jivid Jun 27 '16 at 16:33
  • @Jivid Well, it changes in my MWE. Perhaps other style definitions in yours are interfering. The MWE you posted was not compilable and I was fixing it. If you try to change \arrow{>} by \arrow[scale=2]{>} in this MWE you should see a change. – JLDiaz Jun 27 '16 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.