How to use JSON Spec API

Alternatively, you can directly manipulate the spec and pass it to the compiler.

let spec = {
  ...
};

compileAuidoGraph(spec);

This documentation contains how to write both JavaScript and JSON-based specs.

© Hyeok Kim