Skip to content
  1. API
  2. Types

NodeDependencies

Type: object|null

If null, indicates that the node attributes defined by the rule/class does not depend on any attribute of any node/edge. If unspecified, the self, adjacentNodes and adjacentEdges fields are treated as {attributes: "all", data: true, selection: true, hover: false}, and the allNodes and allEdges fields are treated as null.

Properties

  • adjacentEdges(optional) Dependency Indicates that the rule/class for that node should be updated when the specified attributes of the node's adjacent edges change
  • adjacentNodes(optional) Dependency Indicates that the rule/class for that node should be updated when the specified attributes of the node's adjacent nodes change
  • allEdges(optional) Dependency Indicates that the rule/class for that node should be updated when the specified attributes of any edge change
  • allNodes(optional) Dependency Indicates that the rule/class for that node should be updated when the specified attributes of any node change
  • self(optional) Dependency Indicates that the rule/class for that node should be updated when the specified attributes of the node change