Is there a way to set the location of the position of edge label when using the tikz graph package?
I attempted to look for samples of this being done in the manual, but was unable to find any (closest I got was in 19.6 where it shows how to set some options for individual edges).
Is this possible?
Edit: more specifically, I am looking for a way to put the label above or below the edge.
Edit to add MWE:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{graphdrawing,positioning,graphs}
\usegdlibrary{layered, trees}
\begin{document}
\begin{tikzpicture}
\begin{graph}
{1->[edge label=hello]2};
\end{graph}
\end{tikzpicture}
\end{document}

tkz-graph? (Which is not TikZ, but a package built on TikZ.) Edit: Could you create a minimal example perhaps? – Torbjørn T. Feb 09 '14 at 21:29graphslibrary, (used with\begin{graph}...\end{graph}in a tikzpicture environment). – soandos Feb 09 '14 at 21:32autooption enabled, placing the label above the line for your example. To place it below, addswap, i.e.{1->[edge label=hello,swap]2};Does that answer your question? – Torbjørn T. Mar 14 '14 at 23:31