Interface for implementations that yield insets for a given INode.
Inheritance Hierarchy
INodeInsetsProvider
Remarks
Implementations of this interface will be queried from an INode's lookup method. The default implementation of a graph uses this instance by default to determine the insets of a group node.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.INodeInsetsProvider
Methods
Static Methods
Creates an implementation of the interface INodeInsetsProvider by using the given function as implementation for its getInsets method.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- getInsets - function(INode):Insets
- A function for INodeInsetsProvider's single abstract method getInsets.
Returns
- ↪INodeInsetsProvider
- An instance of the INodeInsetsProvider interface based on the given function.