GGenomics UI
Components/Viewers

Interaction Diagram

@genomics/interaction-diagram

LigPlot-style 2D ligand–residue contacts.

Preview

STI
8 contacts
3.12.93.02.83.2GLU33LEU81GLU83HIS84LEU86ASP131ASN145ILE10STI
H-bondionichydrophobic

About

The ligand sits at the center; interacting residues are placed around it, with hydrogen bonds and salt bridges as dashed lines (distance labelled) and hydrophobic contacts as spoked arcs. Residues broadcast through coordinate-link on hover/click. The read-out behind pocket and ligand-transfer work.

Usage

import { InteractionDiagram } from "@/components/ui/interaction-diagram"

<InteractionDiagram ligand="STI" contacts={contacts} />
Source: components/ui/interaction-diagram.tsx