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?
Asked
Active
Viewed 251 times
2
-
4you have to change your Point definitions in the Line 87. – mKorbel Nov 30 '11 at 09:51
-
1Show us what you have tried so far, please. – fnst Nov 30 '11 at 11:37
-
Yes, an [sscce](http://sscce.org/) would help clarify your question. – trashgod Nov 30 '11 at 15:46
1 Answers
1
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.