% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-htna.R
\name{compute_polygon_layout}
\alias{compute_polygon_layout}
\title{Compute Polygon Layout}
\usage{
compute_polygon_layout(
  node_list,
  lab,
  group_indices,
  n_sides,
  angle_spacing = 0.15,
  scale = 1
)
}
\arguments{
\item{node_list}{List of n character vectors.}

\item{lab}{Node labels from model.}

\item{group_indices}{List of index vectors for each group.}

\item{n_sides}{Number of sides (groups).}

\item{angle_spacing}{How far to push edges away from vertices (0-1). Default 0.15.}

\item{scale}{Scaling factor for radius. Default 1.}
}
\value{
List with x and y position vectors.
}
\description{
Positions nodes along edges of a regular n-sided polygon.
Each group is placed along one edge. Edges are offset outward from vertices
to create empty angles at corners.
}
\keyword{internal}
