border-radius property on 'rect' shape is not working
Problem:
In the code snippet below, border-radius is not working. How do we use border-radius on shapes?
"shapes": [{
type: 'rect',
'background-color': '#5297b6',
"border-radius": '50px',
height: 80,
width: 80,
x: 100,
y: 100
},
Solution:
Unfortunately, shapes haven't been designed to use the "border-radius" property. You might want to consider using labels. Please use this demo for reference.