sierra.plugins.storage.graphml.plugin#

Plugin for reading/writing GraphML files.

Functions#

graph_read(→ networkx.Graph)

Read a dataframe from a .graphl file using networkx.

graph_write(→ None)

Write a dataframe to a CSV file using pandas.

Module Contents#

sierra.plugins.storage.graphml.plugin.graph_read(path: pathlib.Path, run_output_root: pathlib.Path | None = None, **kwargs) networkx.Graph[source]#

Read a dataframe from a .graphl file using networkx.

sierra.plugins.storage.graphml.plugin.graph_write(graph: networkx.Graph, path: pathlib.Path, **kwargs) None[source]#

Write a dataframe to a CSV file using pandas.