Skip to content
  1. API
  2. Types

Dependency

Type: object|true

true indicates that the rule/class depends on the existence of the node(s)/edge(s), but not on their attributes

Properties

  • attributes(optional) "all"|Array<PropertyPath> List of attributes the rule/class depends on
  • data(optional) boolean Indicates if the result of the rule is based on the node/edge's data
  • hover(optional) boolean Indicates if the result of the rule changes depending on whether the node/edge is hovered or not
  • selection(optional) boolean Indicates if the result of the rule changes depending on whether the node/edge is selected or not