How can I avoid that an established edge can be moved or better said, reconnected ?

So I like to avoid that one can drag the source or the target of the edge to something else.

asked 05 Nov '12, 07:52

mremersoncod's gravatar image

mremersoncod
211114
accept rate: 12%


Try mxGraph.setCellsDisconnectable(false) and mxGraph.setDisconnectOnMove(false).

link

answered 07 Nov '12, 07:51

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

thanks that worked

(07 Nov '12, 08:56) mremersoncod
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
×45

Asked: 05 Nov '12, 07:52

Seen: 1,098 times

Last updated: 07 Nov '12, 08:56