FlowEngine is a new front-end no-code/low-code development engine introduced in NocoBase 2.0. It combines Models and Flows to simplify front-end logic and improve reusability and maintainability. At the same time, it leverages the configurability of Flows to provide no-code configuration and orchestration capabilities for front-end components and business logic.
Because in FlowEngine, a component's properties and logic are no longer statically defined, but are driven and managed by Flows.
Therefore, FlowEngine = A front-end logic engine driven by Flows.
In FlowEngine, a Model is an abstract model of a component, responsible for:
In other words, a Model is the logical brain of a component, transforming it from a static unit into a configurable and orchestratable dynamic unit.
In FlowEngine, a Flow is a logic stream that serves a Model. Its purpose is to:
You can think of a Flow as a stream of water:
A Step is like a node along the water stream Each Step performs a small task (e.g., setting a property, triggering an event, calling an API), just as a stream of water has an effect when it passes through a gate or a water wheel.
Flows are ordered A stream of water follows a predetermined path from upstream to downstream, passing through all Steps in sequence; similarly, the logic in a Flow is executed in the defined order.
Flows can be branched and combined A stream of water can be split into multiple smaller streams or merged together; a Flow can also be broken down into multiple sub-flows or combined into more complex logical chains.
Flows are configurable and controllable The direction and volume of a water stream can be adjusted with a sluice gate; the execution method and parameters of a Flow can also be controlled through configuration (stepParams).
Analogy Summary
So, in FlowEngine: