ImFusion Web SDK

GraphEdge

ts
type GraphEdge = {
  from: number;
  to: number;
  features: number[];
};

An edge in a Graph.

Properties

from

ts
from: number;

The index of the start node. Direction is significant for directed graphs.


to

ts
to: number;

The index of the end node. Direction is significant for directed graphs.


features

ts
features: number[];

Feature values. features[i] is the value for edgeFeatureNames()[i].

On this page