The InteractiveOrganicLayouter type exposes the following members.

Constructors

  NameDescription
Public methodInteractiveOrganicLayouter
Create a new instance of the InteractiveOrganicLayouter.

Methods

  NameDescription
Public methodAddStructureUpdate
Adds a structural update to the queue.
Public methodCanLayout
Returns whether this layouter can layout the given graph.
Public methodCommitPositions
This method writes the calculated positions (represented by the internal data structure of this layouter) to the LayoutGraph.
This method must only be called while the layouter is running Running .

There may occur synchronization issues, if DoLayout(LayoutGraph) is not called using a CopiedLayoutGraph.

Public methodCommitPositionsSmoothly
This method transfers the calculated positions (represented by the internal data structure of this layouter) to the LayoutGraph.
This method must only be called while the layouter is running Running .

The positions are not transferred directly.

Public methodDoLayout
Calculates the layout for the graph.
Public methodEnableOnlyCore
Makes sure that the core of this layouter will not use the usual ILayoutStage s, like ComponentLayouter , ParallelEdgeLayouter , etc.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCenter
Return the actual center of the node
Public methodGetCenterX
Return the actual center of the node.
Public methodGetCenterY
Return the actual center of the node.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetStress
Gets the stress for the given node.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCenter
Sets the center for the node.
Public methodSetCenterX
Sets the center of the node.
Public methodSetCenterY
Sets the center of the node.
Public methodSetInertia
Set the inertia for the node.
Public methodSetPreferredEdgeLength
Sets the preferred edge length for the given edge.
Public methodSetRadius
Sets the radius for the given node
Public methodSetStress
Sets the stress for the given node.
Public methodStartLayout
Calls DoLayout(LayoutGraph) in a separate, newly started Thread.
Public methodStartLayoutSingleThreaded
Creates a context object that provides methods to continue and stop the layout calculation.
Public methodStop
Stops the layouter.
Public methodStopAndWait
Stops a previously started layout Thread and blocks until the layout is completed.
Public methodSyncStructure()()()()
This method synchronizes the CopiedLayoutGraph given as parameter to DoLayout(LayoutGraph) with the original graph.
Public methodSyncStructure(Boolean)
This method synchronizes the CopiedLayoutGraph given as parameter to DoLayout(LayoutGraph) with the original graph using a blocking call.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWakeUp
This method may be called if something has "changed" and the layouter shall restart/continue layout calculation.

Extension Methods

  NameDescription
Public Extension MethodDoLayout
Convenience method that runs a layouter on a graph.
(Defined by LayoutExtensions.)

Properties

  NameDescription
Public propertyAutomaticStructureUpdateEnabled
Determines whether this algorithm performs automatic structure updates.
Public propertyLastWakeupTime
The time when the last wake-up has occurred
Public propertyMaxTime
The maximal time the layouter will run (in milliseconds).
Public propertyOutputRestriction
The current OutputRestriction instance set for this instance.
Public propertyPreferredEdgeLength
The preferred edge length.
Public propertyPreferredNodeDistance
The preferred node distance.
Public propertyQuality
The quality time ratio set.
Public propertyRunning
Specifies whether the layouter is running at the moment.
Public propertySleeping
Specifies whether the layouter is sleeping.
Public propertyStopped
Specifies whether the layouter has been stopped.
Public propertyWorkingRatio
The actual working ratio.

See Also