Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NForceEnvironment Class
Members


In This Topic
    NForceEnvironment Class
    In This Topic
    The NForceEnvironment class is used to encapsulate the force directed layout settings related to the global environment in which the forces operate
    Object Model
    NForceEnvironment Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
    Public Class NForceEnvironment 
       Inherits Nevron.Dom.NAttribute
       Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NForceEnvironment
    [System.ComponentModel.TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    public class NForceEnvironment : Nevron.Dom.NAttribute, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Remarks
    The force enviroment controls the amount of force actually applied to the vertices in a force directed layout. It defines the notion of global and local temperatures.

    If the UseGlobalTemperature property is set to true, the enviroment will gradually decrease the area in which the vertices are allowed to move (e.g. will perform global cooling). At the first iteration this area will be equal to the MaxForce property, and will gradually decrease to 0, as the layout progresses.

    If the UseLocalTemperature property is set to ture, the enviroment will assign a local temperature to each vertex. The force applied to the vertex is magnified by its local temperature.

    If the vertex is constantly moving in approximately the same direction (plus-minus the allowed deviation controlled by the LocalDirectionDeviation property), its temperature will increase (with the value specified by the LocalWarmingStep property) and it will speed up.

    If the vertex is oscilating or rotating its temperature will decrease and it will slow down (with the value specified by the LocalCoolingStep property).

    The maximum value of the local temperature is specified by the MaxLocalTemperature property.

    Inheritance Hierarchy

    System.Object
       Nevron.Dom.NAttribute
          Nevron.Diagram.Layout.NForceEnvironment

    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