tikz-network
tikz-network copied to clipboard
Conflict with package tikz-qtree about \Edge
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)
?