1 unstable release
0.0.0 | Sep 18, 2021 |
---|
#8 in #viz
6KB
Flow DSL AST
从FBP到BPM
// Kind
// IO // input // output
// Node // name
// Edge // source // target
{
nodes: [
],
edges: [
]
}
enum Kind {
}
struct Node {
id: i64,
name: String,
kind: Kind,
}
Nodes
- Incoming trigger - connection from parent node
- Outgoing trigger - connection to child nodes
- Incoming parameter - with type color resulting in a colour picker widget in the inspector
- Importing a package from npm (has to be added to the project first)
- Trigger callback - this is usually called every frame
- Reading properties provided by the parent node
- Reading input parameter value
- Main node code - drawing a rectangle with a given colour
- Passing data further down to the child nodes
Butterfly
iMove
logic-flow
flowchart-fun
https://github.com/tone-row/flowchart-fun https://js.cytoscape.org/