Make ToolTip Resizable

I want to add a resizable feature to the Tooltip. I have added the code for your reference.
Code:


Diagram:

Most Tools only work on regular Parts such as Nodes or Links, not Adornments. (And certainly not on HTML, if that had been the case for your tooltips, which it is not.)

Why do you want users to be able tor resize a “ToolTip”? It’s supposed to be transient, typically disappearing in 5 seconds (that’s controlled by ToolManager.toolTipDuration). And presumably the tooltip for each node will look different due to different contents, so any manual resizing probably wouldn’t apply to the same tooltip for a different node.

Furthermore it’s usually hard to get to the tooltip without its disappearing, since usually the mouse needs to pass over other objects or nothing at all in order to get to the tooltip in order to resize it.