\begin{tikzpicture}[x=1ex,y=1ex,baseline={([yshift=-.5ex]current bounding box.center)}]
    \coordinate (v);

    \coordinate [above=1.2 of v](v01);
    \coordinate [right=2 of v01] (v11);
    \coordinate [right=1 of v01] (vm1);
    \draw (v01) -- (v11);
    \draw (vm1) circle(1);
    \filldraw (v01) circle (1pt);
    \filldraw (v11) circle (1pt);

    \coordinate [below=1.2 of v](v02);
    \coordinate [right=2 of v02] (v12);
    \coordinate [right=1 of v02] (vm2);
    \draw (v02) -- (v12);
    \draw (vm2) circle(1);
    \filldraw (v02) circle (1pt);
    \filldraw (v12) circle (1pt);
\end{tikzpicture}%
