Strange uparrow heads at the right

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












How can I remove the up arrowheads at the right side and why they are appear? thanks a lot !



documentclass[a4paper,twoside,10pt]memoir
usepackagealphabeta
defeng#1textlatin#1
usepackagetextcase
usepackagesilence
usepackagekerkis
usepackagecolor
usepackage[svgnames,x11names,named]xcolor
WarningFilter*mdframedYou got a bad break
WarningFilterlatexText page
usepackage[usetwoside]mdframed
usepackage[LGR,T1]fontenc
usepackageanyfontsize
usepackagelipsum
usepackage tikz
usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
usepackagegraphicx
usepackagestix
usepackageamsmath
usepackageamssymb
usepackageamsfonts
usepackageamsthm
usepackagemathtools
usepackagesysteme
usepackagewrapfig
usepackageafterpage
usepackagetocloft
usepackage[figuresright]rotating
usepackageparskip
usepackagecaption
usepackageenumitem
usepackagetitletoc
usepackagecalc
usepackagepstricks
usepackagebbm
usepackagetextcomp
usepackageupgreek
usepackageifthen
usepackageextramarks
usepackagebm
usepackagemultirow
usepackagemulticol
usepackagecolortbl

begindocument

begincenter
tikzsetevery loop/.style=min distance=15mm,looseness=10
begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
draw (1,4) node [state][rectangle] (a1) $bmw$;
draw (3,6) node [state][rectangle] (b2) $bmwx$;
draw (3,1) node [state][rectangle] (a2) $bmwv$;
draw (6,8) node [state][rectangle] (c3) $bmwxx$;
draw (6,5) node [state][rectangle] (b3) $bmwxv$;
draw (6,1) node [state][rectangle] (a3) $bmwvx$;
draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
draw (12,10.2) node [draw=none,fill=none] (p1) ;
draw (12,9.8) node [draw=none,fill=none] (p2) ;
draw (12,8) node [draw=none,fill=none] (p3) ;
draw (12,7.2) node [draw=none,fill=none] (p4) ;
draw (12,6.8) node [draw=none,fill=none] (p5) ;
draw (12,5.8) node [draw=none,fill=none] (p6) ;
draw (12,6.2) node [draw=none,fill=none] (p7) ;
draw (12,4) node [draw=none,fill=none] (p8) ;
draw (12,3.2) node [draw=none,fill=none] (p9) ;
draw (12,2.8) node [draw=none,fill=none] (p10) ;
draw (12,1) node [draw=none,fill=none] (p11) ;
draw (12,0.2) node [draw=none,fill=none] (p12) ;
draw (12,-0.2) node [draw=none,fill=none] (p13) ;
path (a1) edge (a2);
path (a1) edge (b2);
path (a2) edge (a3);
path (b2) edge (c3);
path (b2) edge (b3);
path (a3) edge (a4);
path (a3) edge (b4);
path (b3) edge (c4);
path (c3) edge (d4);
path (c3) edge (e4);
path (a4) edge (a5);
path (b4) edge (b5);
path (b4) edge (c5);
path (c4) edge (d5);
path (c4) edge (e5);
path (d4) edge (f5);
path (e4) edge (g5);
path (e4) edge (h5);
path (h5) edge [dashed] (p1);
path (h5) edge [dashed] (p2);
path (g5) edge [dashed] (p3);
path (f5) edge [dashed] (p4);
path (f5) edge [dashed] (p5);
path (e5) edge [dashed] (p6);
path (e5) edge [dashed] (p7);
path (d5) edge [dashed] (p8);
path (c5) edge [dashed] (p9);
path (c5) edge [dashed] (p10);
path (b5) edge [dashed] (p11);
path (a5) edge [dashed] (p12);
path (a5) edge [dashed] (p13);
endtikzpicture
endcenter

enddocument









