Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Is there a way to change the cursor while a node is being dragged?

$
0
0

@Hesh wrote:

I am unable to find an example or documentation to specify the cursor, while a node or group member is being dragged. This also seems to be the case for a new link being drawn, or an existing link being relinked, by dragging. Basically I am unable to find a way to specify the cursor, while the drag is in progress.

For the links, I was able to set the cursor in the function for diagram.toolManager.relinkingTool.linkValidation, but I have had no luck with the nodes, using either dragEnter or Group.MemberValidation.

If the cursor is set in the dragEnter method, it does temporarily change to the one I specify, but then reverts to the default.

Even for the links, even though I seemed to have achieved what I desired, I feel what I did is a hack.

I would appreciate any tips, or to be guided to the relevant documentation.

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles