ReactiveSmartGraph
TheReactiveSmartGraph
class is the heart of SmartGraph. It represents the entire application structure and manages the connections between different pipelines and components.
ReactiveSmartGraph
as the main application container, similar to how you might think of a React app’s root component.
Pipeline
APipeline
is a sequence of connected components that process data. It’s how you organize and structure your data flow within the graph.
ReactiveComponent
ReactiveComponent
is the base class for all components in SmartGraph. It provides the core functionality for processing input data and managing state.
Putting It All Together
Here’s how these concepts work together:- You create a
ReactiveSmartGraph
instance. - You add one or more
Pipeline
s to your graph. - You add
ReactiveComponent
s to your pipelines. - You connect components within and across pipelines as needed.
- Finally, you compile the graph and execute it.