Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Example for controller network (Read 2390 times)
lst
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 12th, 2012
Example for controller network
Dec 12th, 2012 at 8:56am
Print Post  
Hi there,

I am evaluating the new Diagramming for WPF V3.0 component to be used for rendering controller networks using different bus systems in automation domain. Do you provide any examples (including sources) to estimate the effort of configuring this component for use cases like that?

Regards
lst
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Example for controller network
Reply #1 - Dec 12th, 2012 at 9:50am
Print Post  
Hi, Could you attach an image showing what you need the diagram to look like?
  
Back to top
 
IP Logged
 
lst
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 12th, 2012
Re: Example for controller network
Reply #2 - Dec 12th, 2012 at 10:44am
Print Post  
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Example for controller network
Reply #3 - Dec 12th, 2012 at 11:59am
Print Post  
Hi,

You could use the IconNode class from the IconNodes sample project as a starting point to get that kind of node appearance. You could modify it to draw some labels above images; I'm not sure by what criteria that's done in the image.

If your users will draw such diagrams interactively, you could check the SequenceDiagram example for some ideas how to align nodes and links.

If you need to arrange the diagram automatically - I don't think there's a built-in algorithm coming with the control that will arrange the nodes as in the image. It shouldn't be hard to implement it yourself by looping over node's children and setting their Bounds in a row, while pushing larger branches to the bottom of the diagram and arranging them recursively.

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