% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gmds_layout_interface.R
\name{gmds.result}
\alias{gmds.result}
\title{Construct a common GMDS layout result}
\usage{
gmds.result(
  coords,
  method,
  prepared = NULL,
  trace = NULL,
  diagnostics = NULL,
  metadata = list()
)
}
\arguments{
\item{coords}{Numeric coordinate matrix.}

\item{method}{Short method identifier.}

\item{prepared}{Optional prepared graph object.}

\item{trace}{Optional trace table or list.}

\item{diagnostics}{Optional one-row diagnostic data frame.}

\item{metadata}{Optional named list with method-specific metadata.}
}
\value{
A list of class `"grip_gmds_layout"` with fields `coords`, `method`,
  `prepared`, `trace`, `diagnostics`, and `metadata`.
}
\description{
`gmds.result()` wraps coordinates, method metadata, optional
traces, and optional diagnostics in a common result shape used by the
experimental GMDS layout program.
}
