Hi there, \nAnyone knows how can I connect a node to itself? The behavior must be the same as the diagram.ly does. It has to be done without ports (like diagram.ly).\nBest regards, \nCristian.

asked 16 Mar '12, 12:57

cristisan's gravatar image

cristisan
135
accept rate: 0%


Try mxGraph.setAllowLoops(true)

link

answered 17 Mar '12, 00:50

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

Thanks! I've to read the API again... \nSorry for this newbie question.

(19 Mar '12, 06:21) cristisan
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:

×39

Asked: 16 Mar '12, 12:57

Seen: 851 times

Last updated: 19 Mar '12, 06:21