Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Creating a mind map using NetDiagram? (Read 3859 times)
jlj30
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 183
Joined: Sep 4th, 2011
Creating a mind map using NetDiagram?
Oct 9th, 2012 at 8:02pm
Print Post  
Hi,

Has anyone used NetDiagram to produce a mind map?
Is there any specific layout that is suitable?
I've attached a sample.
I realize there are products available that will do what I want, but given that I have NetDiagram, I'd like to use it if I can.

Thanks in advance for any advice.

Jim
  

incident_management.pdf (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Creating a mind map using NetDiagram?
Reply #1 - Oct 10th, 2012 at 6:43am
Print Post  
Hi,

The closest you can get to this with built-in layout classes is running TreeLayout with Type set to Radial, or by running it twice with following options:

- Type set to Centered
- KeepRootPosition enabled
- DiagramItemCollection parameters set to contain either the left or right branches of the tree
- Direction set to RightToLeft or LeftToRight for the respective branch

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


I love YaBB 1G - SP1!

Posts: 183
Joined: Sep 4th, 2011
Re: Creating a mind map using NetDiagram?
Reply #2 - Oct 30th, 2012 at 11:03pm
Print Post  
Hi Stoyan,

Been on vacation, so just getting around to responding.
Thanks for the tips; it seems to be what I was looking for.

However, as you can see from the attached screenshot, the nodes on the left side have their expand/collapse widgets on their right side.
How to I get them on the left side?

I am using DiagramItemCollection's as you suggested to render the left and right sides of the tree separately.

Any suggestions?

Thanks in advance.

Jim
  

NetDiagram_-_MInd_Map_-_Collapse-Expand_-_30Oct2012.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Creating a mind map using NetDiagram?
Reply #3 - Oct 31st, 2012 at 8:26am
Print Post  
Unfortunately this cannot be set for individual nodes at this time. For now you could set diagram.ExpandButtonPos to OuterLowerRight or Bottom to get icons out of the links' way. We'll try to implement per-node property for next release.

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


I love YaBB 1G - SP1!

Posts: 183
Joined: Sep 4th, 2011
Re: Creating a mind map using NetDiagram?
Reply #4 - Nov 4th, 2012 at 7:05pm
Print Post  
Hi,

Thanks for the reply.
Placing the expand/collapse button at the bottom of the nodes doesn't seem too bad.

I have a another question.
If you look at the screenshot that I provided earlier in this thread, you will notice that there is a big vertical gap between the activities named "Detect & Record" and "Classification & Initial Support" - even when both of these activities are collapsed.

It would appear that the entire diagram has been rendered in advance and that the expand/collapse buttons simply reveal what has been hidden.  These hidden nodes still occupy space on the diagram.

Is there any way to make the diagram dynamically redraw itself as the nodes are expanded and collapsed.

Without this capability the diagram may look awkward, especially with nodes collapsed.

Any suggestions much appreciated.

Thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Creating a mind map using NetDiagram?
Reply #5 - Nov 5th, 2012 at 9:10am
Print Post  
Hi,

Quote:
It would appear that the entire diagram has been rendered in advance and that the expand/collapse buttons simply reveal what has been hidden. These hidden nodes still occupy space on the diagram.


That's exactly what these buttons do, and they do not automatically run any layout class when clicked. You will have to apply TreeLayout again after each expand / collapse to rearrange for the currently visible nodes, e.g. by handling TreeCollapsed and TreeExpanded events on the server in ImageMap mode, or respective *Script client events in Java mode.

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