documentationfor yFiles for HTML 2.6

IFoldingEdgeConverter

Interface used by FoldingManager and IFoldingView which is responsible for managing edges between folder nodes.

Remarks

Since createFoldingView creates views that can potentially contain edges that connect to nodes which have a different set of attributes, these edges might need to have a separate set of attributes, too. Implementations of this interface are being called by the IFoldingViews to configure these kind of folding edges.

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

See Also

Sample Graphs

Methods

Static Methods