Control points of the edge moving

In my graph edges have points and I want to have such behavior: I drag one of edges points another points stay in place and only my point(under mouse cursor) is dragging and the distance between another points changes. How can I implement this?

Answers


Absent your sscce, you might look at these examples for some ideas: This example shows how to manipulate a line with two endpoints. This more complex example manages a List<Node> in which each node represents a Point that can be dragged.


Need Your Help

svn over HTTP proxy

linux svn ubuntu proxy

I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).

Additional page property fields in TYPO3 CMS 6.2

typo3 fluid typo3-6.2.x

What would be the recommended method to add custom page property fields in TYPO3 6.2?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.