datatable-to-graph
Creates a graph structure from a datatable containing edge data.
Last updated
Was this helpful?
Creates a graph structure from a datatable containing edge data.
Last updated
Was this helpful?
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 )
graph
: A graph structure defining nodes and edges.
Converting a datatable to a graph, which can then be converted to DOT format (using adaptor), which can then be fed into the network argument in one of the Microreact adaptors (, )
Formatting the data from a spreadsheet before exporting as a DOT file (using adaptor)
Preparing data for the adaptor.