Nevron .NET Vision Documentation
NForce Class
Members 


The NForce class serves as base class for all types of forces, which can be used in force directed layouts
Object Model
NForce Class
Syntax
'Declaration
 
<System.ComponentModel.TypeConverterAttribute("Nevron.Diagram.Layout.l1IIlllIl1, Nevron.Diagram, Version=19.5.8.12, Culture=neutral, PublicKeyToken=58d0c39aedb7cb73")>
Public Class NForce 
   Inherits Nevron.Dom.NAttribute
   Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
'Usage
 
Dim instance As NForce
[System.ComponentModel.TypeConverter("Nevron.Diagram.Layout.l1IIlllIl1, Nevron.Diagram, Version=19.5.8.12, Culture=neutral, PublicKeyToken=58d0c39aedb7cb73")]
public class NForce : Nevron.Dom.NAttribute, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
Remarks
Each force can be enabled or disabled, which is controlled by the Enabled property. When disabled the force will not be taken into account by the force directed layout. This lets you easily turn on/off different force configurations.

Provided that the force is enabled, it activates at the pass, specified by the ActivationPass property. The force directed layout will perform as many passes as the maximum ActivationPass setting of all currently enabled forces.

Inheritance Hierarchy

System.Object
   Nevron.Dom.NAttribute
      Nevron.Diagram.Layout.NForce
         Nevron.Diagram.Layout.NBarycenterForce
         Nevron.Diagram.Layout.NBounceBackForce
         Nevron.Diagram.Layout.NDesiredDistanceForce
         Nevron.Diagram.Layout.NElectricalForce
         Nevron.Diagram.Layout.NGravityForce
         Nevron.Diagram.Layout.NMagneticFieldForce
         Nevron.Diagram.Layout.NSpringForce

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NForce Members
Nevron.Diagram.Layout Namespace

Send Feedback