Another minimal example:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[draw=black,%
rounded corners=2pt,%
rectangle,%
bottom color=black!80!white] (A) {node aligned on left margin};
\node[draw=black,%
rounded corners=2pt,%
rectangle,%
bottom color=black!80!white] {node aligned on the right margin};
\end{tikzpicture}
\end{document}
in this case I'd like to have the first node aligned on the left margin of the paper and the second one on the right.