So entfernen Sie die Pfeile in diesem Cayley-Diagramm

So entfernen Sie die Pfeile in diesem Cayley-Diagramm

Ich versuche, die nächste Grafik zu erstellen, allerdings ohne Pfeile zu verwenden:

\documentclass[11pt]{article}

\usepackage{tikz}
\usetikzlibrary{lindenmayersystems,arrows.meta}

\newcount\quadrant
\pgfdeclarelindenmayersystem{cayley}{
  \rule{A -> B [ R [A] [+A] [-A] ]}
  \symbol{R}{ \pgflsystemstep=0.5\pgflsystemstep } 
  \symbol{-}{
\pgfmathsetcount\quadrant{Mod(\quadrant+1,4)}
\tikzset{rotate=90}}
  \symbol{+}{
    \pgfmathsetcount\quadrant{Mod(\quadrant-1,4)}
    \tikzset{rotate=-90}
      }
\symbol{B}{
        \draw [dot-cayley] (0,0) -- (\pgflsystemstep,0) 
       node [font=\footnotesize, midway, 
         anchor={270-mod(\the\quadrant,2)*90}, inner sep=.5ex] 
       {\ifcase\quadrant$  $\or$ $\or$ $\or$ $\fi};
\tikzset{xshift=\pgflsystemstep}} }
\tikzset{
  dot/.tip={Circle[sep=-1.5pt,length=3pt]}, cayley/.tip={Stealth[]dot[]}    }

\begin{document}
\begin{tikzpicture}
\draw l-system [l-system={cayley, axiom=[A] [+A] [-A] [++A], step=2cm, order=3}];
\end{tikzpicture}
\end{document}

Das Ergebnis ist:

Bildbeschreibung hier eingeben

Aber ich möchte es ohne Pfeile. Ich weiß nicht, wie das geht, ich bin neu darin. Bitte helfen Sie.

Antwort1

So was?

Einfach Stealth[]hier entfernen:

\tikzset{
  dot/.tip={Circle[sep=-1.5pt,length=3pt]}, cayley/.tip={Stealth[]dot[]}    }

vollständiger Code:

\documentclass[11pt]{article}

\usepackage{tikz}
\usetikzlibrary{lindenmayersystems,arrows.meta}

\newcount\quadrant
\pgfdeclarelindenmayersystem{cayley}{
  \rule{A -> B [ R [A] [+A] [-A] ]}
  \symbol{R}{ \pgflsystemstep=0.5\pgflsystemstep } 
  \symbol{-}{
\pgfmathsetcount\quadrant{Mod(\quadrant+1,4)}
\tikzset{rotate=90}}
  \symbol{+}{
    \pgfmathsetcount\quadrant{Mod(\quadrant-1,4)}
    \tikzset{rotate=-90}
      }
\symbol{B}{
        \draw [dot-cayley] (0,0) -- (\pgflsystemstep,0) 
       node [font=\footnotesize, midway, 
         anchor={270-mod(\the\quadrant,2)*90}, inner sep=.5ex] 
       {\ifcase\quadrant$  $\or$ $\or$ $\or$ $\fi};
\tikzset{xshift=\pgflsystemstep}} }
\tikzset{
  dot/.tip={Circle[sep=-1.5pt,length=3pt]}, cayley/.tip={dot[]}    }

\begin{document}
\begin{tikzpicture}
\draw l-system [l-system={cayley, axiom=[A] [+A] [-A] [++A], step=2cm, order=3}];
\end{tikzpicture}
\end{document}

Bildschirmfoto

verwandte Informationen