This module defines the Serializer behavior for graphs.
serialize(Graph.t) :: {:ok, binary} | {:error, term}