forked from node-red/node-red
-
Notifications
You must be signed in to change notification settings - Fork 0
Flow Format
Nick O'Leary edited this page Aug 24, 2014
·
3 revisions
node-id ::= [0-9a-fA-F.]+
wire-entry ::= node-id
| "[" node-id ( "," node-id )* "]"
core-properties
::= "id" ":" node-id
| "type" ":" string
| "wires" ":" "[" wire-entry ( "," wire-entry )* "]"
| "x" ":" number
| "y" ":" number
| "z" ":" number
type-properties ::= string ":" value
node ::= "{" core-properties ( "," core-properties )* ( "," type-properties )* "}"
flow ::= "[" node ( "," node )* "]"
string, value, number are as defined by RFC7159: The Javascript Object Notation (JSON) Data Interchange Format.
todo: create diagrams http://bottlecaps.de/rr/ui