% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cohesive.blocks.R
\name{cohesive.blocks}
\alias{cohesive.blocks}
\title{Calculate Cohesive Blocks}
\usage{
cohesive.blocks(graph, labels = TRUE)
}
\arguments{
\item{graph}{For \code{cohesive_blocks()} a graph object of class
\code{igraph}. It must be undirected and simple. (See
\code{\link[=is_simple]{is_simple()}}.)

For \code{graphs_from_cohesive_blocks()} and \code{export_pajek()} the same graph must be
supplied whose cohesive block structure is given in the \code{blocks()}
argument.}

\item{labels}{Logical scalar, whether to add the vertex labels to the result
object. These labels can be then used when reporting and plotting the
cohesive blocks.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{cohesive.blocks()} was renamed to \code{\link[=cohesive_blocks]{cohesive_blocks()}} to create a more
consistent API.
}
\section{Related documentation in the C library}{
\href{https://igraph.org/c/html/0.10.17/igraph-Flows.html#igraph_cohesive_blocks}{\code{cohesive_blocks()}}, \href{https://igraph.org/c/html/0.10.17/igraph-Basic.html#igraph_vcount}{\code{vcount()}}
}

\keyword{internal}
