Contents

ComputeNodeGraph.Format

A serialization format used to encode a compute node graph.

Declaration

enum Format

Overview

Use a value of this type with data(using:) to choose how the graph is written. Both formats round-trip through init(data:), which detects the format automatically when reading.

Choose ComputeNodeGraph.Format.json when you want a human-readable representation that is easy to inspect, diff, or edit by hand. Choose ComputeNodeGraph.Format.propertyList when you want a compact binary representation that is faster to read and write and produces smaller files.

Topics

Enumeration Cases