Bezier curve

Jan 25, 2011 at 2:00 PM

Hi there,

first of all congratulations on the great library. I was wondering whether it is possible to draw bezier lines as connectors between shapes. I have seen that the Curve - class supports that, however I am having troubles using it, it gives an error that there isn't a Renderer for it. Is there any workaround on this issue or another class that I could probably use?

Thanks in advance!

Feb 3, 2012 at 5:13 PM

I want the pretty curves also.

I got around that particular error with:

                if (!_renderers.TryGetValue(element.GetType(), out render))                {                    if (!_renderers.TryGetValue(element.GetType().BaseType, out render))                    {                        throw new RenderException(string.Format("A renderer was not found for type {0}.", element.GetType().FullName));                    }                }

in Render.cs, line 482, and it now draws a curved link.

However, it looks goofy. Anyone?