documentationfor yFiles for HTML 2.6

Properties

labelPreferredPlacementPolicyin LayoutExecutorGets or sets how ILabels at IEdges should be placed by the layout algorithm.
labelPreferredPlacementPolicyin LayoutExecutorAsyncGets or sets how ILabels at IEdges should be placed by the layout algorithm.
labelPreferredPlacementPolicyin LayoutGraphAdapterGets or sets how ILabels at IEdges should be placed by the layout algorithm.

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.
from (LabelPreferredPlacementPolicy)in LabelPreferredPlacementPolicyConverts the argument to LabelPreferredPlacementPolicy.
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>.
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.