Skip to content
  1. API

PropertyInformation

Retrieved from watcher.getPropertyInfo().

propertyInformation.getBoundaries()

If there is at least one numerical value for this property, returns the minimum and maximum value for this property across the graph. Returns null if there is no numerical value for that property.

Returns

  • null|{min: number, max: number}

propertyInformation.getCount()

Returns the number of nodes/edges for which the property is different from undefined

Returns

  • number

propertyInformation.getType()

Returns the type of the property.

Returns

  • "any"|"number"|"undefined" If there is at least one non-number (excluding undefined) value, returns 'any'. If there are only numerical values for that property, returns 'number'. If no node/edge has a value for that property, returns 'undefined'.

propertyInformation.getValueCount(value)

Returns the number of nodes/edges for which the property has the specified value.

Arguments

  • value any

Returns

  • number

propertyInformation.getValues()

Returns the different values for this property.

Returns

  • Array<any>

propertyInformation.isNode()

Indicates if it is a node or edge property.

Returns

  • boolean