I am using the Zest GraphViewer and assorted content/label providers. In
my own LayoutAlgorithm, I am using setCurveDepth() on some of the graph
connections. However, as soon as I do this, the label of these
connections moves to the initial node of the connection and stays there.
Normal (non-curved) connections are fine.
Experimentially, I changed the index of the MidpointLocator given in the
GraphConnection class, line 653:
labelLocator = new MidpointLocator(connectionFigure, 0);
This seems to affect the position, but I am unsure how to proceed to
induce the change from my code only. Any hints?