MCPcopy Index your code
hub / github.com/plotly/plotly.js / connectedComponents

Function connectedComponents

stackgl_modules/index.js:36084–36089  ·  view source on GitHub ↗
(cells, vertex_count)

Source from the content-addressed store, hash-verified

36082
36083//Computes connected components for a cell complex
36084function connectedComponents(cells, vertex_count) {
36085 if(vertex_count) {
36086 return connectedComponents_dense(cells, vertex_count)
36087 }
36088 return connectedComponents_sparse(cells)
36089}
36090__webpack_unused_export__ = connectedComponents
36091
36092

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…