Hi,

In mxGraph is it possible to change the mouse cursor based on the properties of the vertex it is over?

I see the -- CURSOR_MOVABLE_VERTEX -- which allows me to specify the general cursor to have over a movable vertex. Is it possible to change this on a vertex by vertex basis?

Thanks, Scott

asked 12 Apr '12, 10:58

scishop's gravatar image

scishop
804
accept rate: 100%


Override mxGraph.getCursorForCell.

link

answered 12 Apr '12, 11:23

Gaudenz's gravatar image

Gaudenz ♦♦
9.9k127
accept rate: 38%

Thank you. That is perfect.

(12 Apr '12, 12:38) scishop
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×452

Asked: 12 Apr '12, 10:58

Seen: 441 times

Last updated: 12 Apr '12, 12:38

powered by BitNami OSQA