Feature: Add igraph count triangles and rename igraph adjacent triangles
Feature: Add igraph count triangles and rename igraph adjacent triangles: a task in LegoFlow-SWE (Harbor dataset). We need a new function to compute the total number of undirected triangles in a graph. Currently, the library provides igraph adjacent triangles (which counts the number of triangles…
The task
We need a new function to compute the total number of undirected triangles in a graph. Currently, the library provides `igraph_adjacent_triangles` (which counts the number of triangles each vertex participates in), but there is no function to obtain the total triangle count. Additionally, the naming of the existing…
Part of Lego-X/LegoFlow-SWE.