% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_ggnetview.R
\name{theme_ggnetview}
\alias{theme_ggnetview}
\title{ggNetView Theme}
\usage{
theme_ggnetview(
  base_size = 12,
  base_family = NULL,
  title_face = "bold",
  title_size = 18,
  title_hjust = 0.5,
  subtitle_size = 12,
  caption_size = 9,
  background = "white",
  foreground = NULL,
  border = FALSE,
  plot_margin = ggplot2::margin(20, 20, 20, 20),
  grid = c("none", "x", "y", "both")
)
}
\arguments{
\item{base_size}{Base text size. Default 12.}

\item{base_family}{Base font family. Default NULL.}

\item{title_face}{Title font face (e.g., "bold"). Default "bold".}

\item{title_size}{Title font size. Default 18.}

\item{title_hjust}{Title horizontal justification (0-1). Default 0.5 (center).}

\item{subtitle_size}{Subtitle size. Default 12.}

\item{caption_size}{Caption size. Default 9.}

\item{background}{Plot background color; NULL for transparent. Default "white".}

\item{foreground}{Foreground color for strip background/border; NULL to skip.}

\item{border}{Logical; draw panel border with `foreground` color if TRUE. Default FALSE.}

\item{plot_margin}{Outer plot margin (ggplot2::margin). Default
\code{margin(20, 20, 20, 20)} (in pt). Bumped from \code{10} to
give labels rendered outside the plot panel (\code{coord_equal(clip = "off")}
in \code{ggNetView()}) enough room to render without being
cropped by the device boundary.}

\item{grid}{"none","x","y","both" to toggle major grid lines. Default "none".}
}
\value{
A ggplot2 theme object.
}
\description{
ggNetView Theme
}
\examples{
library(ggplot2)
library(ggNetView)
ggplot(mtcars, aes(wt, mpg, color = hp)) +
geom_point(size = 2) +
ggtitle("Example of ggNetView Theme") +
theme_ggnetview()

}
