Adding groups to the NLayeredGraphLayout layout


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi,

You should set the GraphPart property of the groups to false:

group.GraphPart = false;


Thus the group will not take part in the layout, but its shapes will.

Best Regards,
Nevron Support Team


Mridulla Sorkaar
Mridulla Sorkaar
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 4, Visits: 19
Hi,

We want to add groups into the NLayeredGraphLayout layout that we are using. As of now, we are plotting the vertices and edges of the shapes and the layout automatically plots them correctly. Please check the diagram attached for this scenario [Sample Layered Graph Layout - Without Group.png]

However, as we try to plot any group in the layout (this is very important for us), it does not plot it correctly as you can see in the diagram attached [Sample Layered Graph Layout - With Group.png]. It just stacks it to the corner along with any vertex which does not have an edge.

Can you please guide us to bring grouping into the diagram as this is very important for us?

Regards,
Mridulla Sorkaar
Attachments
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search