{"id":29943162,"url":"https://github.com/sourcefuse/workflows-creator","last_synced_at":"2025-08-03T02:14:48.267Z","repository":{"id":88256639,"uuid":"589518102","full_name":"sourcefuse/workflows-creator","owner":"sourcefuse","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T12:09:37.000Z","size":6074,"stargazers_count":2,"open_issues_count":14,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-01T05:55:59.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sourcefuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-16T10:04:15.000Z","updated_at":"2024-07-30T13:42:51.000Z","dependencies_parsed_at":"2024-01-17T12:11:13.353Z","dependency_job_id":"ad0c3261-3542-4d1f-86eb-3ce7800b1da4","html_url":"https://github.com/sourcefuse/workflows-creator","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/sourcefuse/workflows-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcefuse%2Fworkflows-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcefuse%2Fworkflows-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcefuse%2Fworkflows-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcefuse%2Fworkflows-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcefuse","download_url":"https://codeload.github.com/sourcefuse/workflows-creator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcefuse%2Fworkflows-creator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268484362,"owners_count":24257660,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-03T02:14:27.811Z","updated_at":"2025-08-03T02:14:48.250Z","avatar_url":"https://github.com/sourcefuse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workflows Creator\n\nAn Angular Client to develop workflows using an intuitive statement based UI.\n\n## Installation\n\n```bash\n\nnpm i @sourceloop/workflows-creator\n\n```\n\n## Usage\n\n- Install the workflows-creator\n  `npm i @sourceloop/workflows-creator`\n- Import the `WorkflowBuilderModule` in the required module -\n\n  ```typescript\n    ...\n    imports: [\n        ...\n        WorkflowBuilderModule,\n        ...\n    ],\n  ```\n\n- Use the component selector in your application -\n\n  ```html\n  \u003cworkflow-builder\n    [(state)]=\"state\"\n    [(diagram)]=\"diagram\"\n    (eventAdded)=\"elementClick($event)\"\n    (actionAdded)=\"elementClick($event)\"\n    (itemChanged)=\"valueChanges($event)\"\n  \u003e\u003c/workflow-builder\u003e\n  ```\n\n  - `state` is the initial state object\n  - `diagram` is initial BPMN Diagram respectively.\n  - `eventAdded` - this event fires whenever a new event is added in the workflow\n  - `actionAdded` - this event fires whenever a new action is added in the workflow\n  - `itemChange` - this event fires whenever a user input changes\n\n### Configurations\n\n#### Nodes\n\n- Each Statement is made up of nodes -\n\n  - Events - Triggers or Checks that lead to an action\n  - Action - Actually task performed by the workflow\n\n- You can create your own nodes by extending the `WorkflowNode` class.\n- To register this node for use, provide it to the `BPMN_NODES` token -\n\n```typescript\n{provide: BPMN_NODES, useValue: CustomNode, multi: true},\n```\n\n#### Element\n\n- Each Node is based on certain base elements like tasks, gateways, etc.\n- You can create your own BPMN Elements by extending the `BpmnElement` class.\n- You can also create any custom element by extending the `WorkflowElement` class(in case working with a non-BPMN workflow engine).\n- To register this element for use, provide it to the `BPMN_INPUTS` token -\n\n```typescript\n{provide: BPMN_ELEMENTS, useValue: CustomElement, multi: true},\n```\n\n#### Prompts\n\n- Each Node also has some prompts or inputs from the users.\n- You can create your own Prompt by extending the `WorkflowPrompt` class.\n- To register this prompt for use, provide it to the token -\n\n```typescript\n{provide: BPMN_INPUTS, useValue: CustomInput, multi: true},\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcefuse%2Fworkflows-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcefuse%2Fworkflows-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcefuse%2Fworkflows-creator/lists"}