How to customize the shape of the selector handles in Vue Diagram?
The Syncfusion® Vue Diagram offers support for customizing the appearance of the Selector resize handle. You can achieve this by overriding the style of the resize handle element.
To change the shape of the resize handles, define the rx and ry values as 10 to the class “.e-diagram-resize-handle”. This will change the shape from a square to a circle which is a rect SVG element.
The following code illustrates how to customize the style of the selector element:
<style scoped>
.e-diagram-resize-handle{
stroke: blue;
stroke-width: 2px;
stroke-dasharray:none;
fill: yellow;
rx:10;
ry:10;
}
</style>
The customized style appearance will look like this:
You can find a working example of this implementation in the provided sample on StackBlitz.
Sample
Conclusion
I hope you enjoyed learning how to customize the shape of the selector handles in Vue Diagram.
You can refer to our Vue Diagram feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our Vue Diagram example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!