Welcome! Follow these simple steps to get the application up and running on your computer. This project is a sophisticated Pipeline Builder that allows users to create, visualize, and validate workflows. It features a modern, drag-and-drop interface with dynamic node logic and backend-integrated validation. I added new nodes to the project: - fileNode - noteNode - logicNode - integrationNode - promptNode
Make sure you have Node.js and Python installed.
The backend handles the main core logic of the app (like checking if your pipeline is valid).
- Open your terminal.
- Go into the backend folder:
cd backend - Start the server:
The backend is now running at http://127.0.0.1:8000
python -m uvicorn main:app --reload
The frontend is the visual part where you build your pipelines.
- Open a new terminal window (keep the backend one running!).
- Go into the frontend folder:
cd frontend - Install the tools (only need to do this once):
npm install
- Start the app:
The app should automatically open in your browser at http://localhost:3000
npm start
The TextNode.js was enhanced with advanced interactive features: - Auto-resizing: Text areas dynamically adjust height as the user types, ensuring content is always visible. - Variable Detection: Uses regex to identify {{variable_name}} patterns in real-time. - Dynamic Handle Generation: Automatically adds target handles on the left side for every unique variable detected in the text.
The application underwent a significant visual overhaul to provide a premium feel: - Custom CSS Engine: Implemented in ModifiedStyle.css using CSS variables for high-performance styling. - Interactive Toolbar: A scrollable, category-based navbar and toolbar for easy node access. - "Run" Workflow UX: for Instead of submit button i perfromed changes in button name as Run Workflow {Run Button}. (Because Run is more relavant to user and That the user can understand easily and if we trigger the workflow we get the output Like: DAG is valid or not, if not then we get the error message) As per better UX. - ResultModal.js: Instead of basic alerts, results are displayed in a clean, modern card featuring: - SVG Mini-map: A live visualization of the submitted pipeline. - Detailed Stats: Node count, edge count, and DAG status. - Intuitive Feedback: Color-coded results (success/error) and helpful descriptions.
Fast API will run on Port http://127.0.0.1:8000 so you can Test API on PostMan using GET Method
- Wait for the Loading Screen to disappear.
- Drag and drop nodes onto the canvas.
- Connect them using the handles on the sides.
- Click Submit Pipeline to see if your graph is valid (a "DAG") or if it has cycles.
Enjoy building! 🚀