Hi Philipp,
We have analyzed your query and the responses are below.
Query 1: When we drop the node in negative side of the diagram page, we have set the dropped node’s “Offset X” or “Offset Y” to zero to prevent dropping the node in a negative side of the diagram page.
Query 2: If any node is dropped from the SymbolPalette or drag and drop the node on to the another node (overlapping with any node), we have to find out the nearest empty space and will place the node to that position to avoid overlapping.
We have created a simple sample for your reference. In that sample, if you drag and drop the node in negative side, it will be move to the positive coordinate. And also, if you drop the node from symbolpalette or drag and drop the node on to any node (overlapping with any node), it will be move to the nearest empty space. For more information please refer the sample, which can be downloaded from the following location.
Please let us know if you have any concerns.
Regards,
Sudhakar.C
PreventFromOverlapping_63f73ab8.zip