I want an inner and an outer border in my node like this :
I tried like this :
this.go(go.Panel, 'Auto',
this.go(go.Shape, 'RoundedRectangle', {
spot1: go.Spot.TopLeft,
spot2: go.Spot.BottomRight,
strokeWidth: 1,
stretch: go.GraphObject.Fill,
stroke: '#CCCCCC',
fill: '#FFFFA5',
}),
this.go(go.Shape, 'RoundedRectangle', {
spot1: go.Spot.TopLeft,
spot2: go.Spot.BottomRight,
strokeWidth: 0,
margin: new go.Margin(1, 1),
stretch: go.GraphObject.Fill,
fill: '#FF0000',
}),
But the result is very strange and I dont understand why :
Do you have an example to make a result like the first example ?