This utility class is used in NodeBuilder as an internal cache data structure for node data.
Constructs a new node cache.
parent
A reference to a parent cache.
Default is null.
The id of the cache.
A weak map for managing node data.
Reference to a parent node cache.
Default is null.
Returns the data for the given node.
node
The node.
Returns: The data for the node.
Sets the data for a given node.
node
The node.
data
The data that should be cached.