Profile Picture

Adding groups to the NLayeredGraphLayout layout

Posted By Mridulla Sorkaar 9 Years Ago
Author
Message
Mridulla Sorkaar
Question Posted 9 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 9 Years Ago
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
Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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





Similar Topics


Reading This Topic