% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot-params.R
\name{resolve_edge_colors}
\alias{resolve_edge_colors}
\title{Resolve Edge Colors}
\usage{
resolve_edge_colors(
  edges,
  edge.color = NULL,
  posCol = "#2E7D32",
  negCol = "#C62828",
  default_col = "gray50"
)
}
\arguments{
\item{edges}{Edge data frame with from, to, weight columns.}

\item{edge.color}{User-specified edge color(s) or NULL.}

\item{posCol}{Color for positive weights.}

\item{negCol}{Color for negative weights.}

\item{default_col}{Default color when no weight.}
}
\value{
Vector of colors for each edge.
}
\description{
Determines edge colors based on weights, explicit colors, or defaults.
}
\keyword{internal}
