Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TableNode.IncomingLinks and TableNode.OutgoingLink (Read 2067 times)
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
TableNode.IncomingLinks and TableNode.OutgoingLink
Apr 7th, 2009 at 6:04pm
Print Post  
Hi,

TableNode.IncomingLinks and TableNode.OutgoingLinks show Count = 0 always, how may I know which links are connected to a tablenode?

Cheer.s
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TableNode.IncomingLinks and TableNode.Outgoing
Reply #1 - Apr 7th, 2009 at 6:43pm
Print Post  
The control makes distinction between links connected to the table and links connected to its rows. You an access the rows' links like this:

foreach (DiagramLink link in table.Rows[0].IncomingLinks) ....

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: TableNode.IncomingLinks and TableNode.Outgoing
Reply #2 - Apr 7th, 2009 at 7:10pm
Print Post  
I see, thanks.
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: TableNode.IncomingLinks and TableNode.Outgoing
Reply #3 - Apr 8th, 2009 at 7:03pm
Print Post  
The method GetAllLinks retrieve all links or I have to go to the rows anyway?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TableNode.IncomingLinks and TableNode.Outgoing
Reply #4 - Apr 9th, 2009 at 8:54am
Print Post  
Yes, this method returns the row links too.

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