NodeHandle represents the different types of handles that can be used for manipulating nodes in the diagram.
MOVE: A handle for moving the entire node.
POINT: A handle for manipulating individual points of a node (e.g., for a polyline).
ROTATE: A handle for rotating the node.
ALTER: A handle for altering the geometry of the node.
N, S, E, W: Handles for resizing the node from the north, south, east, and west sides, respectively.
NE, NW, SE, SW: Handles for resizing the node from the northeast, northwest, southeast, and southwest corners, respectively.
NONE: Indicates that no handle is active or selected.
These handles are used to determine how user interactions affect the node, such as dragging to move, resize, or rotate the node based on the active handle.
The specific behavior of each handle is defined in the node's interaction logic and rendering code.
For example, dragging the MOVE handle would translate the node's position, while dragging a corner handle like NE would resize the node while maintaining its aspect ratio.
NodeHandle represents the different types of handles that can be used for manipulating nodes in the diagram.