documentationfor yFiles for HTML 3.0.0.2

Important API Removals

A selection of important API members that are no longer part of yFiles for HTML 3.0 is presented in table Removed layout API members. Warning: this is not a complete list of removed API members!

Removed layout API members
Member Replacement in yFiles for HTML 3.0
Algorithm classes with static methods (e.g. Centrality, ShortestPaths)All algorithms available to be run directly on the LayoutGraph are now collected in class LayoutGraphAlgorithms.
AspectRatioTreeLayoutTreeLayout with subtree placer AspectRatioSubtreePlacer.
BufferedLayoutcreateCopy; see Copying the Graph
BusRouterBus routing feature of EdgeRouter via property EdgeRouterData<TNode, TEdge, TNodeLabel, TEdgeLabel>.buses.
ChannelEdgeRouter (including OrthogonalSegmentDistributionStage and OrthogonalPatternEdgeRouter)To configure the EdgeRouter to generate a similar style, set the stopDuration property to zero and use the predefined cost configuration LOW_QUALITY.
ClassicOrganicLayoutIt is superseded by the more powerful OrganicLayout.
ClassicTreeLayoutTreeLayout
CompactOrthogonalLayoutUse OrthogonalLayout or, for more compact results, consider using HierarchicalLayout with low distance settings.
FamilyTreeLayoutNone
FixPortLocationStageTo correct the port locations after applying a layout, use the class PortPlacementStage.
GraphTransformerFactory methods on class LayoutTransformations provide stages with the same functionality.
HandleNaNCoordinatesStageNone
IDataProviderThe generic IMapper<K,V> interface.
LayoutMultiplexerThe features of ComponentLayout or RecursiveGroupLayout
MultiStageLayoutStages are now configured on layout algorithms via the property LayoutStages.
NodeHaloHalos are now specified as insets in the corresponding layout data (e.g. nodeMargins).
NormalizeGraphElementOrderStagenodeComparator and edgeComparator
SingleCycleLayoutThe CircularLayout with partitioning policy SINGLE_CYCLE can be used instead.
SnapOuterPortsToNodeBorderStageportAdjustmentPolicies