% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot.R
\name{render_legend_splot}
\alias{render_legend_splot}
\title{Render Legend for splot}
\usage{
render_legend_splot(
  groups,
  node_names,
  nodes,
  node_colors,
  position = "topright",
  cex = 0.8,
  show_edge_colors = FALSE,
  positive_color = "#2E7D32",
  negative_color = "#C62828",
  has_pos_edges = FALSE,
  has_neg_edges = FALSE,
  show_node_sizes = FALSE,
  node_size = NULL
)
}
\arguments{
\item{groups}{Group assignments for nodes.}

\item{node_names}{Names for legend entries.}

\item{nodes}{Node data frame.}

\item{node_colors}{Vector of node colors.}

\item{position}{Legend position.}

\item{cex}{Text size.}

\item{show_edge_colors}{Logical: show positive/negative edge color legend?}

\item{positive_color}{Positive edge color.}

\item{negative_color}{Negative edge color.}

\item{has_pos_edges}{Logical: are there positive weighted edges?}

\item{has_neg_edges}{Logical: are there negative weighted edges?}

\item{show_node_sizes}{Logical: show node size legend?}

\item{node_size}{Vector of node sizes.}
}
\description{
Renders a comprehensive legend showing node groups, edge weight colors,
and optionally node sizes.
}
\keyword{internal}
