\filldraw (A) circle(1pt) node[A] {$A$};
\filldraw (B) circle(1pt) node[B] {$B$};
