Contents

encode()

Encodes the graph into a binary representation.

Declaration

final func encode() throws -> Data

Discussion

The resulting data can be stored to disk or passed across a process boundary, and later restored with init(from:).