My Digraphlayout is overlapping the link text. I’d like it to be spread out so there is no overlap. Suggestions most welcome.
layout: $(go.LayeredDigraphLayout, { layerSpacing:65}),
and
$(go.Shape, // the highlight shape,
{ isPanelMain: false, strokeWidth: 2.5, stroke: "#404e67", name: "HIGHLIGHT" }),
$(go.Panel, "Auto",
// only shows the link label if is not empty
new go.Binding("visible", "label", function(s) { if (s) return true; else return false; }) ,
$(go.Shape, "RoundedRectangle", {
fill: "#fff",
width:130,
stroke: "lightgray"
}),
$(go.TextBlock, {
textAlign: "center" ,
wrap: go.TextBlock.WrapDesiredSize ,
width:120,
margin:2},
new go.Binding("text", "label"))
),
$(go.Shape, // the arrowhead
{ toArrow: "Standard", fill: "#404e67", stroke: null, scale: 2 })
);