Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Line routing (Read 3308 times)
koosala
Full Member
***
Offline


Java Happens

Posts: 136
Joined: May 13th, 2007
Line routing
Jun 1st, 2007 at 3:41am
Print Post  
Hi,

I have three things to ask in this post.

1. I have set the flowchart property setRouteAllArrows to true.
The routing algorithm for the arrows seem to go all wrong when We have the connected Boxes placed inside another box. The lines travel along the border of the connected boxes.
When I move the two boxes outside the containing box, the routing seems to be alright again. Is this a bug, and if it is can it be fixed anytime soon?

2. When two boxes of the same size overlap, or a larger box of a greater Z order is placed over a smaller box, totally covering it, it becomes impossible to select the smaller box without moving out the larger box.
Is there some way this can be done? We wouldn't want people to move the top box to reach a box under it in complex diagrams.
I would suggest every click on a box would select a box of the lower Z order at the point of the click.

Along this line I think there should be an ItemSelecting event as well, the way you already have ItemSelected. I was trying to write a workaround for the above behavior, and this event would have proved useful.

3. The support you provide is great, but we are thinking of purchasing your source code as well just so we know what is happening behind the scenes as well and maybe comeup with quick solutions for small issues.
I would like to know if you can provide us few sample source files now so I can gauge our comfort level with your style of coding.

Thanks,
Praveen
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Line routing
Reply #1 - Jun 1st, 2007 at 6:21am
Print Post  
Hi,

1. Set the container's box Obstacle property to false if you want routing to work inside it. Otherwise the routing algorithm considers the box an obstacle and cannot find a path going through it.

2. I guess you could handle the BoxClicked event for a top-most box and check if there are other nodes below it. If there are some, add them to the selection.

3. We can do that, please contact me by email.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint