Skip to content

Interface: EdgeListOptions ​

Options of fromEdgeList.

Properties ​

PropertyModifierTypeDescription
directed?readonlybooleanWhether the links have a direction. Default true.
id?readonlystringKey of a node object's id (what the edges' ends refer to). Default 'id'.
nodes?readonlyreadonly Readonly<Record<string, unknown>>[]A node table: one object per node, for labels, groups and nodes without links. Nodes come in this order first; ends of edges that are not in it are added after.
source?readonlystringKeys of an edge object's ends and weight. Defaults 'source', 'target', 'value'.
target?readonlystring-
value?readonlystring-

Released under the MIT License.