1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Created Flow Format (markdown)

Nick O'Leary 2014-08-24 11:48:56 -07:00
parent 05d5d837ec
commit d346decc45

22
Flow-Format.md Normal file

@ -0,0 +1,22 @@
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](http://rfc7159.net/rfc7159).
_todo:_ create diagrams http://bottlecaps.de/rr/ui