% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-htna.R
\name{compute_connectivity_jitter_horizontal}
\alias{compute_connectivity_jitter_horizontal}
\title{Compute Connectivity-Based Jitter (Horizontal Layout)}
\usage{
compute_connectivity_jitter_horizontal(
  weights,
  g1_idx,
  g2_idx,
  amount = 0.8,
  side = "group1"
)
}
\arguments{
\item{weights}{Weight matrix.}

\item{g1_idx}{Indices of group 1 nodes.}

\item{g2_idx}{Indices of group 2 nodes.}

\item{amount}{Maximum jitter amount. Default 0.8.}

\item{side}{Which group(s) to jitter: "group1", "group2", or "both".}
}
\value{
Numeric vector of x-offsets for each node.
}
\description{
For horizontal layouts (left/right columns). Nodes with more cross-group
connections are jittered horizontally toward center.
}
\keyword{internal}
