Labels of edges can be aligned to edges in various ways.
Text-alignment within node labels can be 'left' or 'center', other font alignments not implemented.
Label alignment (placement of label "box") for nodes (top, bottom, left, right, inside) is planned but not in vis yet.
The click event is captured and displayed to illustrate how the clicking on labels works. You can drag the nodes over each other to see how this influences the click event values.