Updated Flow Format (markdown)

Nick O'Leary 2014-08-27 02:10:19 -07:00
parent 3026af1cc8
commit a64f7cb062
1 changed files with 31 additions and 2 deletions

@ -1,8 +1,20 @@
### node-id
![](../images/flow-format/node-id.png)
node-id ::= [0-9a-fA-F.]+
### wire-entry
![](../images/flow-format/wire-entry.png)
wire-entry ::= node-id
| "[" node-id ( "," node-id )* "]"
### core-properties
![](../images/flow-format/core-properties.png)
core-properties
::= "id" ":" node-id
| "type" ":" string
@ -11,12 +23,29 @@
| "y" ":" number
| "z" ":" number
### type-properties
![](../images/flow-format/type-properties.png)
type-properties ::= string ":" value
### node
![](../images/flow-format/node.png)
node ::= "{" core-properties ( "," core-properties )* ( "," type-properties )* "}"
### flow
![](../images/flow-format/flow.png)
flow ::= "[" node ( "," node )* "]"
---
### Notes
`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
_Diagrams generated at_ http://bottlecaps.de/rr/ui