I want to use
layout: $(go.TreeLayout, { nodeSpacing: 3, isOngoing: false, arrangement: go.TreeLayout.ArrangementFixedRoots }),
&
myDiagram.linkTemplate =
$(go.Link,
{ selectable: true, selectionAdornmentTemplate: linkSelectionAdornmentTemplate },
{ relinkableFrom: true, relinkableTo: true, reshapable: true },
{
routing: go.Link.Orthogonal,
corner: 4,
curve: go.Link.JumpOver,
reshapable: true,
relinkableFrom: true,
relinkableTo: true,
mouseDragEnter: function (e, link) {
link.isHighlighted = true;
},
mouseDragLeave: function (e, link) {
link.isHighlighted = false;
},
},
$(go.Shape, { strokeWidth: 2 }),
$(go.Shape, { toArrow: "OpenTriangle" }),
$(go.Panel, "Auto", // this whole Panel is a link label
$(go.Shape, "RoundedRectangle", { strokeWidth: 8, fill: "white",strokeWidth: 0,}),
$(go.TextBlock, { margin: 3,editable: true },
new go.Binding("text", "text"))
),
{
toolTip: myToollinkTips
},
);
together.