documentationfor yFiles for HTML 2.6

DefaultFolderNodeConverter

An implementation of IFolderNodeConverter interface which manages the appearance of folder nodes according to a number of properties and overridable methods.

Inheritance Hierarchy
DefaultFolderNodeConverter
Implemented Interfaces

Remarks

This implementation is used by default in the FoldingManager's folderNodeConverter property.

This class has a couple of properties that can be adjusted to customize the behavior. Also, it contains a number of callback methods for conveniently overriding the implementation in custom sub classes.

Examples

manager.folderNodeConverter = new DefaultFolderNodeConverter({
  copyFirstLabel: true,
  folderNodeStyle: new ShapeNodeStyle({ fill: Fill.GRAY })
})

Type Details

yfiles module
view-folding
yfiles-umd modules
view-folding, view-graphml, view
Legacy UMD name
yfiles.graph.DefaultFolderNodeConverter

See Also

Constructors

Properties

Methods