A force that repels nodes from each other when their bounding boxes overlap. Mostly, it is useful for preventing from text overlapping.
Sets (or gets) the buffer that is maintained around each node. The default value is 1.
the buffer, or a function that computes the buffer for each node
this TextProtect if called with one argument, the current value if called with no arguments
Sets (or gets) the strength of this force. If called with no arguments this method returns the current strength. The default value is 50.
the strength, or a function that computes the strength for each node
this TextProtect if called with one argument, the current value if called with no arguments
Gets (or sets) whether this force is enabled. If passed with no arguments, returns true if this force is enabled. If passed with a boolean, it enables or disables the Force and returns this Force.
true or false if called with no arguments, this force if called with one.