Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic I want to lay out a hierarchical structure using ContainerNode (Read 200 times)
koichi_satoh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 25
Joined: Nov 30th, 2023
I want to lay out a hierarchical structure using ContainerNode
Jul 16th, 2024 at 8:29am
Print Post  
As shown in the attached image, is there any way to display tree-structured data hierarchically using ContainerNode other than manually specifying Bounds?

I would like to create a layout without complex calculations, for example by using MindFusion.Diagramming.Layout, without having to implement logic to adjust the size of the parent ContainerNode according to the number of child ContainerNodes.

  

sample_001.png ( 9 KB | 22 Downloads )
sample_001.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3244
Joined: Oct 19th, 2005
Re: I want to lay out a hierarchical structure using ContainerNode
Reply #1 - Jul 16th, 2024 at 8:35am
Print Post  
This looks like the TreeMap sample project. Try the TreeMapLayout class shown there.

Regards,
Slavcho
MindFusion
  
Back to top
 
IP Logged
 
koichi_satoh
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 25
Joined: Nov 30th, 2023
Re: I want to lay out a hierarchical structure using ContainerNode
Reply #2 - Jul 17th, 2024 at 8:05am
Print Post  
Thanks to you, the problem has been solved.
Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint