Page Index Toggle Pages: 1 2 3 [4]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Parallel Connections in Diagrams (Read 27314 times)
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: Parallel Connections in Diagrams
Reply #45 - Apr 1st, 2010 at 3:36am
Print Post  
Is it possible to have an inner canvas? That is a diagram inside another diagram.

Basically i wanted to have two different functionalities in the same diagram, say for example a 100 * 100 space where if i drop a node it should behave differently (based on business logic) and in the remaining area if i drop the node it should behave in another way.

Please advise.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Parallel Connections in Diagrams
Reply #46 - Apr 1st, 2010 at 10:17am
Print Post  
Yes, you can add a Diagram instance to the diagram.Nodes collection. You might also try using ContainerNodes.

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



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: Parallel Connections in Diagrams
Reply #47 - Apr 1st, 2010 at 10:53am
Print Post  
Thanks Stoyan. Thats good news.

can you please send me some sample on how to achieve this?
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Parallel Connections in Diagrams
Reply #48 - Apr 1st, 2010 at 11:58am
Print Post  
diagram.Nodes.Add(new Diagram { Bounds = new Rect(0, 0, 100, 100) });

However the two diagrams won't integrate that well; for example you cannot draw a link from a node in the embedded diagram to a node outside. So better use containers.

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



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: Parallel Connections in Diagrams
Reply #49 - Apr 5th, 2010 at 4:52am
Print Post  
Thanks Stoyan.

I will start a new thread for this.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 
Send TopicPrint