% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality_measures.R
\name{plot.net_centrality}
\alias{plot.net_centrality}
\title{Plot centrality measures}
\usage{
\method{plot}{net_centrality}(
  x,
  reorder = TRUE,
  ncol = 3L,
  type = c("bar", "line", "heatmap"),
  scales = c("free_x", "fixed"),
  profile_scale = c("measure", "none"),
  labels = TRUE,
  drop_zero = FALSE,
  ...
)
}
\arguments{
\item{x}{A \code{net_centrality} object returned by
\code{\link{net_centrality}}.}

\item{reorder}{Logical. Reorder states within each centrality panel by
centrality value. Default: \code{TRUE}.}

\item{ncol}{Integer. Number of facet columns.}

\item{type}{Plot type. \code{"bar"} shows one faceted horizontal bar chart
per measure; \code{"line"} shows state profiles as lines across measures
(the value \code{"profile"} is still accepted as an alias);
\code{"heatmap"} shows a states-by-measures tile grid, each measure
scaled to 0--1 for cross-measure comparability with the raw value
printed in the tile.}

\item{scales}{Facet scale mode. \code{"free_x"} uses free centrality axes;
\code{"fixed"} keeps a common centrality axis.}

\item{profile_scale}{Scaling used by \code{type = "line"}.
\code{"measure"} rescales each centrality measure to 0--1 before drawing
cross-measure profiles; \code{"none"} uses raw values.}

\item{labels}{Logical. Add compact value labels.}

\item{drop_zero}{Logical. Drop measures whose values are all (near) zero
so empty panels do not waste space. Default: \code{FALSE} (every
requested measure is shown).}

\item{...}{Additional arguments ignored.}
}
\value{
A \code{ggplot} object.
}
\description{
Plot centrality measures
}
