|[Zest] setCurveDepth + Label Position [message #481395]
||Thu, 20 August 2009 19:08
| Philip Mayer
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.03656 seconds