MCPcopy Create free account
hub / github.com/Pometry/Raphtory / weakly_connected_components

Function weakly_connected_components

raphtory/src/python/packages/algorithms.rs:138–142  ·  view source on GitHub ↗
(
    graph: &PyGraphView,
)

Source from the content-addressed store, hash-verified

136#[pyfunction]
137#[pyo3(signature = (graph))]
138pub fn weakly_connected_components(
139 graph: &PyGraphView,
140) -> OutputTypedNodeState<'static, DynamicGraph> {
141 components::weakly_connected_components(&graph.graph).to_output_nodestate()
142}
143
144/// Strongly connected components
145///

Callers 8

connected_componentsMethod · 0.90
graphgen_large_concompFunction · 0.50
mainFunction · 0.50
test_ccFunction · 0.50
test_multiple_componentsFunction · 0.50
mainFunction · 0.50
try_mainFunction · 0.50

Calls 1

to_output_nodestateMethod · 0.80

Tested by 3

test_ccFunction · 0.40
test_multiple_componentsFunction · 0.40