Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Layout nodes in a group upon group creation

$
0
0

@Tany wrote:

Hi,
My program enables the user to group nodes on demand, by site key.
When the user presses some button, the application group the nodes by site key.
The groups are layout using groupLayout.
I would like the nodes within a group to be layout, for example circular layout.
I noticed that if the created group is not expanded, the layout algorithm does not work.
Is that so ?
The workaround it, the group template is set the isSungraphExpanded=true
and right after the group is created, i wait, one second (setTimeout) and collapse the group.
Any other way to layout nodes within a group, upon group creation ?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles