Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Nodes should always have positive coordinates

$
0
0

@AlexZanel wrote:

Document coordinates have a negative area on the x and y axis.
Nodes must have positive coordinates. But when dragging a node to the left or up, its coordinates will become negative.
Can I do so that after moving the node to the negative area, the coordinates of all the nodes of the diagram move in the positive direction and all the nodes again have coordinates greater than 0?
It is important that the coordinates of the nodes are not negative. But to allow the user to stretch the nodes in all directions.

https://codepen.io/alexzanel/pen/QXbPKx

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles