The MWE:
\documentclass{standalone}
%======================================
\usepackage{tikz}
\usetikzlibrary{graphdrawing}
\usetikzlibrary{arrows}
\usetikzlibrary{graphs}
\usegdlibrary{force, layered, trees}
%======================================
\begin{document}
\tikz
\graph [spring layout, nodes = draw]
{
a/"dispersive\newline collision";
b/"non-dispersive\newline collision";
a -> b
};
\end{document}
The output:

The question:
As you can see above, the \newline command does nothing. Trying to use \\ instead of \newline, like how the pgfmanual does in some examples (see pg. 386) has the same effect. Why? What can I do in order to have the words appear on separate "lines"?

graphdrawinglibrary either. It happens as soon as you put text in nodes. – cfr May 20 '14 at 23:15