I would like the nodes created in the table to be connected by a line. Ideally, the lines connect from the right-middle edge of the border for the nodes on the left, and the left-middle edge of the border for the nodes on the right. I've included the node connection listing at the end of the code. You can see that it clearly does not map properly onto the table.
\documentclass{article}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{array}
\newcommand\mybox[2]{\tikz[remember picture]{\node (#2) [draw=black, inner sep=4pt, anchor=text, rounded corners=1mm] {#1};}}
\setlength{\tabcolsep}{0.5in}
\setlength{\extrarowheight}{0.3in}
\begin{document}
\begin{tabular}{rl}
\mybox{Molecular}{molecular} & \mybox{Diamond}{diamond} \\
\mybox{Amorphous}{amorph} & \mybox{Sodium}{na} \\
\mybox{Metallic}{metal} & \mybox{Carbon Dioxide}{carbondiox} \\
\mybox{Covalent Network}{covnet} & \mybox{Glass}{glass}
\end{tabular}
\begin{tikzpicture}
\draw (molecular) -- (carbondiox);
\draw (amorph) -- (glass);
\draw (metal) -- (na);
\draw (covnet) -- (diamond);
\end{tikzpicture}
\end{document}
[remember picture,overlay]
to thetikzpicture
environment(molecular)
you can use(molecular.east)
same with(carbondiox)
change to(carbondiox.west)