documentationfor yFiles for HTML 2.6

IFoldingEdgeFactory

The interface of the factory that is passed to implementations of the IFoldingEdgeConverter's addFoldingEdge method.

Inheritance Hierarchy
IFoldingEdgeFactory

Remarks

Implementors of the IFoldingEdgeConverter need to use this interface to tell the calling IFoldingView implementation how to add the folding edge to the given view. They need to call exactly one of the following methods for each factory:
  • addAsSeparateEdge – Call this to add a separate folding edge for the given master edge to the view. Pass the return value of that method to the caller.
  • addToExistingFoldingEdge – Call this to reuse a folding edge that is already part of the view as a representative for the master edge. Pass the return value of that method to the caller.
  • excludeFoldingEdge – Call this in order not to add a folding edge for the master edge to the view at all. Pass null to the caller.

Type Details

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

See Also

Methods

Static Methods