NevronOpenVision
Nevron.Nov.Diagram.Layout Namespace / NMagneticFieldForce Class
Members
NMagneticFieldForce Class
The NMagneticFieldForce is an edge force, which is used to impose an edge orientation constrain
Object Model
NMagneticFieldForce Class
Syntax
Remarks
The magnetic force magnitute is computed by the following formula:

TorsionCoefficient * Math.Pow(distance, DistancePower) * Math.Pow(angle, AnglePower)

where angle is the angle, which the edge forms with the magnetic field.
Inheritance Hierarchy

System.Object
   Nevron.Nov.Dom.NNode
      Nevron.Nov.Dom.NDocumentNode
         Nevron.Nov.Dom.NAttribute
            Nevron.Nov.Layout.NLayoutComponent
               Nevron.Nov.Diagram.Layout.NForce
                  Nevron.Nov.Diagram.Layout.NMagneticFieldForce

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also