documentationfor yFiles for HTML 2.6

Properties

portAdjustmentPolicyin LayoutExecutorGets or sets the policy that specifies how port locations should be adjusted after a layout has been calculated.
portAdjustmentPolicyin LayoutExecutorAsyncGets or sets the policy that specifies how port locations should be adjusted after a layout has been calculated.
portAdjustmentPolicyin LayoutGraphAdapterGets or sets the policy that specifies how port locations should be adjusted after a layout has been calculated.

Method Return Values

from (PortAdjustmentPolicy)in PortAdjustmentPolicyConverts the argument to PortAdjustmentPolicy.

Method Parameters

applyLayout (ILayoutAlgorithm, LayoutData?, boolean?, boolean?, boolean?, boolean?, boolean?, boolean?, PortAdjustmentPolicy?, ItemMapping<ILabel,PortLabelPolicy>?, Insets?, LabelPreferredPlacementPolicy?)in IGraphRuns an ILayoutAlgorithm synchronously on the given graph.
LayoutExecutor (GraphComponent, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutor (GraphComponent, IGraph, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutorAsync (function(Object):Promise<Object>, GraphComponent, LayoutDescriptor?, LayoutData?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and optionally animate the layout on the given graphComponent.
LayoutExecutorAsync (function(Object):Promise<Object>, IGraph, LayoutDescriptor?, LayoutData?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and apply the results on the provided graph.
LayoutGraphAdapter (IGraph?, ISelectionModel<IModelItem>?, )in LayoutGraphAdapterCreates the adapter using a given IGraph and ISelectionModel<T>.
from (PortAdjustmentPolicy)in PortAdjustmentPolicyConverts the argument to PortAdjustmentPolicy.
morphLayout (ILayoutAlgorithm, TimeSpan?, LayoutData?, boolean?, boolean?, boolean?, boolean?, boolean?, boolean?, boolean?, boolean?, boolean?, PortAdjustmentPolicy?, ItemMapping<ILabel,PortLabelPolicy>?, Insets?, LabelPreferredPlacementPolicy?)in GraphComponentRuns a layout on the graph of the GraphComponent and animates the transition.