Graph 用乳胶绘制有向图

Graph 用乳胶绘制有向图,graph,latex,Graph,Latex,我想画一个箭头,从A指向B,C,D。,如图所示。我用乳胶怎么做 到目前为止,我已经: \begin{tikzpicture} \node[circle,draw](z){$A$} child{node[circle,draw]{B}} child{node[circle,draw]{C}} child{node[circle,draw]{D}} child{node[circle,draw]{E}} child{node[circle,draw]{F}} child{n

我想画一个箭头,从A指向B,C,D。,如图所示。我用乳胶怎么做

到目前为止,我已经:

\begin{tikzpicture}
\node[circle,draw](z){$A$}
  child{node[circle,draw]{B}} 
  child{node[circle,draw]{C}}
  child{node[circle,draw]{D}}
  child{node[circle,draw]{E}}
  child{node[circle,draw]{F}}
  child{node[circle,draw]{G}};
\end{tikzpicture}
nvm,我明白了

\begin{tikzpicture}[edge from parent/.style={draw,-latex}]
\node[circle,draw](z){$A$}
  child{node[circle,draw]{B}} 
  child{node[circle,draw]{C}}
  child{node[circle,draw]{D}}
  child{node[circle,draw]{E}}
  child{node[circle,draw]{F}}
  child{node[circle,draw]{G}};
\end{tikzpicture}