documentationfor yFiles for HTML 3.0.0.1

Partial Layout

This chapter describes the major API changes to the PartialLayout introduced with yFiles for HTML 3.0 and how to migrate from the older version.

Renamed, Moved, and Removed Classes and Members

Renamed, moved, and removed API members related to PartialLayout (classes are bold)
yFiles for HTML 2.6 yFiles for HTML 3.0 Remarks
PartialLayoutclass name unchanged
Members of class PartialLayout
EdgeRoutingStrategyedgeRoutingStyle
MaximumDurationstopDurationThe algorithm tries to stop within the given time, but it is not guaranteed to do so. The property was renamed to signal this intent better.
ConfigureEdgeRouterremovedThe callback method has been removed. Use property edgeRouter to apply a custom edge routing configuration.
layoutSubgraphremoved
PartialLayoutDataPartialLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel>
Properties in class PartialLayoutData
abortHandlerremovedA LayoutAbortController is exposed by the LayoutExecutor; see Section Maximum Duration and Aborting of Algorithms for more details.
affectedEdgesscope.edgesAll settings related to the scope have been combined into the sub-data scope.
affectedNodesscope.nodesAll settings related to the scope have been combined into the sub-data scope.
directedEdgesedgeOrientationBesides the renaming, the type of the ItemMapping was changed. It now assigns to each edge a value from [-1,0,1].
nodeHalosnodeMargins
partitionGridDatalayoutGridData
sourcePortCandidatesports.sourcePortCandidatesMoved to sub-data ports. PortCandidates and PortConstraints are now combined in one concept; see migration chapter about Ports.
sourcePortConstraints
targetPortCandidatesports.targetPortCandidatesMoved to sub-data ports. PortCandidates and PortConstraints are now combined in one concept; see migration chapter about Ports.
targetPortConstraints
PartialLayoutEdgeRoutingStrategyPartialLayoutRoutingStyleThe enum that is the return type of property edgeRoutingStyle has been renamed.

Changed Default Values and Behavior Changes

The CUSTOMIZED value of the ComponentAssignmentStrategy enum has been removed. Custom components are now automatically used if they are defined with componentIds.