Function retworkx::is_weakly_connected [−][src]
pub fn is_weakly_connected(graph: &PyDiGraph) -> PyResult<bool>
Check if the graph is weakly connected
:param PyDiGraph graph: The graph to check if it is weakly connected
:returns: Whether the graph is weakly connected or not :rtype: bool
:raises NullGraph: If an empty graph is passed in