GraphNode
ts
A node in a Graph.
Properties
index
ts
Node index.
position
ts
Position in graph-local coordinates.
features
ts
Feature values.
features[i] is the value for nodeFeatureNames()[i].
type GraphNode = {
index: number;
position: vec3;
features: number[];
};A node in a Graph.
index: number;Node index.
position: vec3;Position in graph-local coordinates.
features: number[];Feature values.
features[i] is the value for nodeFeatureNames()[i].