Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Need Cascading behavior of links (Read 3342 times)
ayushneema
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Sep 23rd, 2009
Need Cascading behavior of links
Sep 29th, 2009 at 11:15am
Print Post  
Hi,
I have sent you the application through mail.
I want implement cascading behvior for links.
Setps to reproduces:
1. run the application
2. click on "Hierarchy" button.
3. selet any node and move.
Now you can se the link are poly links not cascaded. i need that link should be cascaded.
you can refer the require feacture by clicking on "Not Balloon" button.
In the same application when i click on "Not balloon" button the link are cascaded links.


Thanks
Ayush Neema
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Need Cascading behavior of links
Reply #1 - Sep 29th, 2009 at 3:40pm
Print Post  
I couldn't see a polyline link there after clicking "Hierarchy". Which node should I select and move?
  
Back to top
 
IP Logged
 
ayushneema
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Sep 23rd, 2009
Re: Need Cascading behavior of links
Reply #2 - Sep 30th, 2009 at 3:49am
Print Post  
click on  "Hierarchy", then select any node and move it. now the links are poly line not cascaded.
  
Back to top
 
IP Logged
 
ayushneema
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Sep 23rd, 2009
Re: Need Cascading behavior of links
Reply #3 - Sep 30th, 2009 at 2:26pm
Print Post  
hi stoyo,
any update on this?

Thanks
Ayush Neema
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Need Cascading behavior of links
Reply #4 - Oct 1st, 2009 at 8:57am
Print Post  
No, they are not polyline. First, in that application you sent us there's the following code after LayeredLayout.Arrange is called from the Hierarchy button:

foreach (DiagramLink link in diagram.Links)
{
     link.SegmentCount = 1;
     link.Style = LinkStyle.Polyline;
}
Arrange();
foreach (DiagramLink link in diagram.Links)
{
     link.SegmentCount = 3;
     link.Style = LinkStyle.Cascading;
}

and after it runs obviously all links are cascading. Even if I remove the loops, the links are still cascading because of the layeredLayout.LinkType = LayeredLayoutLinkType.Cascading line. Only if I remove that line too, the links are polyline.
  
Back to top
 
IP Logged
 
ayushneema
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 37
Joined: Sep 23rd, 2009
Re: Need Cascading behavior of links
Reply #5 - Oct 1st, 2009 at 10:41am
Print Post  
Hi stoyo,
Thanks for clearing the doubts
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint