d3_gram_types.gramnodedatum
gram.js API / Exports / d3-gram-types / GramNodeDatum
Interface: GramNodeDatum
d3-gram-types.GramNodeDatum
Hierarchy
-
SimulationNodeDatum
↳ GramNodeDatum
Table of contents
Properties
Properties
fx
• Optional fx: undefined |
null | number |
Node’s fixed x-position (if position was fixed)
Defined in: node_modules/@types/d3-force/index.d.ts:52
fy
• Optional fy: undefined |
null | number |
Node’s fixed y-position (if position was fixed)
Defined in: node_modules/@types/d3-force/index.d.ts:56
id
• id: string
Defined in: src/d3-gram-types.ts:8
index
• Optional index: undefined |
number |
Node’s zero-based index into nodes array. This property is set during the initialization process of a simulation.
Defined in: node_modules/@types/d3-force/index.d.ts:32
labels
• labels: string[]
Defined in: src/d3-gram-types.ts:9
record
• record: PathDatumRecord
Defined in: src/d3-gram-types.ts:10
vx
• Optional vx: undefined |
number |
Node’s current x-velocity
Defined in: node_modules/@types/d3-force/index.d.ts:44
vy
• Optional vy: undefined |
number |
Node’s current y-velocity
Defined in: node_modules/@types/d3-force/index.d.ts:48
x
• Optional x: undefined |
number |
Node’s current x-position
Defined in: node_modules/@types/d3-force/index.d.ts:36
y
• Optional y: undefined |
number |
Node’s current y-position
Defined in: node_modules/@types/d3-force/index.d.ts:40