import_graph {DiagrammeR} | R Documentation |
Import a variety of graphs from different graph formats and create a graph object.
import_graph(graph_file, file_type = NULL, graph_name = NULL, graph_time = NULL, graph_tz = NULL)
graph_file |
a connection to a graph file. |
file_type |
the type of file to be imported. Options are:
|
graph_name |
an optional string for labeling the graph object. |
graph_time |
a date or date-time string (required for insertion of
graph into a graph series of the type |
graph_tz |
an optional value for the time zone ( |
a graph object of class dgr_graph
.