1.0.8 • Published 7 years ago
Flow
Flow contains the universal typings and basic layout of how a .flow file should be structured and defined.
Examples
Building a .flow file from the Basic structure
- Clone repo
cd Flowyarnyarn run build to build a .flow file
Private Node Types
Node
| Property | Type | Description |
|---|
| id | string | A unique identifier for the node in the Document |
| name | string | A non-unique identifier for the node in the Document |
| type | NodeType | One of NodeType that declares what type of Node it is |
Shape extends Node
| Property | Type | Description |
|---|
| position | Flow.Point | A unique identifier for the node in the Document |
| size | Flow.Size | A non-unique identifier for the node in the Document |
| connections | Flow.Connection[] | One of NodeType that declares what type of Node it is |
Graphic extends Node
| Property | Type | Description |
|---|
| position | Flow.Point | A unique identifier for the node in the Document |
| size | Flow.Size | A non-unique identifier for the node in the Document |
| source | Flow.FileAsset or Flow.URLAsset | One of NodeType that declares what type of Node it is |