Forums

Full Version: changing the edge control points
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning,

hope all are well.

This demo plays around with the edge control points, which can be used to draw non straight edges. Don't miss to drag nodes around to see how the edges are reacting on it and please feel free to be completely blown away by the edge highlighting feature ...

[attachment=158]

Cheers

martin
Hello,


This second version of this demo, which goes over an own EdgeShapeRenderer rather than playing around with the edge control points directly.
The result is the same - nevertheless this version looks more clean to me ...

cheers

martin


requires flare version 2008.07.29 or higher
hi martin
i want to change my control points in my graph
where can i read about this issuse more
im feeling like walking in the dark here
need to understand a bit more about the control points and splines
please you help Smile
avi
Hi Avi,

if you use two control points, flare draws a Cubic Bezier Curve. Maybe

http://en.wikipedia.org/wiki/Bezier_curv...ier_curves

can give you a starting point. The properly surprising thing for somebody who never dealt with this kind of curves is that the curve does not go through the control points. The good thing for directed edge drawing is that the arrow can be easily adjusted according to the position of the control points.

Hope that helps

martin
Reference URL's