Here's an example with snake:
\documentclass{standalone}
%======================================
\usepackage{tikz}
\usetikzlibrary{graphdrawing}
\usetikzlibrary{arrows}
\usetikzlibrary{graphs}
\usetikzlibrary{decorations.pathmorphing}
\usegdlibrary{force, layered, trees}
%======================================
\begin{document}
\tikz [rounded corners]
\graph [spring layout, node distance=25mm]
{
a ->[decorate, decoration=snake]
b ->
c ->
a ->
e ->
b
};
\end{document}

Here's an example with zigzag:
\documentclass{standalone}
%======================================
\usepackage{tikz}
\usetikzlibrary{graphdrawing}
\usetikzlibrary{arrows}
\usetikzlibrary{graphs}
\usetikzlibrary{decorations.pathmorphing}
\usegdlibrary{force, layered, trees}
%======================================
\begin{document}
\tikz [rounded corners]
\graph [spring layout, node distance=25mm]
{
a ->[decorate, decoration=zigzag]
b ->
c ->
a ->
e ->
b
};
\end{document}

Why are the decorated paths not rendered correctly? I promise I have not mixed up the images for snake and zigzag. Try rendering them yourself.



rounded cornershere rather than there! – cfr May 20 '14 at 03:07