Updated on 2022-08-08 GMT+08:00

Triangle Count

Overview

The Triangle Count algorithm counts the number of triangles in a graph. More triangles mean higher node association degrees and closer organization relationships.

Application Scenarios

This algorithm is often used to measure the structure features of a graph.

Parameter Description

Parameter

Mandatory

Description

Type

Value Range

statistics

No

Whether to export only the total statistical result.

  • true: Export only the statistical result.
  • false: Export the number of triangles corresponding to each vertex.

Boolean

true or false. The default value is true.

Instructions

The edge direction and multi-edge situation are not considered.

Example

Enter statistics = true. The JSON result is displayed in the query result area.