Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramNode::GetAllLinks() (Read 3630 times)
jmquinlan
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 67
Joined: Apr 2nd, 2009
DiagramNode::GetAllLinks()
May 14th, 2009 at 8:12am
Print Post  
Hello,

Using a table node when I have links assigned to rows I have to iterate through each row asking for its outgoing or incoming links because the links are not present in the DiagramNode:ShockedutgoingLinks.

I have however found that using GetAllLinks gives me back to rows links as well, but the only way to filter the links based on direction input/output is to iterate through each one.

Could we have matching functions for

GetAllIncomingLinks
GetAllOutgoingLinks

or

GetAllLinks(LinkDirection.outgoing);
GetAllLinks(LinkDirection.incoming);
GetAllLinks(LinkDirection.both);

would be very help full and keep the client app side quite nice and clean

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramNode::GetAllLinks()
Reply #1 - May 14th, 2009 at 8:31am
Print Post  
Ok, actually there are internal GetAllIncomingLinks and GetAllOutgoingLinks methods; we'll make them public for the next release.

Stoyan
  
Back to top
 
IP Logged
 
jmquinlan
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 67
Joined: Apr 2nd, 2009
Re: DiagramNode::GetAllLinks()
Reply #2 - May 18th, 2009 at 4:29pm
Print Post  
Brilliant cheers
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramNode::GetAllLinks()
Reply #3 - Jun 3rd, 2009 at 8:02am
Print Post  
Hi,

This version adds public GetAllIncoming and GetAllOutgoingLinks methods:
https://mindfusion.eu/_beta/fcnet53.zip

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