3 Flow Format
Nick O'Leary edited this page 2014-08-27 02:10:50 -07:00

node-id

node-id ::= [0-9a-fA-F.]+

wire-entry

wire-entry ::= node-id 
             | "[" node-id ( "," node-id )* "]"

core-properties

core-properties 
         ::= "id" ":" node-id 
           | "type" ":" string 
           | "wires" ":" "[" wire-entry ( "," wire-entry )* "]" 
           | "x" ":" number 
           | "y" ":" number 
           | "z" ":" number

type-properties

type-properties ::= string ":" value

node

node ::= "{" core-properties ( "," core-properties )* ( "," type-properties )* "}"

flow

flow ::= "[" node ( "," node )* "]"

Notes

string, value, number are as defined by RFC7159: The Javascript Object Notation (JSON) Data Interchange Format.

Diagrams generated at http://bottlecaps.de/rr/ui