Best position to draw nodes


#1

Hi,



I’m trying to guess whats the clearest (without any nodes near) position

on view to place a new node.

I’ve tried to getElectricalFieldX, Y to see if there were nodes in a rectangle

but with no success because it seems that electrical charges of nodes do

not affect the electricalfield of the view itself…

So I’ve tried guessing how many objects are in a rectangle by selecting in

box… but with no success.

Has anybody tried to accomplish this task ? Or has any clue about it ?



Any help would be great.



Thanks in advance,



Luis.


#2

In the next release, which is about to go into a broader beta-test period, there’s a new predicate, JGoDocument.isUnoccupied, which uses the same avoidable rectangle information used by an Orthogonal JGoLink that AvoidsNodes.