Creates a graph structure from a datatable containing edge data.

Graph data structure is used to represent networks with nodes and edges. This adaptor turns data from a datatable into a graph data type.



data: The datatable containing edge data.

from: The name of the column containing the origin node of the edge.

to: The name of the column containing the destination node of the edge.

direction: Specifies whether the graph is directed or not. Defaults to none (no directionality, producing undirected graph) (this can be altered using force-directed-layout)


graph: A graph structure defining nodes and edges.

Possible use cases

Last updated