documentationfor yFiles for HTML 2.6

IFolderNodeConverter

Interface used by FoldingManager and IFoldingView which is responsible for managing the appearance of folder nodes.

Inheritance Hierarchy
IFolderNodeConverter

Remarks

Since createFoldingView creates views that can potentially contain nodes which have a different set of attributes, these attributes need to be determined somehow. Implementations of this interface are being called by the views to configure the appearance of these folder nodes.

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.IFolderNodeConverter

See Also

Methods

Static Methods