Policy to determine how the content rectangle of the GraphComponent should be recalculated after interactive graph changes.
Type Details
- yfiles module
- view-editor
- yfiles-umd modules
- view-editor, view-table, view
- Legacy UMD name
- yfiles.input.AdjustContentRectPolicy
See Also
Constants
The new content rectangle is recalculated with the new bounds of the graph.
Sample Graphs
The new content rectangle is recalculated with the union of the previous content rectangle and the new bounds of the graph.
Sample Graphs
Static Methods
Converts the argument to AdjustContentRectPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - AdjustContentRectPolicy
- The value to convert to AdjustContentRectPolicy.
Returns
- ↪AdjustContentRectPolicy
- Either
value
if it is already a AdjustContentRectPolicy or an appropriate converted value.