I am using grapheditor example for my app.In that example when drag & drop a vertex on the editor and when I try to move the vertex within the editor self edge is created..how to remove self edge creation of a vertex..Thanks in advance

asked 25 Feb '13, 09:05

santosh's gravatar image

santosh
312
accept rate: 66%

edited 25 Feb '13, 09:05


Hi, I resolved by using graph.getEdgeValidationError(edge,source,target)...its working or you can use graph.validateEdge(edge,source,target)

link

answered 26 Feb '13, 07:38

santosh's gravatar image

santosh
312
accept rate: 66%

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:

×3

Asked: 25 Feb '13, 09:05

Seen: 752 times

Last updated: 26 Feb '13, 07:57