Skip to content
  1. API
  2. Types

NodeAttributesValue

Type: object

Object following the same structure as NodeAttributes, with the addition that each property can be replaced by a function that return a value for this property (or an object if the property has multiple nested sub-properties). undefined can be explicitly specified in any field to indicate that the attribute should not be modified (useful when updating a class/rule). When working with a large number of nodes/edges, avoid as much as possible the usage of functions.