share|improve this question

























    up vote
    1
    down vote

    favorite












    How can I remove the up arrowheads at the right side and why they are appear? thanks a lot !



    documentclass[a4paper,twoside,10pt]memoir
    usepackagealphabeta
    defeng#1textlatin#1
    usepackagetextcase
    usepackagesilence
    usepackagekerkis
    usepackagecolor
    usepackage[svgnames,x11names,named]xcolor
    WarningFilter*mdframedYou got a bad break
    WarningFilterlatexText page
    usepackage[usetwoside]mdframed
    usepackage[LGR,T1]fontenc
    usepackageanyfontsize
    usepackagelipsum
    usepackage tikz
    usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
    usepackagegraphicx
    usepackagestix
    usepackageamsmath
    usepackageamssymb
    usepackageamsfonts
    usepackageamsthm
    usepackagemathtools
    usepackagesysteme
    usepackagewrapfig
    usepackageafterpage
    usepackagetocloft
    usepackage[figuresright]rotating
    usepackageparskip
    usepackagecaption
    usepackageenumitem
    usepackagetitletoc
    usepackagecalc
    usepackagepstricks
    usepackagebbm
    usepackagetextcomp
    usepackageupgreek
    usepackageifthen
    usepackageextramarks
    usepackagebm
    usepackagemultirow
    usepackagemulticol
    usepackagecolortbl

    begindocument

    begincenter
    tikzsetevery loop/.style=min distance=15mm,looseness=10
    begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
    state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
    draw (1,4) node [state][rectangle] (a1) $bmw$;
    draw (3,6) node [state][rectangle] (b2) $bmwx$;
    draw (3,1) node [state][rectangle] (a2) $bmwv$;
    draw (6,8) node [state][rectangle] (c3) $bmwxx$;
    draw (6,5) node [state][rectangle] (b3) $bmwxv$;
    draw (6,1) node [state][rectangle] (a3) $bmwvx$;
    draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
    draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
    draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
    draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
    draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
    draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
    draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
    draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
    draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
    draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
    draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
    draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
    draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
    draw (12,10.2) node [draw=none,fill=none] (p1) ;
    draw (12,9.8) node [draw=none,fill=none] (p2) ;
    draw (12,8) node [draw=none,fill=none] (p3) ;
    draw (12,7.2) node [draw=none,fill=none] (p4) ;
    draw (12,6.8) node [draw=none,fill=none] (p5) ;
    draw (12,5.8) node [draw=none,fill=none] (p6) ;
    draw (12,6.2) node [draw=none,fill=none] (p7) ;
    draw (12,4) node [draw=none,fill=none] (p8) ;
    draw (12,3.2) node [draw=none,fill=none] (p9) ;
    draw (12,2.8) node [draw=none,fill=none] (p10) ;
    draw (12,1) node [draw=none,fill=none] (p11) ;
    draw (12,0.2) node [draw=none,fill=none] (p12) ;
    draw (12,-0.2) node [draw=none,fill=none] (p13) ;
    path (a1) edge (a2);
    path (a1) edge (b2);
    path (a2) edge (a3);
    path (b2) edge (c3);
    path (b2) edge (b3);
    path (a3) edge (a4);
    path (a3) edge (b4);
    path (b3) edge (c4);
    path (c3) edge (d4);
    path (c3) edge (e4);
    path (a4) edge (a5);
    path (b4) edge (b5);
    path (b4) edge (c5);
    path (c4) edge (d5);
    path (c4) edge (e5);
    path (d4) edge (f5);
    path (e4) edge (g5);
    path (e4) edge (h5);
    path (h5) edge [dashed] (p1);
    path (h5) edge [dashed] (p2);
    path (g5) edge [dashed] (p3);
    path (f5) edge [dashed] (p4);
    path (f5) edge [dashed] (p5);
    path (e5) edge [dashed] (p6);
    path (e5) edge [dashed] (p7);
    path (d5) edge [dashed] (p8);
    path (c5) edge [dashed] (p9);
    path (c5) edge [dashed] (p10);
    path (b5) edge [dashed] (p11);
    path (a5) edge [dashed] (p12);
    path (a5) edge [dashed] (p13);
    endtikzpicture
    endcenter

    enddocument









    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      How can I remove the up arrowheads at the right side and why they are appear? thanks a lot !



      documentclass[a4paper,twoside,10pt]memoir
      usepackagealphabeta
      defeng#1textlatin#1
      usepackagetextcase
      usepackagesilence
      usepackagekerkis
      usepackagecolor
      usepackage[svgnames,x11names,named]xcolor
      WarningFilter*mdframedYou got a bad break
      WarningFilterlatexText page
      usepackage[usetwoside]mdframed
      usepackage[LGR,T1]fontenc
      usepackageanyfontsize
      usepackagelipsum
      usepackage tikz
      usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
      usepackagegraphicx
      usepackagestix
      usepackageamsmath
      usepackageamssymb
      usepackageamsfonts
      usepackageamsthm
      usepackagemathtools
      usepackagesysteme
      usepackagewrapfig
      usepackageafterpage
      usepackagetocloft
      usepackage[figuresright]rotating
      usepackageparskip
      usepackagecaption
      usepackageenumitem
      usepackagetitletoc
      usepackagecalc
      usepackagepstricks
      usepackagebbm
      usepackagetextcomp
      usepackageupgreek
      usepackageifthen
      usepackageextramarks
      usepackagebm
      usepackagemultirow
      usepackagemulticol
      usepackagecolortbl

      begindocument

      begincenter
      tikzsetevery loop/.style=min distance=15mm,looseness=10
      begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
      state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
      draw (1,4) node [state][rectangle] (a1) $bmw$;
      draw (3,6) node [state][rectangle] (b2) $bmwx$;
      draw (3,1) node [state][rectangle] (a2) $bmwv$;
      draw (6,8) node [state][rectangle] (c3) $bmwxx$;
      draw (6,5) node [state][rectangle] (b3) $bmwxv$;
      draw (6,1) node [state][rectangle] (a3) $bmwvx$;
      draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
      draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
      draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
      draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
      draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
      draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
      draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
      draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
      draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
      draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
      draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
      draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
      draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
      draw (12,10.2) node [draw=none,fill=none] (p1) ;
      draw (12,9.8) node [draw=none,fill=none] (p2) ;
      draw (12,8) node [draw=none,fill=none] (p3) ;
      draw (12,7.2) node [draw=none,fill=none] (p4) ;
      draw (12,6.8) node [draw=none,fill=none] (p5) ;
      draw (12,5.8) node [draw=none,fill=none] (p6) ;
      draw (12,6.2) node [draw=none,fill=none] (p7) ;
      draw (12,4) node [draw=none,fill=none] (p8) ;
      draw (12,3.2) node [draw=none,fill=none] (p9) ;
      draw (12,2.8) node [draw=none,fill=none] (p10) ;
      draw (12,1) node [draw=none,fill=none] (p11) ;
      draw (12,0.2) node [draw=none,fill=none] (p12) ;
      draw (12,-0.2) node [draw=none,fill=none] (p13) ;
      path (a1) edge (a2);
      path (a1) edge (b2);
      path (a2) edge (a3);
      path (b2) edge (c3);
      path (b2) edge (b3);
      path (a3) edge (a4);
      path (a3) edge (b4);
      path (b3) edge (c4);
      path (c3) edge (d4);
      path (c3) edge (e4);
      path (a4) edge (a5);
      path (b4) edge (b5);
      path (b4) edge (c5);
      path (c4) edge (d5);
      path (c4) edge (e5);
      path (d4) edge (f5);
      path (e4) edge (g5);
      path (e4) edge (h5);
      path (h5) edge [dashed] (p1);
      path (h5) edge [dashed] (p2);
      path (g5) edge [dashed] (p3);
      path (f5) edge [dashed] (p4);
      path (f5) edge [dashed] (p5);
      path (e5) edge [dashed] (p6);
      path (e5) edge [dashed] (p7);
      path (d5) edge [dashed] (p8);
      path (c5) edge [dashed] (p9);
      path (c5) edge [dashed] (p10);
      path (b5) edge [dashed] (p11);
      path (a5) edge [dashed] (p12);
      path (a5) edge [dashed] (p13);
      endtikzpicture
      endcenter

      enddocument









      share|improve this question













      How can I remove the up arrowheads at the right side and why they are appear? thanks a lot !



      documentclass[a4paper,twoside,10pt]memoir
      usepackagealphabeta
      defeng#1textlatin#1
      usepackagetextcase
      usepackagesilence
      usepackagekerkis
      usepackagecolor
      usepackage[svgnames,x11names,named]xcolor
      WarningFilter*mdframedYou got a bad break
      WarningFilterlatexText page
      usepackage[usetwoside]mdframed
      usepackage[LGR,T1]fontenc
      usepackageanyfontsize
      usepackagelipsum
      usepackage tikz
      usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
      usepackagegraphicx
      usepackagestix
      usepackageamsmath
      usepackageamssymb
      usepackageamsfonts
      usepackageamsthm
      usepackagemathtools
      usepackagesysteme
      usepackagewrapfig
      usepackageafterpage
      usepackagetocloft
      usepackage[figuresright]rotating
      usepackageparskip
      usepackagecaption
      usepackageenumitem
      usepackagetitletoc
      usepackagecalc
      usepackagepstricks
      usepackagebbm
      usepackagetextcomp
      usepackageupgreek
      usepackageifthen
      usepackageextramarks
      usepackagebm
      usepackagemultirow
      usepackagemulticol
      usepackagecolortbl

      begindocument

      begincenter
      tikzsetevery loop/.style=min distance=15mm,looseness=10
      begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
      state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
      draw (1,4) node [state][rectangle] (a1) $bmw$;
      draw (3,6) node [state][rectangle] (b2) $bmwx$;
      draw (3,1) node [state][rectangle] (a2) $bmwv$;
      draw (6,8) node [state][rectangle] (c3) $bmwxx$;
      draw (6,5) node [state][rectangle] (b3) $bmwxv$;
      draw (6,1) node [state][rectangle] (a3) $bmwvx$;
      draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
      draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
      draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
      draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
      draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
      draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
      draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
      draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
      draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
      draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
      draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
      draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
      draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
      draw (12,10.2) node [draw=none,fill=none] (p1) ;
      draw (12,9.8) node [draw=none,fill=none] (p2) ;
      draw (12,8) node [draw=none,fill=none] (p3) ;
      draw (12,7.2) node [draw=none,fill=none] (p4) ;
      draw (12,6.8) node [draw=none,fill=none] (p5) ;
      draw (12,5.8) node [draw=none,fill=none] (p6) ;
      draw (12,6.2) node [draw=none,fill=none] (p7) ;
      draw (12,4) node [draw=none,fill=none] (p8) ;
      draw (12,3.2) node [draw=none,fill=none] (p9) ;
      draw (12,2.8) node [draw=none,fill=none] (p10) ;
      draw (12,1) node [draw=none,fill=none] (p11) ;
      draw (12,0.2) node [draw=none,fill=none] (p12) ;
      draw (12,-0.2) node [draw=none,fill=none] (p13) ;
      path (a1) edge (a2);
      path (a1) edge (b2);
      path (a2) edge (a3);
      path (b2) edge (c3);
      path (b2) edge (b3);
      path (a3) edge (a4);
      path (a3) edge (b4);
      path (b3) edge (c4);
      path (c3) edge (d4);
      path (c3) edge (e4);
      path (a4) edge (a5);
      path (b4) edge (b5);
      path (b4) edge (c5);
      path (c4) edge (d5);
      path (c4) edge (e5);
      path (d4) edge (f5);
      path (e4) edge (g5);
      path (e4) edge (h5);
      path (h5) edge [dashed] (p1);
      path (h5) edge [dashed] (p2);
      path (g5) edge [dashed] (p3);
      path (f5) edge [dashed] (p4);
      path (f5) edge [dashed] (p5);
      path (e5) edge [dashed] (p6);
      path (e5) edge [dashed] (p7);
      path (d5) edge [dashed] (p8);
      path (c5) edge [dashed] (p9);
      path (c5) edge [dashed] (p10);
      path (b5) edge [dashed] (p11);
      path (a5) edge [dashed] (p12);
      path (a5) edge [dashed] (p13);
      endtikzpicture
      endcenter

      enddocument






      tikz-pgf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Athanasios Margaris

      17819




      17819




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          In addition to the response from @marmot, I would like to point out that the problem comes from the fact that you use the draw operation to place nodes instead of the node operation.



          I rewrote your code using only the operation node and placed nodes with the same options in a scope environment to lighten the code.



          beginscope[every node/.style=state,rectangle]


          I did the same with the edges:



          beginscope[every edge/.style=draw,dashed]


          I have also deleted the packages that are not related to this MWE.



          graphe



          documentclass[a4paper,twoside,10pt]memoir
          usepackage tikz
          usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
          usepackagebm

          begindocument
          begincenter
          tikzsetevery loop/.style=min distance=15mm,looseness=10
          begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
          state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
          beginscope[every node/.style=state,rectangle]
          node (a1) at (1,4) $bmw$;
          node (b2) at (3,6) $bmwx$;
          node (a2) at (3,1) $bmwv$;
          node (c3) at (6,8) $bmwxx$;
          node (b3) at (6,5) $bmwxv$;
          node (a3) at (6,1) $bmwvx$;
          node (e4) at (8,9) $bmwxxx$;
          node (d4) at (8,7) $bmwxxv$;
          node (c4) at (8,5) $bmwxvx$;
          node (b4) at (8,2) $bmwvxx$;
          node (a4) at (8,0) $bmwvxv$;
          node (a5) at (10,0) $bmwvxvv$;
          node (b5) at (10,1) $bmwvxxv$;
          node (c5) at (10,3) $bmwvxxx$;
          node (d5) at (10,4) $bmwxvxv$;
          node (e5) at (10,6) $bmwxvxx$;
          node (f5) at (10,7) $bmwxxvx$;
          node (g5) at (10,8) $bmwxxxv$;
          node (h5) at (10,10) $bmwxxxx$;
          endscope

          node (p1) at (12,10.2);
          node (p2) at (12,9.8);
          node (p3) at(12,8);
          node (p4) at (12,7.2);
          node (p5) at (12,6.8);
          node (p6) at (12,5.8);
          node (p7) at (12,6.2);
          node (p8) at (12,4);
          node (p9) at (12,3.2);
          node (p10) at (12,2.8);
          node (p11) at (12,1);
          node (p12) at (12,0.2);
          node (p13)at (12,-0.2);

          path (a1) edge (a2);
          path (a1) edge (b2);
          path (a2) edge (a3);
          path (b2) edge (c3);
          path (b2) edge (b3);
          path (a3) edge (a4);
          path (a3) edge (b4);
          path (b3) edge (c4);
          path (c3) edge (d4);
          path (c3) edge (e4);
          path (a4) edge (a5);
          path (b4) edge (b5);
          path (b4) edge (c5);
          path (c4) edge (d5);
          path (c4) edge (e5);
          path (d4) edge (f5);
          path (e4) edge (g5);
          path (e4) edge (h5);

          beginscope[every edge/.style=draw,dashed]
          path (h5) edge (p1);
          path (h5) edge (p2);
          path (g5) edge (p3);
          path (f5) edge (p4);
          path (f5) edge (p5);
          path (e5) edge (p6);
          path (e5) edge (p7);
          path (d5) edge (p8);
          path (c5) edge (p9);
          path (c5) edge (p10);
          path (b5) edge (p11);
          path (a5) edge (p12);
          path (a5) edge (p13);
          endscope

          endtikzpicture
          endcenter

          enddocument





          share|improve this answer






















          • Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
            – Athanasios Margaris
            5 mins ago

















          up vote
          2
          down vote













          Now the arrows are gone. So are all the unrelated packages and libraries. The arrows come from the somewhat self-contradictory lines of the type draw (12,10.2) node [draw=none,fill=none] (p1) ; in connection with -latex in the picture options.



          documentclass[a4paper,twoside,10pt]memoir
          usepackagetikz
          usetikzlibrarypositioning
          usepackagebm

          begindocument

          begincenter
          tikzsetevery loop/.style=min distance=15mm,looseness=10
          begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
          state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
          draw (1,4) node [state][rectangle] (a1) $bmw$;
          draw (3,6) node [state][rectangle] (b2) $bmwx$;
          draw (3,1) node [state][rectangle] (a2) $bmwv$;
          draw (6,8) node [state][rectangle] (c3) $bmwxx$;
          draw (6,5) node [state][rectangle] (b3) $bmwxv$;
          draw (6,1) node [state][rectangle] (a3) $bmwvx$;
          draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
          draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
          draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
          draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
          draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
          draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
          draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
          draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
          draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
          draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
          draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
          draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
          draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
          draw (12,10.2) node [draw=none,fill=none] (p1) ;
          draw (12,9.8) node [draw=none,fill=none] (p2) ;
          draw (12,8) node [draw=none,fill=none] (p3) ;
          draw (12,7.2) node [draw=none,fill=none] (p4) ;
          draw (12,6.8) node [draw=none,fill=none] (p5) ;
          draw (12,5.8) node [draw=none,fill=none] (p6) ;
          draw (12,6.2) node [draw=none,fill=none] (p7) ;
          draw (12,4) node [draw=none,fill=none] (p8) ;
          draw (12,3.2) node [draw=none,fill=none] (p9) ;
          draw (12,2.8) node [draw=none,fill=none] (p10) ;
          draw (12,1) node [draw=none,fill=none] (p11) ;
          draw (12,0.2) node [draw=none,fill=none] (p12) ;
          draw (12,-0.2) node [draw=none,fill=none] (p13) ;
          beginscope[-latex]
          path (a1) edge (a2);
          path (a1) edge (b2);
          path (a2) edge (a3);
          path (b2) edge (c3);
          path (b2) edge (b3);
          path (a3) edge (a4);
          path (a3) edge (b4);
          path (b3) edge (c4);
          path (c3) edge (d4);
          path (c3) edge (e4);
          path (a4) edge (a5);
          path (b4) edge (b5);
          path (b4) edge (c5);
          path (c4) edge (d5);
          path (c4) edge (e5);
          path (d4) edge (f5);
          path (e4) edge (g5);
          path (e4) edge (h5);
          path (h5) edge [dashed] (p1);
          path (h5) edge [dashed] (p2);
          path (g5) edge [dashed] (p3);
          path (f5) edge [dashed] (p4);
          path (f5) edge [dashed] (p5);
          path (e5) edge [dashed] (p6);
          path (e5) edge [dashed] (p7);
          path (d5) edge [dashed] (p8);
          path (c5) edge [dashed] (p9);
          path (c5) edge [dashed] (p10);
          path (b5) edge [dashed] (p11);
          path (a5) edge [dashed] (p12);
          path (a5) edge [dashed] (p13);
          endscope
          endtikzpicture
          endcenter

          enddocument


          enter image description here



          Of course, you may want to apply some immediate simplifications to your code. For instance, none of your nodes is a circle because you override all circles with rectangles. And instead of this lengthy expressions you could just use coordinates.



          documentclass[a4paper,twoside,10pt]memoir
          usepackagetikz
          usetikzlibrarypositioning
          usepackagebm

          begindocument

          begincenter
          begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
          state/.style =draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
          draw (1,4) node [state] (a1) $bmw$;
          draw (3,6) node [state] (b2) $bmwx$;
          draw (3,1) node [state] (a2) $bmwv$;
          draw (6,8) node [state] (c3) $bmwxx$;
          draw (6,5) node [state] (b3) $bmwxv$;
          draw (6,1) node [state] (a3) $bmwvx$;
          draw (8,9) node [state] (e4) $bmwxxx$;
          draw (8,7) node [state] (d4) $bmwxxv$;
          draw (8,5) node [state] (c4) $bmwxvx$;
          draw (8,2) node [state] (b4) $bmwvxx$;
          draw (8,0) node [state] (a4) $bmwvxv$;
          draw (10,0) node [state] (a5) $bmwvxvv$;
          draw (10,1) node [state] (b5) $bmwvxxv$;
          draw (10,3) node [state] (c5) $bmwvxxx$;
          draw (10,4) node [state] (d5) $bmwxvxv$;
          draw (10,6) node [state] (e5) $bmwxvxx$;
          draw (10,7) node [state] (f5) $bmwxxvx$;
          draw (10,8) node [state] (g5) $bmwxxxv$;
          draw (10,10) node [state] (h5) $bmwxxxx$;
          path (12,10.2) coordinate (p1)
          (12,9.8) coordinate (p2)
          (12,8) coordinate (p3)
          (12,7.2) coordinate (p4)
          (12,6.8) coordinate (p5)
          (12,5.8) coordinate (p6)
          (12,6.2) coordinate (p7)
          (12,4) coordinate (p8)
          (12,3.2) coordinate (p9)
          (12,2.8) coordinate (p10)
          (12,1) coordinate (p11)
          (12,0.2) coordinate (p12)
          (12,-0.2) coordinate (p13);
          beginscope[-latex]
          path (a1) edge (a2);
          path (a1) edge (b2);
          path (a2) edge (a3);
          path (b2) edge (c3);
          path (b2) edge (b3);
          path (a3) edge (a4);
          path (a3) edge (b4);
          path (b3) edge (c4);
          path (c3) edge (d4);
          path (c3) edge (e4);
          path (a4) edge (a5);
          path (b4) edge (b5);
          path (b4) edge (c5);
          path (c4) edge (d5);
          path (c4) edge (e5);
          path (d4) edge (f5);
          path (e4) edge (g5);
          path (e4) edge (h5);
          path (h5) edge [dashed] (p1);
          path (h5) edge [dashed] (p2);
          path (g5) edge [dashed] (p3);
          path (f5) edge [dashed] (p4);
          path (f5) edge [dashed] (p5);
          path (e5) edge [dashed] (p6);
          path (e5) edge [dashed] (p7);
          path (d5) edge [dashed] (p8);
          path (c5) edge [dashed] (p9);
          path (c5) edge [dashed] (p10);
          path (b5) edge [dashed] (p11);
          path (a5) edge [dashed] (p12);
          path (a5) edge [dashed] (p13);
          endscope
          endtikzpicture
          endcenter
          enddocument


          On the long run, however, you may not want to use all the explicit coordinates, but really work with positioning, but I leave that for another day.






          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "85"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458384%2fstrange-uparrow-heads-at-the-right%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            In addition to the response from @marmot, I would like to point out that the problem comes from the fact that you use the draw operation to place nodes instead of the node operation.



            I rewrote your code using only the operation node and placed nodes with the same options in a scope environment to lighten the code.



            beginscope[every node/.style=state,rectangle]


            I did the same with the edges:



            beginscope[every edge/.style=draw,dashed]


            I have also deleted the packages that are not related to this MWE.



            graphe



            documentclass[a4paper,twoside,10pt]memoir
            usepackage tikz
            usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
            usepackagebm

            begindocument
            begincenter
            tikzsetevery loop/.style=min distance=15mm,looseness=10
            begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            beginscope[every node/.style=state,rectangle]
            node (a1) at (1,4) $bmw$;
            node (b2) at (3,6) $bmwx$;
            node (a2) at (3,1) $bmwv$;
            node (c3) at (6,8) $bmwxx$;
            node (b3) at (6,5) $bmwxv$;
            node (a3) at (6,1) $bmwvx$;
            node (e4) at (8,9) $bmwxxx$;
            node (d4) at (8,7) $bmwxxv$;
            node (c4) at (8,5) $bmwxvx$;
            node (b4) at (8,2) $bmwvxx$;
            node (a4) at (8,0) $bmwvxv$;
            node (a5) at (10,0) $bmwvxvv$;
            node (b5) at (10,1) $bmwvxxv$;
            node (c5) at (10,3) $bmwvxxx$;
            node (d5) at (10,4) $bmwxvxv$;
            node (e5) at (10,6) $bmwxvxx$;
            node (f5) at (10,7) $bmwxxvx$;
            node (g5) at (10,8) $bmwxxxv$;
            node (h5) at (10,10) $bmwxxxx$;
            endscope

            node (p1) at (12,10.2);
            node (p2) at (12,9.8);
            node (p3) at(12,8);
            node (p4) at (12,7.2);
            node (p5) at (12,6.8);
            node (p6) at (12,5.8);
            node (p7) at (12,6.2);
            node (p8) at (12,4);
            node (p9) at (12,3.2);
            node (p10) at (12,2.8);
            node (p11) at (12,1);
            node (p12) at (12,0.2);
            node (p13)at (12,-0.2);

            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);

            beginscope[every edge/.style=draw,dashed]
            path (h5) edge (p1);
            path (h5) edge (p2);
            path (g5) edge (p3);
            path (f5) edge (p4);
            path (f5) edge (p5);
            path (e5) edge (p6);
            path (e5) edge (p7);
            path (d5) edge (p8);
            path (c5) edge (p9);
            path (c5) edge (p10);
            path (b5) edge (p11);
            path (a5) edge (p12);
            path (a5) edge (p13);
            endscope

            endtikzpicture
            endcenter

            enddocument





            share|improve this answer






















            • Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
              – Athanasios Margaris
              5 mins ago














            up vote
            1
            down vote



            accepted










            In addition to the response from @marmot, I would like to point out that the problem comes from the fact that you use the draw operation to place nodes instead of the node operation.



            I rewrote your code using only the operation node and placed nodes with the same options in a scope environment to lighten the code.



            beginscope[every node/.style=state,rectangle]


            I did the same with the edges:



            beginscope[every edge/.style=draw,dashed]


            I have also deleted the packages that are not related to this MWE.



            graphe



            documentclass[a4paper,twoside,10pt]memoir
            usepackage tikz
            usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
            usepackagebm

            begindocument
            begincenter
            tikzsetevery loop/.style=min distance=15mm,looseness=10
            begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            beginscope[every node/.style=state,rectangle]
            node (a1) at (1,4) $bmw$;
            node (b2) at (3,6) $bmwx$;
            node (a2) at (3,1) $bmwv$;
            node (c3) at (6,8) $bmwxx$;
            node (b3) at (6,5) $bmwxv$;
            node (a3) at (6,1) $bmwvx$;
            node (e4) at (8,9) $bmwxxx$;
            node (d4) at (8,7) $bmwxxv$;
            node (c4) at (8,5) $bmwxvx$;
            node (b4) at (8,2) $bmwvxx$;
            node (a4) at (8,0) $bmwvxv$;
            node (a5) at (10,0) $bmwvxvv$;
            node (b5) at (10,1) $bmwvxxv$;
            node (c5) at (10,3) $bmwvxxx$;
            node (d5) at (10,4) $bmwxvxv$;
            node (e5) at (10,6) $bmwxvxx$;
            node (f5) at (10,7) $bmwxxvx$;
            node (g5) at (10,8) $bmwxxxv$;
            node (h5) at (10,10) $bmwxxxx$;
            endscope

            node (p1) at (12,10.2);
            node (p2) at (12,9.8);
            node (p3) at(12,8);
            node (p4) at (12,7.2);
            node (p5) at (12,6.8);
            node (p6) at (12,5.8);
            node (p7) at (12,6.2);
            node (p8) at (12,4);
            node (p9) at (12,3.2);
            node (p10) at (12,2.8);
            node (p11) at (12,1);
            node (p12) at (12,0.2);
            node (p13)at (12,-0.2);

            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);

            beginscope[every edge/.style=draw,dashed]
            path (h5) edge (p1);
            path (h5) edge (p2);
            path (g5) edge (p3);
            path (f5) edge (p4);
            path (f5) edge (p5);
            path (e5) edge (p6);
            path (e5) edge (p7);
            path (d5) edge (p8);
            path (c5) edge (p9);
            path (c5) edge (p10);
            path (b5) edge (p11);
            path (a5) edge (p12);
            path (a5) edge (p13);
            endscope

            endtikzpicture
            endcenter

            enddocument





            share|improve this answer






















            • Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
              – Athanasios Margaris
              5 mins ago












            up vote
            1
            down vote



            accepted







            up vote
            1
            down vote



            accepted






            In addition to the response from @marmot, I would like to point out that the problem comes from the fact that you use the draw operation to place nodes instead of the node operation.



            I rewrote your code using only the operation node and placed nodes with the same options in a scope environment to lighten the code.



            beginscope[every node/.style=state,rectangle]


            I did the same with the edges:



            beginscope[every edge/.style=draw,dashed]


            I have also deleted the packages that are not related to this MWE.



            graphe



            documentclass[a4paper,twoside,10pt]memoir
            usepackage tikz
            usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
            usepackagebm

            begindocument
            begincenter
            tikzsetevery loop/.style=min distance=15mm,looseness=10
            begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            beginscope[every node/.style=state,rectangle]
            node (a1) at (1,4) $bmw$;
            node (b2) at (3,6) $bmwx$;
            node (a2) at (3,1) $bmwv$;
            node (c3) at (6,8) $bmwxx$;
            node (b3) at (6,5) $bmwxv$;
            node (a3) at (6,1) $bmwvx$;
            node (e4) at (8,9) $bmwxxx$;
            node (d4) at (8,7) $bmwxxv$;
            node (c4) at (8,5) $bmwxvx$;
            node (b4) at (8,2) $bmwvxx$;
            node (a4) at (8,0) $bmwvxv$;
            node (a5) at (10,0) $bmwvxvv$;
            node (b5) at (10,1) $bmwvxxv$;
            node (c5) at (10,3) $bmwvxxx$;
            node (d5) at (10,4) $bmwxvxv$;
            node (e5) at (10,6) $bmwxvxx$;
            node (f5) at (10,7) $bmwxxvx$;
            node (g5) at (10,8) $bmwxxxv$;
            node (h5) at (10,10) $bmwxxxx$;
            endscope

            node (p1) at (12,10.2);
            node (p2) at (12,9.8);
            node (p3) at(12,8);
            node (p4) at (12,7.2);
            node (p5) at (12,6.8);
            node (p6) at (12,5.8);
            node (p7) at (12,6.2);
            node (p8) at (12,4);
            node (p9) at (12,3.2);
            node (p10) at (12,2.8);
            node (p11) at (12,1);
            node (p12) at (12,0.2);
            node (p13)at (12,-0.2);

            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);

            beginscope[every edge/.style=draw,dashed]
            path (h5) edge (p1);
            path (h5) edge (p2);
            path (g5) edge (p3);
            path (f5) edge (p4);
            path (f5) edge (p5);
            path (e5) edge (p6);
            path (e5) edge (p7);
            path (d5) edge (p8);
            path (c5) edge (p9);
            path (c5) edge (p10);
            path (b5) edge (p11);
            path (a5) edge (p12);
            path (a5) edge (p13);
            endscope

            endtikzpicture
            endcenter

            enddocument





            share|improve this answer














            In addition to the response from @marmot, I would like to point out that the problem comes from the fact that you use the draw operation to place nodes instead of the node operation.



            I rewrote your code using only the operation node and placed nodes with the same options in a scope environment to lighten the code.



            beginscope[every node/.style=state,rectangle]


            I did the same with the edges:



            beginscope[every edge/.style=draw,dashed]


            I have also deleted the packages that are not related to this MWE.



            graphe



            documentclass[a4paper,twoside,10pt]memoir
            usepackage tikz
            usetikzlibrary positioning,graphs,calc,decorations.pathmorphing,shapes,arrows.meta,arrows,bending,decorations.markings
            usepackagebm

            begindocument
            begincenter
            tikzsetevery loop/.style=min distance=15mm,looseness=10
            begintikzpicture[-latex ,auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            beginscope[every node/.style=state,rectangle]
            node (a1) at (1,4) $bmw$;
            node (b2) at (3,6) $bmwx$;
            node (a2) at (3,1) $bmwv$;
            node (c3) at (6,8) $bmwxx$;
            node (b3) at (6,5) $bmwxv$;
            node (a3) at (6,1) $bmwvx$;
            node (e4) at (8,9) $bmwxxx$;
            node (d4) at (8,7) $bmwxxv$;
            node (c4) at (8,5) $bmwxvx$;
            node (b4) at (8,2) $bmwvxx$;
            node (a4) at (8,0) $bmwvxv$;
            node (a5) at (10,0) $bmwvxvv$;
            node (b5) at (10,1) $bmwvxxv$;
            node (c5) at (10,3) $bmwvxxx$;
            node (d5) at (10,4) $bmwxvxv$;
            node (e5) at (10,6) $bmwxvxx$;
            node (f5) at (10,7) $bmwxxvx$;
            node (g5) at (10,8) $bmwxxxv$;
            node (h5) at (10,10) $bmwxxxx$;
            endscope

            node (p1) at (12,10.2);
            node (p2) at (12,9.8);
            node (p3) at(12,8);
            node (p4) at (12,7.2);
            node (p5) at (12,6.8);
            node (p6) at (12,5.8);
            node (p7) at (12,6.2);
            node (p8) at (12,4);
            node (p9) at (12,3.2);
            node (p10) at (12,2.8);
            node (p11) at (12,1);
            node (p12) at (12,0.2);
            node (p13)at (12,-0.2);

            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);

            beginscope[every edge/.style=draw,dashed]
            path (h5) edge (p1);
            path (h5) edge (p2);
            path (g5) edge (p3);
            path (f5) edge (p4);
            path (f5) edge (p5);
            path (e5) edge (p6);
            path (e5) edge (p7);
            path (d5) edge (p8);
            path (c5) edge (p9);
            path (c5) edge (p10);
            path (b5) edge (p11);
            path (a5) edge (p12);
            path (a5) edge (p13);
            endscope

            endtikzpicture
            endcenter

            enddocument






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 14 mins ago

























            answered 29 mins ago









            AndréC

            5,1971937




            5,1971937











            • Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
              – Athanasios Margaris
              5 mins ago
















            • Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
              – Athanasios Margaris
              5 mins ago















            Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
            – Athanasios Margaris
            5 mins ago




            Thanks a lot both of you, I am a Tikz beginner and at the moment i try just to draw my figures correctly
            – Athanasios Margaris
            5 mins ago










            up vote
            2
            down vote













            Now the arrows are gone. So are all the unrelated packages and libraries. The arrows come from the somewhat self-contradictory lines of the type draw (12,10.2) node [draw=none,fill=none] (p1) ; in connection with -latex in the picture options.



            documentclass[a4paper,twoside,10pt]memoir
            usepackagetikz
            usetikzlibrarypositioning
            usepackagebm

            begindocument

            begincenter
            tikzsetevery loop/.style=min distance=15mm,looseness=10
            begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            draw (1,4) node [state][rectangle] (a1) $bmw$;
            draw (3,6) node [state][rectangle] (b2) $bmwx$;
            draw (3,1) node [state][rectangle] (a2) $bmwv$;
            draw (6,8) node [state][rectangle] (c3) $bmwxx$;
            draw (6,5) node [state][rectangle] (b3) $bmwxv$;
            draw (6,1) node [state][rectangle] (a3) $bmwvx$;
            draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
            draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
            draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
            draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
            draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
            draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
            draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
            draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
            draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
            draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
            draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
            draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
            draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
            draw (12,10.2) node [draw=none,fill=none] (p1) ;
            draw (12,9.8) node [draw=none,fill=none] (p2) ;
            draw (12,8) node [draw=none,fill=none] (p3) ;
            draw (12,7.2) node [draw=none,fill=none] (p4) ;
            draw (12,6.8) node [draw=none,fill=none] (p5) ;
            draw (12,5.8) node [draw=none,fill=none] (p6) ;
            draw (12,6.2) node [draw=none,fill=none] (p7) ;
            draw (12,4) node [draw=none,fill=none] (p8) ;
            draw (12,3.2) node [draw=none,fill=none] (p9) ;
            draw (12,2.8) node [draw=none,fill=none] (p10) ;
            draw (12,1) node [draw=none,fill=none] (p11) ;
            draw (12,0.2) node [draw=none,fill=none] (p12) ;
            draw (12,-0.2) node [draw=none,fill=none] (p13) ;
            beginscope[-latex]
            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);
            path (h5) edge [dashed] (p1);
            path (h5) edge [dashed] (p2);
            path (g5) edge [dashed] (p3);
            path (f5) edge [dashed] (p4);
            path (f5) edge [dashed] (p5);
            path (e5) edge [dashed] (p6);
            path (e5) edge [dashed] (p7);
            path (d5) edge [dashed] (p8);
            path (c5) edge [dashed] (p9);
            path (c5) edge [dashed] (p10);
            path (b5) edge [dashed] (p11);
            path (a5) edge [dashed] (p12);
            path (a5) edge [dashed] (p13);
            endscope
            endtikzpicture
            endcenter

            enddocument


            enter image description here



            Of course, you may want to apply some immediate simplifications to your code. For instance, none of your nodes is a circle because you override all circles with rectangles. And instead of this lengthy expressions you could just use coordinates.



            documentclass[a4paper,twoside,10pt]memoir
            usepackagetikz
            usetikzlibrarypositioning
            usepackagebm

            begindocument

            begincenter
            begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
            state/.style =draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
            draw (1,4) node [state] (a1) $bmw$;
            draw (3,6) node [state] (b2) $bmwx$;
            draw (3,1) node [state] (a2) $bmwv$;
            draw (6,8) node [state] (c3) $bmwxx$;
            draw (6,5) node [state] (b3) $bmwxv$;
            draw (6,1) node [state] (a3) $bmwvx$;
            draw (8,9) node [state] (e4) $bmwxxx$;
            draw (8,7) node [state] (d4) $bmwxxv$;
            draw (8,5) node [state] (c4) $bmwxvx$;
            draw (8,2) node [state] (b4) $bmwvxx$;
            draw (8,0) node [state] (a4) $bmwvxv$;
            draw (10,0) node [state] (a5) $bmwvxvv$;
            draw (10,1) node [state] (b5) $bmwvxxv$;
            draw (10,3) node [state] (c5) $bmwvxxx$;
            draw (10,4) node [state] (d5) $bmwxvxv$;
            draw (10,6) node [state] (e5) $bmwxvxx$;
            draw (10,7) node [state] (f5) $bmwxxvx$;
            draw (10,8) node [state] (g5) $bmwxxxv$;
            draw (10,10) node [state] (h5) $bmwxxxx$;
            path (12,10.2) coordinate (p1)
            (12,9.8) coordinate (p2)
            (12,8) coordinate (p3)
            (12,7.2) coordinate (p4)
            (12,6.8) coordinate (p5)
            (12,5.8) coordinate (p6)
            (12,6.2) coordinate (p7)
            (12,4) coordinate (p8)
            (12,3.2) coordinate (p9)
            (12,2.8) coordinate (p10)
            (12,1) coordinate (p11)
            (12,0.2) coordinate (p12)
            (12,-0.2) coordinate (p13);
            beginscope[-latex]
            path (a1) edge (a2);
            path (a1) edge (b2);
            path (a2) edge (a3);
            path (b2) edge (c3);
            path (b2) edge (b3);
            path (a3) edge (a4);
            path (a3) edge (b4);
            path (b3) edge (c4);
            path (c3) edge (d4);
            path (c3) edge (e4);
            path (a4) edge (a5);
            path (b4) edge (b5);
            path (b4) edge (c5);
            path (c4) edge (d5);
            path (c4) edge (e5);
            path (d4) edge (f5);
            path (e4) edge (g5);
            path (e4) edge (h5);
            path (h5) edge [dashed] (p1);
            path (h5) edge [dashed] (p2);
            path (g5) edge [dashed] (p3);
            path (f5) edge [dashed] (p4);
            path (f5) edge [dashed] (p5);
            path (e5) edge [dashed] (p6);
            path (e5) edge [dashed] (p7);
            path (d5) edge [dashed] (p8);
            path (c5) edge [dashed] (p9);
            path (c5) edge [dashed] (p10);
            path (b5) edge [dashed] (p11);
            path (a5) edge [dashed] (p12);
            path (a5) edge [dashed] (p13);
            endscope
            endtikzpicture
            endcenter
            enddocument


            On the long run, however, you may not want to use all the explicit coordinates, but really work with positioning, but I leave that for another day.






            share|improve this answer


























              up vote
              2
              down vote













              Now the arrows are gone. So are all the unrelated packages and libraries. The arrows come from the somewhat self-contradictory lines of the type draw (12,10.2) node [draw=none,fill=none] (p1) ; in connection with -latex in the picture options.



              documentclass[a4paper,twoside,10pt]memoir
              usepackagetikz
              usetikzlibrarypositioning
              usepackagebm

              begindocument

              begincenter
              tikzsetevery loop/.style=min distance=15mm,looseness=10
              begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
              state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
              draw (1,4) node [state][rectangle] (a1) $bmw$;
              draw (3,6) node [state][rectangle] (b2) $bmwx$;
              draw (3,1) node [state][rectangle] (a2) $bmwv$;
              draw (6,8) node [state][rectangle] (c3) $bmwxx$;
              draw (6,5) node [state][rectangle] (b3) $bmwxv$;
              draw (6,1) node [state][rectangle] (a3) $bmwvx$;
              draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
              draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
              draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
              draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
              draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
              draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
              draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
              draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
              draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
              draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
              draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
              draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
              draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
              draw (12,10.2) node [draw=none,fill=none] (p1) ;
              draw (12,9.8) node [draw=none,fill=none] (p2) ;
              draw (12,8) node [draw=none,fill=none] (p3) ;
              draw (12,7.2) node [draw=none,fill=none] (p4) ;
              draw (12,6.8) node [draw=none,fill=none] (p5) ;
              draw (12,5.8) node [draw=none,fill=none] (p6) ;
              draw (12,6.2) node [draw=none,fill=none] (p7) ;
              draw (12,4) node [draw=none,fill=none] (p8) ;
              draw (12,3.2) node [draw=none,fill=none] (p9) ;
              draw (12,2.8) node [draw=none,fill=none] (p10) ;
              draw (12,1) node [draw=none,fill=none] (p11) ;
              draw (12,0.2) node [draw=none,fill=none] (p12) ;
              draw (12,-0.2) node [draw=none,fill=none] (p13) ;
              beginscope[-latex]
              path (a1) edge (a2);
              path (a1) edge (b2);
              path (a2) edge (a3);
              path (b2) edge (c3);
              path (b2) edge (b3);
              path (a3) edge (a4);
              path (a3) edge (b4);
              path (b3) edge (c4);
              path (c3) edge (d4);
              path (c3) edge (e4);
              path (a4) edge (a5);
              path (b4) edge (b5);
              path (b4) edge (c5);
              path (c4) edge (d5);
              path (c4) edge (e5);
              path (d4) edge (f5);
              path (e4) edge (g5);
              path (e4) edge (h5);
              path (h5) edge [dashed] (p1);
              path (h5) edge [dashed] (p2);
              path (g5) edge [dashed] (p3);
              path (f5) edge [dashed] (p4);
              path (f5) edge [dashed] (p5);
              path (e5) edge [dashed] (p6);
              path (e5) edge [dashed] (p7);
              path (d5) edge [dashed] (p8);
              path (c5) edge [dashed] (p9);
              path (c5) edge [dashed] (p10);
              path (b5) edge [dashed] (p11);
              path (a5) edge [dashed] (p12);
              path (a5) edge [dashed] (p13);
              endscope
              endtikzpicture
              endcenter

              enddocument


              enter image description here



              Of course, you may want to apply some immediate simplifications to your code. For instance, none of your nodes is a circle because you override all circles with rectangles. And instead of this lengthy expressions you could just use coordinates.



              documentclass[a4paper,twoside,10pt]memoir
              usepackagetikz
              usetikzlibrarypositioning
              usepackagebm

              begindocument

              begincenter
              begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
              state/.style =draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
              draw (1,4) node [state] (a1) $bmw$;
              draw (3,6) node [state] (b2) $bmwx$;
              draw (3,1) node [state] (a2) $bmwv$;
              draw (6,8) node [state] (c3) $bmwxx$;
              draw (6,5) node [state] (b3) $bmwxv$;
              draw (6,1) node [state] (a3) $bmwvx$;
              draw (8,9) node [state] (e4) $bmwxxx$;
              draw (8,7) node [state] (d4) $bmwxxv$;
              draw (8,5) node [state] (c4) $bmwxvx$;
              draw (8,2) node [state] (b4) $bmwvxx$;
              draw (8,0) node [state] (a4) $bmwvxv$;
              draw (10,0) node [state] (a5) $bmwvxvv$;
              draw (10,1) node [state] (b5) $bmwvxxv$;
              draw (10,3) node [state] (c5) $bmwvxxx$;
              draw (10,4) node [state] (d5) $bmwxvxv$;
              draw (10,6) node [state] (e5) $bmwxvxx$;
              draw (10,7) node [state] (f5) $bmwxxvx$;
              draw (10,8) node [state] (g5) $bmwxxxv$;
              draw (10,10) node [state] (h5) $bmwxxxx$;
              path (12,10.2) coordinate (p1)
              (12,9.8) coordinate (p2)
              (12,8) coordinate (p3)
              (12,7.2) coordinate (p4)
              (12,6.8) coordinate (p5)
              (12,5.8) coordinate (p6)
              (12,6.2) coordinate (p7)
              (12,4) coordinate (p8)
              (12,3.2) coordinate (p9)
              (12,2.8) coordinate (p10)
              (12,1) coordinate (p11)
              (12,0.2) coordinate (p12)
              (12,-0.2) coordinate (p13);
              beginscope[-latex]
              path (a1) edge (a2);
              path (a1) edge (b2);
              path (a2) edge (a3);
              path (b2) edge (c3);
              path (b2) edge (b3);
              path (a3) edge (a4);
              path (a3) edge (b4);
              path (b3) edge (c4);
              path (c3) edge (d4);
              path (c3) edge (e4);
              path (a4) edge (a5);
              path (b4) edge (b5);
              path (b4) edge (c5);
              path (c4) edge (d5);
              path (c4) edge (e5);
              path (d4) edge (f5);
              path (e4) edge (g5);
              path (e4) edge (h5);
              path (h5) edge [dashed] (p1);
              path (h5) edge [dashed] (p2);
              path (g5) edge [dashed] (p3);
              path (f5) edge [dashed] (p4);
              path (f5) edge [dashed] (p5);
              path (e5) edge [dashed] (p6);
              path (e5) edge [dashed] (p7);
              path (d5) edge [dashed] (p8);
              path (c5) edge [dashed] (p9);
              path (c5) edge [dashed] (p10);
              path (b5) edge [dashed] (p11);
              path (a5) edge [dashed] (p12);
              path (a5) edge [dashed] (p13);
              endscope
              endtikzpicture
              endcenter
              enddocument


              On the long run, however, you may not want to use all the explicit coordinates, but really work with positioning, but I leave that for another day.






              share|improve this answer
























                up vote
                2
                down vote










                up vote
                2
                down vote









                Now the arrows are gone. So are all the unrelated packages and libraries. The arrows come from the somewhat self-contradictory lines of the type draw (12,10.2) node [draw=none,fill=none] (p1) ; in connection with -latex in the picture options.



                documentclass[a4paper,twoside,10pt]memoir
                usepackagetikz
                usetikzlibrarypositioning
                usepackagebm

                begindocument

                begincenter
                tikzsetevery loop/.style=min distance=15mm,looseness=10
                begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
                state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
                draw (1,4) node [state][rectangle] (a1) $bmw$;
                draw (3,6) node [state][rectangle] (b2) $bmwx$;
                draw (3,1) node [state][rectangle] (a2) $bmwv$;
                draw (6,8) node [state][rectangle] (c3) $bmwxx$;
                draw (6,5) node [state][rectangle] (b3) $bmwxv$;
                draw (6,1) node [state][rectangle] (a3) $bmwvx$;
                draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
                draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
                draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
                draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
                draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
                draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
                draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
                draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
                draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
                draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
                draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
                draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
                draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
                draw (12,10.2) node [draw=none,fill=none] (p1) ;
                draw (12,9.8) node [draw=none,fill=none] (p2) ;
                draw (12,8) node [draw=none,fill=none] (p3) ;
                draw (12,7.2) node [draw=none,fill=none] (p4) ;
                draw (12,6.8) node [draw=none,fill=none] (p5) ;
                draw (12,5.8) node [draw=none,fill=none] (p6) ;
                draw (12,6.2) node [draw=none,fill=none] (p7) ;
                draw (12,4) node [draw=none,fill=none] (p8) ;
                draw (12,3.2) node [draw=none,fill=none] (p9) ;
                draw (12,2.8) node [draw=none,fill=none] (p10) ;
                draw (12,1) node [draw=none,fill=none] (p11) ;
                draw (12,0.2) node [draw=none,fill=none] (p12) ;
                draw (12,-0.2) node [draw=none,fill=none] (p13) ;
                beginscope[-latex]
                path (a1) edge (a2);
                path (a1) edge (b2);
                path (a2) edge (a3);
                path (b2) edge (c3);
                path (b2) edge (b3);
                path (a3) edge (a4);
                path (a3) edge (b4);
                path (b3) edge (c4);
                path (c3) edge (d4);
                path (c3) edge (e4);
                path (a4) edge (a5);
                path (b4) edge (b5);
                path (b4) edge (c5);
                path (c4) edge (d5);
                path (c4) edge (e5);
                path (d4) edge (f5);
                path (e4) edge (g5);
                path (e4) edge (h5);
                path (h5) edge [dashed] (p1);
                path (h5) edge [dashed] (p2);
                path (g5) edge [dashed] (p3);
                path (f5) edge [dashed] (p4);
                path (f5) edge [dashed] (p5);
                path (e5) edge [dashed] (p6);
                path (e5) edge [dashed] (p7);
                path (d5) edge [dashed] (p8);
                path (c5) edge [dashed] (p9);
                path (c5) edge [dashed] (p10);
                path (b5) edge [dashed] (p11);
                path (a5) edge [dashed] (p12);
                path (a5) edge [dashed] (p13);
                endscope
                endtikzpicture
                endcenter

                enddocument


                enter image description here



                Of course, you may want to apply some immediate simplifications to your code. For instance, none of your nodes is a circle because you override all circles with rectangles. And instead of this lengthy expressions you could just use coordinates.



                documentclass[a4paper,twoside,10pt]memoir
                usepackagetikz
                usetikzlibrarypositioning
                usepackagebm

                begindocument

                begincenter
                begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
                state/.style =draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
                draw (1,4) node [state] (a1) $bmw$;
                draw (3,6) node [state] (b2) $bmwx$;
                draw (3,1) node [state] (a2) $bmwv$;
                draw (6,8) node [state] (c3) $bmwxx$;
                draw (6,5) node [state] (b3) $bmwxv$;
                draw (6,1) node [state] (a3) $bmwvx$;
                draw (8,9) node [state] (e4) $bmwxxx$;
                draw (8,7) node [state] (d4) $bmwxxv$;
                draw (8,5) node [state] (c4) $bmwxvx$;
                draw (8,2) node [state] (b4) $bmwvxx$;
                draw (8,0) node [state] (a4) $bmwvxv$;
                draw (10,0) node [state] (a5) $bmwvxvv$;
                draw (10,1) node [state] (b5) $bmwvxxv$;
                draw (10,3) node [state] (c5) $bmwvxxx$;
                draw (10,4) node [state] (d5) $bmwxvxv$;
                draw (10,6) node [state] (e5) $bmwxvxx$;
                draw (10,7) node [state] (f5) $bmwxxvx$;
                draw (10,8) node [state] (g5) $bmwxxxv$;
                draw (10,10) node [state] (h5) $bmwxxxx$;
                path (12,10.2) coordinate (p1)
                (12,9.8) coordinate (p2)
                (12,8) coordinate (p3)
                (12,7.2) coordinate (p4)
                (12,6.8) coordinate (p5)
                (12,5.8) coordinate (p6)
                (12,6.2) coordinate (p7)
                (12,4) coordinate (p8)
                (12,3.2) coordinate (p9)
                (12,2.8) coordinate (p10)
                (12,1) coordinate (p11)
                (12,0.2) coordinate (p12)
                (12,-0.2) coordinate (p13);
                beginscope[-latex]
                path (a1) edge (a2);
                path (a1) edge (b2);
                path (a2) edge (a3);
                path (b2) edge (c3);
                path (b2) edge (b3);
                path (a3) edge (a4);
                path (a3) edge (b4);
                path (b3) edge (c4);
                path (c3) edge (d4);
                path (c3) edge (e4);
                path (a4) edge (a5);
                path (b4) edge (b5);
                path (b4) edge (c5);
                path (c4) edge (d5);
                path (c4) edge (e5);
                path (d4) edge (f5);
                path (e4) edge (g5);
                path (e4) edge (h5);
                path (h5) edge [dashed] (p1);
                path (h5) edge [dashed] (p2);
                path (g5) edge [dashed] (p3);
                path (f5) edge [dashed] (p4);
                path (f5) edge [dashed] (p5);
                path (e5) edge [dashed] (p6);
                path (e5) edge [dashed] (p7);
                path (d5) edge [dashed] (p8);
                path (c5) edge [dashed] (p9);
                path (c5) edge [dashed] (p10);
                path (b5) edge [dashed] (p11);
                path (a5) edge [dashed] (p12);
                path (a5) edge [dashed] (p13);
                endscope
                endtikzpicture
                endcenter
                enddocument


                On the long run, however, you may not want to use all the explicit coordinates, but really work with positioning, but I leave that for another day.






                share|improve this answer














                Now the arrows are gone. So are all the unrelated packages and libraries. The arrows come from the somewhat self-contradictory lines of the type draw (12,10.2) node [draw=none,fill=none] (p1) ; in connection with -latex in the picture options.



                documentclass[a4paper,twoside,10pt]memoir
                usepackagetikz
                usetikzlibrarypositioning
                usepackagebm

                begindocument

                begincenter
                tikzsetevery loop/.style=min distance=15mm,looseness=10
                begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
                state/.style =circle, draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
                draw (1,4) node [state][rectangle] (a1) $bmw$;
                draw (3,6) node [state][rectangle] (b2) $bmwx$;
                draw (3,1) node [state][rectangle] (a2) $bmwv$;
                draw (6,8) node [state][rectangle] (c3) $bmwxx$;
                draw (6,5) node [state][rectangle] (b3) $bmwxv$;
                draw (6,1) node [state][rectangle] (a3) $bmwvx$;
                draw (8,9) node [state][rectangle] (e4) $bmwxxx$;
                draw (8,7) node [state][rectangle] (d4) $bmwxxv$;
                draw (8,5) node [state][rectangle] (c4) $bmwxvx$;
                draw (8,2) node [state][rectangle] (b4) $bmwvxx$;
                draw (8,0) node [state][rectangle] (a4) $bmwvxv$;
                draw (10,0) node [state][rectangle] (a5) $bmwvxvv$;
                draw (10,1) node [state][rectangle] (b5) $bmwvxxv$;
                draw (10,3) node [state][rectangle] (c5) $bmwvxxx$;
                draw (10,4) node [state][rectangle] (d5) $bmwxvxv$;
                draw (10,6) node [state][rectangle] (e5) $bmwxvxx$;
                draw (10,7) node [state][rectangle] (f5) $bmwxxvx$;
                draw (10,8) node [state][rectangle] (g5) $bmwxxxv$;
                draw (10,10) node [state][rectangle] (h5) $bmwxxxx$;
                draw (12,10.2) node [draw=none,fill=none] (p1) ;
                draw (12,9.8) node [draw=none,fill=none] (p2) ;
                draw (12,8) node [draw=none,fill=none] (p3) ;
                draw (12,7.2) node [draw=none,fill=none] (p4) ;
                draw (12,6.8) node [draw=none,fill=none] (p5) ;
                draw (12,5.8) node [draw=none,fill=none] (p6) ;
                draw (12,6.2) node [draw=none,fill=none] (p7) ;
                draw (12,4) node [draw=none,fill=none] (p8) ;
                draw (12,3.2) node [draw=none,fill=none] (p9) ;
                draw (12,2.8) node [draw=none,fill=none] (p10) ;
                draw (12,1) node [draw=none,fill=none] (p11) ;
                draw (12,0.2) node [draw=none,fill=none] (p12) ;
                draw (12,-0.2) node [draw=none,fill=none] (p13) ;
                beginscope[-latex]
                path (a1) edge (a2);
                path (a1) edge (b2);
                path (a2) edge (a3);
                path (b2) edge (c3);
                path (b2) edge (b3);
                path (a3) edge (a4);
                path (a3) edge (b4);
                path (b3) edge (c4);
                path (c3) edge (d4);
                path (c3) edge (e4);
                path (a4) edge (a5);
                path (b4) edge (b5);
                path (b4) edge (c5);
                path (c4) edge (d5);
                path (c4) edge (e5);
                path (d4) edge (f5);
                path (e4) edge (g5);
                path (e4) edge (h5);
                path (h5) edge [dashed] (p1);
                path (h5) edge [dashed] (p2);
                path (g5) edge [dashed] (p3);
                path (f5) edge [dashed] (p4);
                path (f5) edge [dashed] (p5);
                path (e5) edge [dashed] (p6);
                path (e5) edge [dashed] (p7);
                path (d5) edge [dashed] (p8);
                path (c5) edge [dashed] (p9);
                path (c5) edge [dashed] (p10);
                path (b5) edge [dashed] (p11);
                path (a5) edge [dashed] (p12);
                path (a5) edge [dashed] (p13);
                endscope
                endtikzpicture
                endcenter

                enddocument


                enter image description here



                Of course, you may want to apply some immediate simplifications to your code. For instance, none of your nodes is a circle because you override all circles with rectangles. And instead of this lengthy expressions you could just use coordinates.



                documentclass[a4paper,twoside,10pt]memoir
                usepackagetikz
                usetikzlibrarypositioning
                usepackagebm

                begindocument

                begincenter
                begintikzpicture[auto ,node distance =1cm and 1cm, on grid,semithick ,
                state/.style =draw, color=black , fill=cyan!20, text=black , minimum width =0.2 cm]
                draw (1,4) node [state] (a1) $bmw$;
                draw (3,6) node [state] (b2) $bmwx$;
                draw (3,1) node [state] (a2) $bmwv$;
                draw (6,8) node [state] (c3) $bmwxx$;
                draw (6,5) node [state] (b3) $bmwxv$;
                draw (6,1) node [state] (a3) $bmwvx$;
                draw (8,9) node [state] (e4) $bmwxxx$;
                draw (8,7) node [state] (d4) $bmwxxv$;
                draw (8,5) node [state] (c4) $bmwxvx$;
                draw (8,2) node [state] (b4) $bmwvxx$;
                draw (8,0) node [state] (a4) $bmwvxv$;
                draw (10,0) node [state] (a5) $bmwvxvv$;
                draw (10,1) node [state] (b5) $bmwvxxv$;
                draw (10,3) node [state] (c5) $bmwvxxx$;
                draw (10,4) node [state] (d5) $bmwxvxv$;
                draw (10,6) node [state] (e5) $bmwxvxx$;
                draw (10,7) node [state] (f5) $bmwxxvx$;
                draw (10,8) node [state] (g5) $bmwxxxv$;
                draw (10,10) node [state] (h5) $bmwxxxx$;
                path (12,10.2) coordinate (p1)
                (12,9.8) coordinate (p2)
                (12,8) coordinate (p3)
                (12,7.2) coordinate (p4)
                (12,6.8) coordinate (p5)
                (12,5.8) coordinate (p6)
                (12,6.2) coordinate (p7)
                (12,4) coordinate (p8)
                (12,3.2) coordinate (p9)
                (12,2.8) coordinate (p10)
                (12,1) coordinate (p11)
                (12,0.2) coordinate (p12)
                (12,-0.2) coordinate (p13);
                beginscope[-latex]
                path (a1) edge (a2);
                path (a1) edge (b2);
                path (a2) edge (a3);
                path (b2) edge (c3);
                path (b2) edge (b3);
                path (a3) edge (a4);
                path (a3) edge (b4);
                path (b3) edge (c4);
                path (c3) edge (d4);
                path (c3) edge (e4);
                path (a4) edge (a5);
                path (b4) edge (b5);
                path (b4) edge (c5);
                path (c4) edge (d5);
                path (c4) edge (e5);
                path (d4) edge (f5);
                path (e4) edge (g5);
                path (e4) edge (h5);
                path (h5) edge [dashed] (p1);
                path (h5) edge [dashed] (p2);
                path (g5) edge [dashed] (p3);
                path (f5) edge [dashed] (p4);
                path (f5) edge [dashed] (p5);
                path (e5) edge [dashed] (p6);
                path (e5) edge [dashed] (p7);
                path (d5) edge [dashed] (p8);
                path (c5) edge [dashed] (p9);
                path (c5) edge [dashed] (p10);
                path (b5) edge [dashed] (p11);
                path (a5) edge [dashed] (p12);
                path (a5) edge [dashed] (p13);
                endscope
                endtikzpicture
                endcenter
                enddocument


                On the long run, however, you may not want to use all the explicit coordinates, but really work with positioning, but I leave that for another day.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 47 mins ago

























                answered 54 mins ago









                marmot

                71.5k476152




                71.5k476152



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458384%2fstrange-uparrow-heads-at-the-right%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    Installing NextGIS Connect into QGIS 3?

                    One-line joke