This is somewhat of a follow on to this question (I'm piggybacking here):
Add an edge label with Cytoscape.js
This allows you to add a label to the edge, but the labels are always horizontal regardless of the edge's actual position. Is there anyway to bind the label itself to the edge so that when the edge repositions, the label rotates with it?