This class is used as look-up key for registering IDataProvider for YNodes with a Graph.
Inheritance Hierarchy
DpKeyBase<TValue>
NodeDpKey
Type Parameters
- TValue
- The type of the values that are returned by the
registered with this class.
Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.algorithms.NodeDpKey
See Also
Constructors
Initializes a new instance of the NodeDpKey<TValue> class.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- valueType - Class
- The type of the values that are returned by the IDataProvider registered with this class.
- declaringType - Class
- Type that declares this key. If this key is used with the LayoutExecutorAsync, then it must be set to
null
. - name - string
- The name of this key.
Properties
Gets the name of this key.
Defined in
Methods
Returns whether this key is equal to the specified other
.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- other - DpKeyBase<TValue>
- The other key to compare with this instance.
Returns
- ↪boolean
true
if the specified key is equal to this instance; otherwise,false
.
Defined in
Returns a hash code for this instance.
Returns
- ↪number
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.