documentationfor yFiles for HTML 3.0.0.1

Tabular Layout

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

Renamed, Moved, and Removed Classes and Members

The following table lists the renamed, moved, and removed classes and members of the major classes of the TabularLayout.

Renamed, moved, and removed members of classes related to the TabularLayout (classes are bold)
yFiles for HTML 2.6 yFiles for HTML 3.0 Remarks
TabularLayoutclass name unchanged
Properties in class TabularLayout
maximumDurationstopDurationThe algorithm attempts to stop within the given time, but it is not guaranteed to do so. The property was renamed to better reflect this behavior.
defaultNodeLayoutDescriptordefaultNodeDescriptor
layoutPolicylayoutMode
considerNodeLabelsremovedCan now be specified with property nodeLabelPlacement.
nodeComparerremovedCan now be specified with property freeNodeComparator.
TabularLayoutDataclass name unchanged
Properties in class TabularLayoutData
nodeHalosnodeMargins
nodeLayoutDescriptorsnodeDescriptors
partitionGridDatalayoutGridData
TabularLayoutPolicyTabularLayoutMode
TabularLayoutNodeLayoutDescriptorTabularLayoutNodeDescriptor

Changed Default Values and Behavior Changes

Edge labels are now placed using the GenericLabeling algorithm by default. To change this behavior, set the edgeLabelPlacement property to the desired value.

The nodeComparer property was removed from class TabularLayout. To specify the order of free nodes, use freeNodeComparator instead.