{"id":13559369,"url":"https://github.com/elsa-workflows/elsa-designer","last_synced_at":"2025-04-03T14:32:03.294Z","repository":{"id":53699340,"uuid":"191625021","full_name":"elsa-workflows/elsa-designer","owner":"elsa-workflows","description":"A standards-based Workflow Designer built with StencilJS","archived":true,"fork":false,"pushed_at":"2020-10-23T13:32:50.000Z","size":1992,"stargazers_count":265,"open_issues_count":7,"forks_count":90,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T20:38:08.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elsa-workflows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-12T18:32:46.000Z","updated_at":"2025-03-15T21:51:58.000Z","dependencies_parsed_at":"2022-09-07T17:12:44.333Z","dependency_job_id":null,"html_url":"https://github.com/elsa-workflows/elsa-designer","commit_stats":null,"previous_names":["elsa-workflows/elsa-designer-html"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsa-workflows%2Felsa-designer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsa-workflows%2Felsa-designer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsa-workflows%2Felsa-designer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsa-workflows%2Felsa-designer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elsa-workflows","download_url":"https://codeload.github.com/elsa-workflows/elsa-designer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018570,"owners_count":20870025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:00:20.209Z","updated_at":"2025-04-03T14:32:02.997Z","avatar_url":"https://github.com/elsa-workflows.png","language":"TypeScript","funding_links":[],"categories":["Ecosystem Highlights"],"sub_categories":["Utilities \u0026 Integrations"],"readme":"[![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D\u0026colorA=16161d\u0026style=flat-square)](https://stenciljs.com/)\n\n# Elsa Workflow Designer\n\n[![npm (scoped)](https://img.shields.io/npm/v/@elsa-workflows/elsa-workflow-designer.svg)](https://www.npmjs.com/package/@elsa-workflows/elsa-workflow-designer)\n\nElsa is a visual programming tool that allows you to implement parts or all of your application with workflows.\nElsa Designer is a standalone client-side web component that you can embed in your own application.\n\n![html-based workflow designer](/doc/workflow-sample-2.png)\n\n## Installing this component\n\n### Script tag\n\n- Put a script tag similar to this `\u003cscript src='https://unpkg.com/@elsa-workflows/elsa-workflow-designer@0.0.10/dist/elsa-workflow-designer.js'\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### Node Modules\n- Run `npm install @elsa-workflows/elsa-workflow-designer --save`\n- Put a script tag similar to this `\u003cscript src='node_modules/@elsa-workflows/elsa-workflow-designer/dist/elsa-workflow-designer.js'\u003e\u003c/script\u003e` in the head of your index.html\n- Then you can use the element anywhere in your template, JSX, html etc\n\n### In a stencil-starter app\n- Run `npm install @elsa-workflows/elsa-workflow-designer --save`\n- Add an import to the npm packages `import @elsa-workflows/elsa-workflow-designer;`\n- Then you can use the element anywhere in your template, JSX, html etc\n\n## Using this component\n\nTo use the component, add the following HTML tag:\n\n```html\n\u003cwf-designer-host\u003e\u003c/wf-designer-host\u003e\n```\n\nOut of the box, the designer registers a default set of activities that are provided from a set of plugins.\nTo add custom activities, you need to define them as part of a custom plugin.\n\n## Integration with other Frontend framework\n\n### Angular(2+)\n1. Add Elsa Designer pkg CDN on `index.html`\n```HTML\n\u003cscript\n    type=\"module\"\n    src=\"https://unpkg.com/@elsa-workflows/elsa-workflow-designer@0.0.61/dist/elsa-workflow-designer/elsa-workflow-designer.esm.js\"\n\u003e\u003c/script\u003e\n\u003cscript\n    nomodule=\"\"\n    src=\"https://unpkg.com/@elsa-workflows/elsa-workflow-designer@0.0.61/dist/elsa-workflow-designer/elsa-workflow-designer.js\"\n\u003e\u003c/script\u003e\n```\n\n2. On `app.module.ts`, add `CUSTOM_ELEMENTS_SCHEMA`\n```Typescript\n@NgModule({\n  //whatever you have on app module goes here... \n  schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class AppModule {}\n```\n\n3. Add `\u003cng-wf-designer-host\u003e\u003c/ng-wf-designer-host\u003e` to the HTML\n```HTML\n\u003cwf-designer-host\n    id=\"designerHost\"\n    canvas-height=\"300vh\"\n    [attr.data-activity-definitions]=\"activityDefinition\"\n    [attr.data-workflow]=\"workflowModel\"\u003e\n\u003c/wf-designer-host\u003e\n```\n\u003e See full example [here](https://codesandbox.io/s/angular-elsa-designer-dkb4t?file=/src/app/app.component.html)\n\n### Custom Activities\n\nTODO: Describe how to register custom activity definitions using JavaScript \u0026 JSON.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsa-workflows%2Felsa-designer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felsa-workflows%2Felsa-designer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsa-workflows%2Felsa-designer/lists"}