Diagram links

The second question:


Is it possible to remove the links in the group, so that they would not turn?

If I remove the links, then destroyed subordination.

All crumbles.

Well, you could set to zero the opacity of the Links that are inside the Group.
The easiest way is to add a data binding on the Link in the template:
new go.Binding(“opacity”),
and set the opacity to zero on the corresponding link data.

If you don’t want to put that property on your link data, you could execute some code to compute that. Maybe:
myDiagram.addDiagramListener(“LayoutCompleted”, function(e) {
e.diagram.links.each(function(l) { if (!l.isTopLevel) l.opacity = 0; });

Excellent, worked! Thank you.