I have a code for a tree
\[
\xymatrix@-1.25pc{
*={\bullet} & &*={\bullet} &
\frm{}\\
&*={\bullet}\ar@{-}[lu] \ar@{-}[ru]& &
}
\]
which will produce this
as its output. However, I would like to number the top nodes as follows:
yet I would like the line segments to be connected to the center of the vertices. I tried replacing \bullet with \stackrel{i}{\bullet}
as follows:
\[
\xymatrix@-1.25pc{
*={\stackrel{1}{\bullet}} & &*={\stackrel{2}{\bullet}} &
\frm{}\\
&*={\bullet}\ar@{-}[lu] \ar@{-}[ru]& &
}
\]
but the nodes are no longer connected to the edges:
which is not what I want.




