Gojs+Rounded Rectange with no border

Guys,

I was exploring gojs different shapes and was using Rounded Rectange with some text in it.

$(
          go.Panel,
          'Auto',
          { margin: new go.Margin(40, 10, 2, -150), width: 155, height: 20 },
          $(go.Shape, 'RoundedRectangle', { fill: '#BAE6FF' }),
          $(go.TextBlock, 'Top-level assembly', { stroke: '#00539A', width: 120 }),
        ),

so right now things are working fine, but i dont want rectange with black border. Can you help me to resolve this, that is reactangle with no border , or border with its color used to fill

Secondly, can we increase the border-radius to some more pixel value , it seems like less rounded in corner

Sure, you can set the Shape.strokeWidth to 0.

$(go.Shape, 'RoundedRectangle', { fill: '#BAE6FF', strokeWidth: 0 })

@jhardy also can we increase the border radius to some more pixel of Rounded Rectangle ?

Yes, you can adjust the Shape.parameter1 value. For RoundedRectangles, the default is 5.

$(go.Shape, 'RoundedRectangle', { fill: '#BAE6FF', strokeWidth: 0, parameter1: 10 })

@jhardy somehow parameter1 is not taking value, its not getting more curve inspite of giving prameter1 :(

Can you show me the code for your Shape?

Thanks @jhardy it seems working now