% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot-params.R
\name{check_duplicate_edges}
\alias{check_duplicate_edges}
\title{Check and Handle Duplicate Edges}
\usage{
check_duplicate_edges(edges, directed, edge_duplicates)
}
\arguments{
\item{edges}{Edge data frame.}

\item{directed}{Logical: is the network directed?}

\item{edge_duplicates}{Aggregation method (NULL to error, or "sum"/"mean"/etc).}
}
\value{
Possibly aggregated edge data frame.
}
\description{
Detects duplicate edges in undirected networks and either errors with
guidance or aggregates them per the user's \code{edge_duplicates} setting.
}
\keyword{internal}
