documentationfor yFiles for HTML 3.0.0.3

FoldingEdgeState

A data container representing the state of an edge whose source and/or target node are collapsed.

Inheritance Hierarchy
FoldingLabelOwnerState
FoldingEdgeState

Remarks

When the properties of the state are changed, these changes are reflected immediately in the views.

This class cannot be instantiated

Examples

const state = manager.getFoldingEdgeState(
  new FoldingEdgeStateId(
    masterEdge,
    masterSource,
    true,
    masterTarget,
    false,
  ),
)
state.style = new PolylineEdgeStyle({ stroke: Stroke.RED })
const state = manager.getFoldingEdgeState(
  new FoldingEdgeStateId(
    masterEdge,
    masterSource,
    true,
    masterTarget,
    false,
  ),
)
const portState = state.sourcePort
portState.locationParameter = FreeNodePortLocationModel.RIGHT

Type Details

yFiles module
view

See Also

Properties

Methods