This is admittedly a bit of an abuse of MathJax, but I'm trying to use it to draw lines to connect dots within a rectangular array.
I can easily get an array of dots, but I can't figure out a way to draw lines connecting them:
$$ \begin{matrix} \bullet&\bullet&\bullet\\ \bullet&\bullet&\bullet\\ \bullet&\bullet&\bullet\\ \end{matrix} $$
I tried horizontal and vertical strikeouts, but they don't span from one array element to the next, and they also overlap the corners:
$$\require{enclose} \begin{matrix} \enclose{verticalstrike,horizontalstrike}{\bullet}&\enclose{verticalstrike,horizontalstrike}{\bullet}&\bullet&\\ \enclose{verticalstrike,horizontalstrike}{\bullet}&\enclose{verticalstrike,horizontalstrike}{\bullet}&\bullet\\ \bullet&\bullet&\bullet\\ \end{matrix} $$
I'm trying to accomplish something like this:
Is this possible using MathJax?