d3_gram_types.gramlinkdatum
gram.js API / Exports / d3-gram-types / GramLinkDatum
Interface: GramLinkDatum
d3-gram-types.GramLinkDatum
Hierarchy
-
SimulationLinkDatum<GramNodeDatum>
↳ GramLinkDatum
Table of contents
Properties
Properties
id
• id: string
Defined in: src/d3-gram-types.ts:30
index
• Optional index: undefined |
number |
The zero-based index into the links array. Internally generated when calling ForceLink.links(…)
Defined in: node_modules/@types/d3-force/index.d.ts:90
labels
• Optional labels: undefined |
string[] |
Defined in: src/d3-gram-types.ts:31
record
• record: PathDatumRecord
Defined in: src/d3-gram-types.ts:32
source
• source: string | number | GramNodeDatum |
Link’s source node. For convenience, a link’s source and target properties may be initialized using numeric or string identifiers rather than object references; see link.id. When the link force is initialized (or re-initialized, as when the nodes or links change), any link.source or link.target property which is not an object is replaced by an object reference to the corresponding node with the given identifier. After initialization, the source property represents the source node object.
Defined in: node_modules/@types/d3-force/index.d.ts:78
target
• target: string | number | GramNodeDatum |
Link’s source link For convenience, a link’s source and target properties may be initialized using numeric or string identifiers rather than object references; see link.id. When the link force is initialized (or re-initialized, as when the nodes or links change), any link.source or link.target property which is not an object is replaced by an object reference to the corresponding node with the given identifier. After initialization, the target property represents the target node object.
Defined in: node_modules/@types/d3-force/index.d.ts:86