documentationfor yFiles for HTML 3.0.0.3

Properties

portAdjustmentPoliciesin LayoutExecutorGets or sets the mapping from ports to a policy that specifies how port locations should be adjusted after a layout has been calculated.
portAdjustmentPoliciesin LayoutExecutorAsyncGets or sets the mapping from ports to a policy that specifies how port locations should be adjusted after a layout has been calculated.
portAdjustmentPoliciesin LayoutGraphAdapterGets or sets the mapping from ports to a policy that specifies how port locations should be adjusted after a layout has been calculated.

Method Return Values

from (PortAdjustmentPolicy)in PortAdjustmentPolicyConverts the given argument to an enum constant of this enum type.

Method Parameters

applyLayout (ILayoutAlgorithm, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)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<INode,IEdge,ILabel,ILabel>?, )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<INode,IEdge,ILabel,ILabel>?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and apply the results on the provided graph.
from (PortAdjustmentPolicy)in PortAdjustmentPolicyConverts the given argument to an enum constant of this enum type.
getName (PortAdjustmentPolicy)in PortAdjustmentPolicyReturns the name of the given enum constant.
applyLayoutAnimated (ILayoutAlgorithm, TimeSpan?, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, boolean?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, Insets?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)in GraphComponentRuns a layout on the graph of the GraphComponent and animates the transition.