Yog.IO.GEXF.Multi (YogEx v0.97.0)

Copy Markdown View Source

GEXF serialization support for multigraphs (Yog.Multi.Model.Graph).

Mirrors Yog.IO.GEXF but works with parallel edges. Each edge in the multigraph is preserved as a distinct <edge> element with its internal edge ID.

Summary

Functions

Returns default GEXF serialization options.

Deserializes a GEXF string to a multigraph using default conversion.

Deserializes a GEXF string into a multigraph with custom data mappers.

Creates GEXF options with custom formatters.

Reads a multigraph from a GEXF file using default conversion.

Reads a multigraph from a GEXF file with custom data mappers.

Serializes a multigraph to GEXF using default attribute conversion.

Serializes a multigraph to GEXF with custom attribute mappers.

Serializes a multigraph to GEXF format with custom attribute mappers and options.

Writes a multigraph to a GEXF file using default attribute conversion.

Writes a multigraph to a GEXF file with custom attribute mappers.

Functions

default_options()

Returns default GEXF serialization options.

deserialize(xml)

Deserializes a GEXF string to a multigraph using default conversion.

deserialize_with(node_folder, edge_folder, xml)

Deserializes a GEXF string into a multigraph with custom data mappers.

options_with(node_fmt, edge_fmt)

Creates GEXF options with custom formatters.

read(path)

Reads a multigraph from a GEXF file using default conversion.

read_with(path, node_folder, edge_folder)

Reads a multigraph from a GEXF file with custom data mappers.

serialize(graph)

Serializes a multigraph to GEXF using default attribute conversion.

serialize_with(node_attr, edge_attr, graph)

Serializes a multigraph to GEXF with custom attribute mappers.

serialize_with_options(node_attr, edge_attr, options, graph)

Serializes a multigraph to GEXF format with custom attribute mappers and options.

write(path, graph)

Writes a multigraph to a GEXF file using default attribute conversion.

write_with(path, node_attr, edge_attr, graph)

Writes a multigraph to a GEXF file with custom attribute mappers.