d3_gram_drag


gram.js API / Exports / d3-gram-drag

Module: d3-gram-drag

Table of contents

Functions

Functions

drag

Constdrag<ActualNodeDatum, ActualLinkDatum>(simulation: Simulation<ActualNodeDatum, ActualLinkDatum>): DragBehavior<any, unknown, unknown>

Type parameters:

Name Type
ActualNodeDatum SimulationNodeDatum
ActualLinkDatum SimulationLinkDatum<ActualNodeDatum, ActualLinkDatum>

Parameters:

Name Type
simulation Simulation<ActualNodeDatum, ActualLinkDatum>

Returns: DragBehavior<any, unknown, unknown>

Defined in: src/d3-gram-drag.ts:3