Sets the kinds of modifications that end-users are permitted to perform on the node.
Namespace: MindFusion.Diagramming
Package: DiagramNode.js
JavaScript Copy Code |
---|
function setEnabledHandles (value) |
Disabling some selection handles allows restricting the types of modifications that users can perform on a node. Each manipulation handle can be enabled or disabled by setting or clearing the respective flag in the combination.
For example, to make a node resizable only horizontally, set this property to a combination of the Move, ResizeMiddleLeft and ResizeMiddleRight flags. That will disable all manipulation handles, except the left and right ones, which allow horizontal resizing, and the central one allowing movement of the node.