Skip to contents

Writes a graph object (tidygraph/iGraph) to a file as GraphML.

Usage

write_graphml(graph, file)

Arguments

graph

A tidygraph or igraph object.

file

The file path to write to, as a string. If '.graphml' extension is missing, it will be appended.

Value

Absolute path of .graphml file written.