Reducing space between nodes

Helo Walter

I have one doubt not related to this topic.
How to reduce spacing between nodes.

How to reduce spacing between these files .I marked the area.

What is your Diagram.layout? Perhaps it should be something like:

  $(go.Diagram, "myDiagramDiv",
     { . . . 
        layout: $(go.GridLayout, { wrappingColumn: 1, spacing: new go.Size(0,0) })
     })

Template is like this
return goJs(go.Node, “Auto”,
goJs(go.Shape, “Rectangle”, shapeStyle(),
{
fill: goJs(go.Brush, “Linear”, { 0.0: “rgb(217, 217, 217)”, 1.0: “rgb(242, 242, 242)” }),
stroke: “black”,
minSize: new go.Size(310, 50),
strokeWidth: 0.5,
margin: new go.Margin(0, 0, 0, 0)
}),
goJs(go.Panel, “Horizontal”,
goJs(go.Panel, “Horizontal”,
{ desiredSize: new go.Size(290, 50) },
goJs(go.TextBlock,
{
row: 0,
column: 0,
font: “14pt Arial, Arial, sans-serif”,
stroke: “black”,
margin: 10,
overflow: go.TextBlock.OverflowEllipsis,
maxSize: new go.Size(290, NaN),
editable: false,
isMultiline: false,
maxLines: 1
},
new go.Binding(“text”, “LOGICALTABLENAME”)),
{
toolTip: // define a tooltip for each node that displays the color as text
goJs(go.Adornment, “Auto”,
goJs(go.Shape, “RoundedRectangle”, { fill: “#FFFFCC” }),
goJs(go.TextBlock, { margin: 6, maxSize: new go.Size(150, NaN) },
new go.Binding(“text”, “LOGICALTABLENAME”))
), // end of Adornment
})
));

Issue resolved thanks!!1