Tangle is a web app that allows the users to build and run Machine Learning pipelines using drag and drop without having to set up development environment.
This is the frontend repo. It contains the entire user interface portion of the app. It is built primarily on Typescript + React + Tailwind CSS, and powered by NodeJS + Vite.
Go to the backend repo.
Demo
The experimental new version of the Tangle app is now available at https://tangleml-tangle.hf.space/#/quick-start . No registration is required to experiment with building pipelines. To install your own app instance, duplicate the HuggingFace space or follow the backend installation instructions.
Please check it out and report any bugs you find using GitHub Issues.
The app is under active development and supported by Shopify Engineers.
tangle-ui can be operated and developed independently of the backend.
- Install Node Package Manager (
npm) &node - Fork the
tangle-uirepo - we recommend colocating the repo with the backend - Navigate to the forked repo and install dependencies with
npm i - You are now ready to go! Run the app with
npm run start🚀
You can now run tangle-ui as a standalone web app! Pipelines and data will be stored in browser storage. If you want to make use of backend features, such as executing runs you will need to connect to a backend.
- Complete the steps above
- Complete the installation steps for the backend as specified in the backend repo
- Create a
.envfile at the root oftangle-ui - Add an env variable
VITE_BACKEND_API_URLwith the url where your backend is hosted (most likelyhttp://127.0.0.1:8000) - Run the backend & restart the frontend app
You should now be running Tangle in its entirety and can enjoy its full suite of features!
If you find you are blocked by CORS, you will, for now, need to use the manual steps below.
- Complete the installation steps for the backend as specified in the backend repo
- Co-locate your local
tangle-uirepo inside your localtanglerepo - Run
npm run buildinsidetangle-ui - Start the backend using the provided instructions in the
tanglerepo
If you complete these steps the app will launch on 127.0.0.1:8000 with the latest build you've created on the frontend.
- Build and edit pipelines using drag and drop visual editor
- Configure component arguments
- Submit the pipeline for execution. (Follow the backend installation instructions.)
- The ComponentSpec/
component.yamlformat used by Cloud Pipelines is fully compatible with the Google Cloud Vertex AI Pipelines and Kubeflow Pipelines v1. You can find many components here: Ark-kun/pipeline_components - Preloaded component library
- User component library (add private components)
- Remote component library
- GitHub-based libraries
- Component search
- Import and export pipelines
- Create subgraphs and nested pipelines
- In-app component editor
- Disable cache
- Cancel executions
- Clone pipelines and review ongoing executions (logs, artifacts, run status)
Feel free to provide feedback, flag and issue or make a suggestion: issues.
This app is based on the Pipeline Editor app created by Alexey Volkov as part of the Cloud Pipelines project.
