Skip to contents

`gmds.result()` wraps coordinates, method metadata, optional traces, and optional diagnostics in a common result shape used by the experimental GMDS layout program.

Usage

gmds.result(
  coords,
  method,
  prepared = NULL,
  trace = NULL,
  diagnostics = NULL,
  metadata = list()
)

Arguments

coords

Numeric coordinate matrix.

method

Short method identifier.

prepared

Optional prepared graph object.

trace

Optional trace table or list.

diagnostics

Optional one-row diagnostic data frame.

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`.