% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graph_render.R
\name{cgv_highlight_path}
\alias{cgv_highlight_path}
\title{Highlight a Path}
\usage{
cgv_highlight_path(
  viewer,
  path,
  color = "#FF0000",
  node_scale = 2,
  edge_width = 5
)
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{path}{Integer vector of node IDs forming the path (1-based).}

\item{color}{Color as hex string \code{"#RRGGBB"} or \code{"#RRGGBBAA"}.}

\item{node_scale}{Numeric: size multiplier for highlighted nodes (default 2.0).}

\item{edge_width}{Numeric: line width for path edges (default 5.0).}
}
\value{
No return value, called for side effects: adds (or replaces)
  the highlight overlay for the given path. Returns \code{NULL}
  invisibly.
}
\description{
Draw a highlighted path between nodes. Path nodes get a distinct color
and enlarged size; path edges are drawn as thick colored segments on top
of existing edges.
}
