Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top