Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Attach More than one node (Read 2524 times)
muthuhamid
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Feb 1st, 2009
Attach More than one node
Apr 5th, 2011 at 4:48pm
Print Post  
Hi

How can i attach more than one node to the shape node.?

Thanks and Regards
Hamid
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Attach More than one node
Reply #1 - Apr 5th, 2011 at 5:00pm
Print Post  
Code
Select All
foreach (DiagramNode node in nodesToAttach)
	node.AttachTo(masterNode...);
 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
muthuhamid
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Feb 1st, 2009
Re: Attach More than one node
Reply #2 - Apr 6th, 2011 at 9:22am
Print Post  
Thanks a lot ill try now...

Thanks
Muthu
  
Back to top
 
IP Logged
 
bravemav
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Apr 8th, 2011
Re: Attach More than one node
Reply #3 - Apr 8th, 2011 at 6:06pm
Print Post  
Hi, is there a limit on the amount of nodes that can be attached to a shape node?

When I attach more than 50 nodes to a shape node, the attached nodes don't show up in the diagram.

However, attaching 50 or less nodes to a shape node, displays correctly.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Attach More than one node
Reply #4 - Apr 8th, 2011 at 6:10pm
Print Post  
Hi. There isn't any limit. Could you post the code you are using to place the attached nodes relatively to the main node?
  
Back to top
 
IP Logged
 
bravemav
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Apr 8th, 2011
Re: Attach More than one node
Reply #5 - Apr 8th, 2011 at 6:47pm
Print Post  
Ok thanks.

I just needed to know if there was a limit. So now I know the problem is somewhere else.

It's quite a lot of code that takes care of determining which nodes to add to the shape node, so I won't post it, but I'll let you know if I run into any problems.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint