{"id":18406388,"url":"https://github.com/thomaswruss/ng-workflow-svg-js","last_synced_at":"2025-04-07T08:32:23.748Z","repository":{"id":38528982,"uuid":"268601714","full_name":"thomaswruss/ng-workflow-svg-js","owner":"thomaswruss","description":"Angular Wrapper for workflow-svg.js","archived":true,"fork":false,"pushed_at":"2022-06-03T03:01:39.000Z","size":647,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T15:23:02.752Z","etag":null,"topics":["angular","component","ng","ngx","workflow","wrapper"],"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/thomaswruss.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":"2020-06-01T18:32:29.000Z","updated_at":"2025-03-06T16:06:01.000Z","dependencies_parsed_at":"2022-09-02T01:04:18.002Z","dependency_job_id":null,"html_url":"https://github.com/thomaswruss/ng-workflow-svg-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaswruss%2Fng-workflow-svg-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaswruss%2Fng-workflow-svg-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaswruss%2Fng-workflow-svg-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaswruss%2Fng-workflow-svg-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomaswruss","download_url":"https://codeload.github.com/thomaswruss/ng-workflow-svg-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247620409,"owners_count":20968207,"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":["angular","component","ng","ngx","workflow","wrapper"],"created_at":"2024-11-06T03:08:49.247Z","updated_at":"2025-04-07T08:32:23.133Z","avatar_url":"https://github.com/thomaswruss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-workflow-svg-js\n\n[workflow-svg.js](https://github.com/thomaswruss/workflow-svg.js) is a library to display workflows as SVG. This library  is an Angular Wrapper for it.\n\n## How to use\n\n~~~~\n\u003cng-workflow-svg-js\n  [id] = \"'some-id'\"\n  [width] = \"500\"\n  [height] = \"500\"\n  [(entities)] = \"entities\"\n  [(lines)] = \"lines\"\n  [configuration] = \"configuration\"\n  \u003e\u003c/ng-workflow-svg-js\u003e\n~~~~\n|Attribute|Type|In-Param|Out-Param|\n|---|---|---|---|\n|id|string|\u0026#10004;|\u0026#9744;|\n|width|number|\u0026#10004;|\u0026#9744;|\n|height|number|\u0026#10004;|\u0026#9744;|\n|entities|NgWorkflowSvgJsEntity[]|\u0026#10004;|\u0026#10004;|\n|lines|NgWorkflowSvgJsLine[]|\u0026#10004;|\u0026#10004;|\n|configuration|NgWorkflowSvgJsConfiguration|\u0026#10004;|\u0026#9744;|\n\n## How to install\n\n1. Install the library via npm\n~~~~\nnpm install ng-workflow-svg-js\n~~~~\n2. Next you have to install the Peer Dependencies in the right version (see package.json)\n3. Add the scripts in your angular.json\n~~~~\n\"scripts\": [\n  \"./node_modules/@svgdotjs/svg.js/dist/svg.min.js\",\n  \"./node_modules/@svgdotjs/svg.draggable.js/dist/svg.draggable.min.js\",\n  \"./node_modules/workflow-svg.js/dist/workflow-svg.minified.js\"\n]\n~~~~\n4. Add the ng-workflow-svg-js module  to your app\n~~~~\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgWorkflowSvgJsModule // \u003c== add the NgWorkflowSvgJsModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n~~~~\nNow you can use the ng-workflow-svg-js component.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaswruss%2Fng-workflow-svg-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomaswruss%2Fng-workflow-svg-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaswruss%2Fng-workflow-svg-js/lists"}