在此示例中,使用pst-tree
包:
\def\psedge{\ncangles[armA=.5, angleB=180, linearc=.2]}
\pstree[treemode=R, levelsep=3cm] {\Toval{ root }} {
\Toval{ Tom }
\Toval{ Cat }
\Toval{ Very very very very very long entry }
\Toval{ Jerry }
}
输出很难看,因为节点按中心对齐,我怎样才能让它左对齐?