Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Layout Type (Read 3248 times)
Tima
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Nov 10th, 2010
Layout Type
Aug 26th, 2011 at 9:00am
Print Post  
I develop a Application in with the help of JDiagram In java swing witha tree layout

TreeLayout tl = new TreeLayout();
tl.setType(TreeLayoutType.Radial);
tl.setLevelDistance(50);
tl.setLinkStyle(TreeLayoutLinkType.Rounded);

I need the same in java Script
I tried
var treeLayout = new TreeLayout();
treeLayout.linkType = TreeLayout.LinkTypeRounded;
//treeLayout.TreeLayoutType=TreeLayoutType.Radial;
//treeLayout.linkType = TreeLayoutLinkType.Rounded;
//treeLayout.setTreeLayoutLinkType(TreeLayoutType.Radial);

But unable to get the exact same as Java Swing alyout

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Layout Type
Reply #1 - Aug 26th, 2011 at 9:34am
Print Post  
Hi,

We haven't implemented radial layout in JavaScript yet. We'll try to port it for the next release.

For now you might try the FractalLayout from yesterdays release - it arranges trees in circles too, but embeds them recursively into parent circles instead of creating concentric ones for layers.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint