Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NForceDirectedLayout Class
Fields Properties Methods Events


In This Topic
    NForceDirectedLayout Class Members
    In This Topic

    The following tables list the members exposed by NForceDirectedLayout.

    Protected Fields
     NameDescription
    Protected Field (Inherited from Nevron.Diagram.Layout.NLayout)
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the bounce back force, which can be used to repulse the vertices, whose bodies overlap  
    Public PropertyGets/sets the force enviroment, which is used to control global settings about the environment in which forces operate  
    Public PropertyControls the initial placement of the fixed vertices  
    Public PropertyControls the initial placement of the free vertices  
    Public PropertyGets/sets the gravity force, which attracts vertices to the current barycenter of the graph  
    Public PropertyGets/sets the magnetic field force, which can be used to impose an edge orientation  
    Public PropertyGets/sets the maximum iterations in which the layout must try to reach equilibrium. By default set to 500  
    Public PropertyGets/sets the maximum time in milliseconds in which the layout must try to reach equilibrium. By default set to 5000.  
    Public PropertyGets/sets the minial delta measure for distances, which can become zero  
    Public PropertyDetermines whether the layout is allowed to use multiple threads for its calculations. If set to true, this will lead to improved perfomance on multi-core processors. (Inherited from Nevron.Diagram.Layout.NLayout)
    Public PropertyGets/sets the name of the layout (Inherited from Nevron.Diagram.Layout.NLayout)
    Public PropertyGets/sets the plug spacing to apply when routing duplicate edges  
    Public PropertyGets/sets the region layout used for the optional final arrangement of the regions (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Public PropertyGets/sets the stop force. If all current forces are smaller than this force, then the layout is automatically stopped.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates an identical copy of this attribute (Inherited from Nevron.Dom.NAttribute)
    Public MethodOverridden. Called when the measurement unit of the measurements stored in the layout have changed and all measurements must be converted to the new unit  
    Public MethodOverridden.   
    Public MethodCalled to create any non serialized objects, which the holder posseses (Inherited from Nevron.Dom.NAttribute)
    Public MethodObtains the reference provider to which the object is currently attached (Inherited from Nevron.Dom.NAttribute)
    Public MethodApplies the layout to the specified objects (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Public MethodCalled to perform a history action (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled by history when the object state has changed from history (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled by history when the object state is about to be changed from history (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled to provide a reference to the object of the specified type (Inherited from Nevron.Dom.NAttribute)
    Public MethodOverriden to return the layout name (Inherited from Nevron.Diagram.Layout.NLayout)
    Public MethodOverridden.   
    Public MethodCalled to update the references stored by the object (Inherited from Nevron.Dom.NAttribute)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded. Appends the provided performance data to the performance info. (Inherited from Nevron.Diagram.Layout.NLayout)
    Protected MethodAppends a separator to the performance info. (Inherited from Nevron.Diagram.Layout.NLayout)
    Protected MethodAppends a new line to the performance info. (Inherited from Nevron.Diagram.Layout.NLayout)
    Protected MethodCommits the current transaction (Inherited from Nevron.Dom.NAttribute)
    Protected MethodOverridden. Called in the graph building process to create a body for each edge  
    Protected MethodCalled to create graph builder which is used to build the arranged graphs or trees from the input set of objects (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Protected MethodOverriden to split the object regions into graphs, and create a graph region for each resulting graph. (Inherited from Nevron.Diagram.Layout.NGraphLayout)
    Protected MethodOverridden. Called in the graph building process to create a body for each vertex  
    Protected MethodUnlocks the history service. Pair it with the StartProperty method (Inherited from Nevron.Dom.NAttribute)
    Protected MethodGets a list of the currently declared forces  
    Protected MethodOverridden. Overriden to perform the force directed layout on the specified graph  
    Protected MethodCalled to layout the content of the specified region. (Inherited from Nevron.Diagram.Layout.NGraphLayout)
    Protected MethodCalled to layout the regions (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Protected MethodCalled to layout the content of all regions (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Protected MethodCalled when this attribute has changed (Inherited from Nevron.Dom.NAttribute)
    Protected MethodCalled on each layout iteration  
    Protected MethodOverridden. Called after the layout of the specified graph  
    Protected MethodOverridden. Called before the layout of the specified graph  
    Protected MethodCalled on each layout pass  
    Protected MethodGeneral property changed handler (Inherited from Nevron.Dom.NAttribute)
    Protected MethodGeneral property changing handler (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely pauses the history service (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords an action (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely records a custom operation in the history service to which the attribute is connected (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords the state of the specified property before it is changed (Inherited from Nevron.Dom.NAttribute)
    Protected MethodOverloaded. Records the entire state of the attribute (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely resumes the history service (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRolls back the current transaction (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords the state of the specified property before it is changed and locks the history service. Pair it with the EndProperty method. (Inherited from Nevron.Dom.NAttribute)
    Protected MethodStarts a new transaction (Inherited from Nevron.Dom.NAttribute)
    Protected MethodCalled to update the objects from the bodies contained in all regions (Inherited from Nevron.Diagram.Layout.NGraphPartsLayout)
    Top
    Public Events
     NameDescription
    Public EventLayout events category event, which is raised on the completion of each iteration of a force directed layout. The implementation installs an event listener for this event of this node in the layout events category.  
    Public EventOccurs when a graph has been layed out by this layout. (Inherited from Nevron.Diagram.Layout.NGraphLayout)
    Public EventOccurs when a graph is about to layed out by this layout. (Inherited from Nevron.Diagram.Layout.NGraphLayout)
    Public EventLayout events category event, which is raised on the completion of each pass of a force directed layout. The implementation installs an event listener for this event of this node in the layout events category.  
    Top
    See Also