How can I make my graph read-only?

asked 18 Apr '11, 22:35

ritwika07's gravatar image

ritwika07
214
accept rate: 0%

edited 15 Aug '12, 07:19

David's gravatar image

David
4.9k21831


mxGraphComponent.setEnabled(false)

in Java

mxGraph.setEnabled(false);

in JavaScript

link

answered 20 Apr '11, 00:10

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

edited 22 Jan '13, 16:10

David's gravatar image

David
4.9k21831

Thanks, it is working fine. But there is one small problem, now I am not even able to expand or collapse child vertices of particular vertex.

(20 Apr '11, 05:09) harika
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:

×194
×1

Asked: 18 Apr '11, 22:35

Seen: 2,135 times

Last updated: 22 Jan '13, 16:10