|How do you use BendPoints with Zest? [message #244681]
||Mon, 28 July 2008 22:33
| Tamar Cohen
Registered: July 2009
so while I'm a veteran GEF user I'm new to Zest, (which is so great, what a
time saver!). I'm having a problem with bend points. I've created an
editor that has a Zest GraphViewer in it and I have my own LayoutAlgorithm.
My nodes show up and are very cute, and have the correct connections between
them, but I cannot figure out how to add bend points to the connections that
I want to bend.
My latest attempt was to modify my layout algorithm to implement
updateBendPoints to add the bend points I want to a given relationship, and
I tried calling updateBendPoints from both preLayoutAlgorithm and
applyLayoutInternal, and I get no discernable change. Is there some flag I
should be setting to use bendpoints?
Better yet, is there a way to tell the layout algorithm to route connections
around all nodes? that's really the problem I'm trying to solve ...
Powered by FUDForum
. Page generated in 0.02597 seconds