How can i highlight the cell with red border, as in case of a multigraph disabled graph?\nI override the method isvalidsource() & isvalidTarget(). But cell is not highlighted when the cell is invalid.

asked 01 Feb '12, 01:54

Saju%20Chithran's gravatar image

Saju Chithran
accept rate: 27%

In mxConnectionHandler, remove the isValidSource branch on line 224 and add the following check in 235:

else if (!isValidSource(state.getCell()))\n{\n  return false;\n}\n

answered 01 Feb '12, 05:43

Gaudenz's gravatar image

accept rate: 39%

Thanks Gaudenz, it works perfect!!!

(01 Feb '12, 17:47) Saju Chithran
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 01 Feb '12, 01:54

Seen: 1,370 times

Last updated: 01 Feb '12, 17:47