Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic OrthogonalRouter (Read 2747 times)
ebibnet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Aug 25th, 2008
OrthogonalRouter
Jun 29th, 2009 at 3:46pm
Print Post  
Hi,
I just installed Netdiagram 3.02 , latest update.

I was wondering why OrthogonalRouter didn't work ,
(if i understood well the OrthogonalLayout is outdated? )


//OrthogonalRouter router = new OrthogonalRouter();
OrthogonalLayout router = new OrthogonalLayout();
router.Arrange(diagram);

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: OrthogonalRouter
Reply #1 - Jun 30th, 2009 at 6:50am
Print Post  
Hi,

OrthogonalRouter is what was previously called OrthogonalLayout, and now it arranges only links. The BaseLayout property has been removed; you should explicitly apply some of the other layout algorithms before OrthogonalRouter if you need the nodes arranged too.

The current OrthogonalLayout class implements a new algorithm that arranges nodes in such a way that the links between have as few bends as possible.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ebibnet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Aug 25th, 2008
Re: OrthogonalRouter
Reply #2 - Jul 2nd, 2009 at 10:58pm
Print Post  
Hello Stoyo,

Yes I read that somewhere, maybe I have to phrase my quetion differently.

How come that after installing version 3.02 , i still have  to use  OrthogonalLayout  and not OrthogonalRouter (which i would have expected )

So in version 3.02 i should have the class OrthogonalRouter instead of OrthogonalLayout ? Correct ?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: OrthogonalRouter
Reply #3 - Jul 3rd, 2009 at 9:03am
Print Post  
Hi Ronny,

If you had been using the pre-V3 OrthogonalLayout class, you should use OrthogonalRouter now, possibly by applying some of the other layouts depending on whether you used the BaseLayout property. E.g. if your old code used BaseLayout = Cascading, to achieve the same effect now you should apply a TreeLayout with Type set to Cascading before calling OrthogonalRouter.Arrange().

Version 3 comes with a completely new layout class which we felt deserves the name OrthogonalLayout better than the old one... so the old class has been renamed to OrthogonalRouter.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
bkernan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: May 28th, 2009
Re: OrthogonalRouter
Reply #4 - May 12th, 2010 at 2:43pm
Print Post  
Is there any setting for the bends in the links to be rounded after laying out the diagram with Layered Layout then Orthogonal Layout?

Changing the link style to Bezier after applying my layouts removes some of the nice link anchoring all around the noce and places the anchors on only the right and left sides of the node. And it also removes the nice routing that does not overlap links and nodes.

This is simply an aesthetical want.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: OrthogonalRouter
Reply #5 - May 12th, 2010 at 3:28pm
Print Post  
Check the RoundedLinks property in ImageMap mode. If that will do, we can implement it in applet mode in a couple of weeks.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint