tikz-network icon indicating copy to clipboard operation
tikz-network copied to clipboard

Conflict with package tikz-qtree about \Edge

Open NewStorm-0 opened this issue 2 years ago • 0 comments

Here is my code:

\usepackage{tikz-network}
\usepackage{tikz-qtree}

\begin{document}
\begin{tikzpicture}[sibling distance=0.6em]
    \Tree [.A [.B ] \edge[draw=none]; {} ]
    \Vertex[label=A]{A}
    \Vertex[label=B,x=1]{B}
    \Edge[label=6](A)(B)
\end{tikzpicture}
\end{document}

A error occured when I compiled it with xelatex. Here is a part of output:

e:/.../mwe.tex:10: Use of \@edge doesn't match its definition.
\\Edge [#1]->\@edge [
                     #1]
l.10     \Edge[label=6]
                       (A)(B)
? 

NewStorm-0 avatar Nov 02 '23 16:11 NewStorm-0