I have to add a border around the component. For that I am using “strokeWidth” o property. But the borders are only coming at left and top side.
See the image below
Code
I am not getting the mistake I am doing. Please help
I have to add a border around the component. For that I am using “strokeWidth” o property. But the borders are only coming at left and top side.
See the image below
Code
I am not getting the mistake I am doing. Please help
The normal way to add a border around an element is to use an Auto Panel. GoJS Panels -- Northwoods Software
In this case, the reason only the top and left are showing up is because the Rectangle Shape is larger than its containing Panel.