PropertyIndex
Class defined in model/data/PropertyIndex.js#6 inherits from

Get all indexed nodes for a given path.

Parameters
pathArray.
Returns

A node or an object with ids and nodes as values.

Collects nodes recursively.

Returns

An object with ids as keys and nodes as values.

Check if a node should be indexed.

Used internally only. Override this in subclasses to achieve a custom behavior.

Parameters
Node
Returns
Boolean

true if the given node should be added to the index.

Called when a node has been created.

Override this in subclasses for customization.

Parameters
nodeNode
  • Called when a node has been deleted.
  • Override this in subclasses for customization.
  • @private
  • @param {model/data/Node} node

Called when a property has been updated.

Override this in subclasses for customization.

Parameters
nodeNode