Multigraph.Serializer behaviour (multigraph v0.16.1-mg.3)

Copy Markdown

This module defines the Serializer behavior for graphs.

Summary

Callbacks

serialize(t)

@callback serialize(Multigraph.t()) :: {:ok, binary()} | {:error, term()}

Functions

encode_label(label)

escape_quotes(str)

escape_quotes(arg, acc)

get_vertex_label(multigraph, id, v)

indent(tabs)

quoted(str)