Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Hide a part of a diagram (Read 1988 times)
Fyx
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: May 28th, 2008
Hide a part of a diagram
May 28th, 2008 at 10:19am
Print Post  
Hello

I devellop an application in Java which allow user to draw a navigation chart so I've choose to use this JDiagram package (this is a very good package for me).

My boss ask my to hide a part of the diagram when the user need, because the diagram can be very large.

I've see on the online demo, the "Classification Chart".
How can put a cross next boxes like the demo to hide/show a part of the diagram?

I've to modify my axisting class ?

Regards
Fyx

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Hide a part of a diagram
Reply #1 - May 28th, 2008 at 11:10am
Print Post  
Hi,

Call node.setExpandable(true) to add the +/- button to a node, or FlowChart.setNodesExpandable(true) to set the default for all new nodes.

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