Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LinkCrossings do not show up (Read 1829 times)
Dominic Hoffmann
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 18
Joined: Mar 19th, 2013
LinkCrossings do not show up
Mar 20th, 2013 at 9:45am
Print Post  
Hi there,

i'm currently implementing a SwimLane Graph.
I am using the WPF Control inside a ElementHost with WinForms.

Now im having troubles with LinkCrossings.

They don't appear as i told the control with

Code (C++)
Select All
diagram.LinkCrossings = LinkCrossings.Arcs; 



At every created link i'm setting following properties

Code (C++)
Select All
            link.Text = "some text";
            link.AutoSnapToNode = false;
            link.UseLayoutRounding = true;
            link.DrawCrossings = true;
            link.Dynamic = false;
            link.Shape = LinkShape.Bezier;
            link.TextStyle = LinkTextStyle.Rotate;

            link.Id = link_id; 



So i thought that should it be.

Are there some other Properties to set or anything more to do?

If any further information is needed please tell me.

Thanks in advance for any suggestions.

As im no native english, please forgive me possible grammar mistakes Smiley

- Dominic

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LinkCrossings do not show up
Reply #1 - Mar 20th, 2013 at 10:31am
Print Post  
Hi,

Unfortunately LinkCrossings is not supported for Bezier links at this time. It is hard to find the intersections points (see http://www.truetex.com/bezint.htm), and even harder to find end points for the arcs lying on the Beziers. We could implement some mode where Beziers are approximated via line segments and reuse the straight lines intersections code, but it will probably work very slow if the Beziers curves must be drawn with good enough quality (with large number of approximating line segments).

Stoyan
  
Back to top
 
IP Logged
 
Dominic Hoffmann
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 18
Joined: Mar 19th, 2013
Re: LinkCrossings do not show up
Reply #2 - Mar 20th, 2013 at 10:41am
Print Post  
Thanks for your reply.
Now it's clear and it is not me doing something wrong Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint