{"id":19197875,"url":"https://github.com/flarebyte/dazzling-graph-progressive","last_synced_at":"2026-06-17T08:31:05.497Z","repository":{"id":145579564,"uuid":"49206538","full_name":"flarebyte/dazzling-graph-progressive","owner":"flarebyte","description":"Graph manipulation with filtering for progressive rendering of 2D layers","archived":false,"fork":false,"pushed_at":"2016-03-22T22:33:03.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T02:23:27.715Z","etag":null,"topics":["experimental","npm-package","unmaintained"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/flarebyte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2016-01-07T13:34:52.000Z","updated_at":"2025-09-18T17:59:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"84907f29-555c-4c50-891b-1e61ed9c185e","html_url":"https://github.com/flarebyte/dazzling-graph-progressive","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/flarebyte/dazzling-graph-progressive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fdazzling-graph-progressive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fdazzling-graph-progressive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fdazzling-graph-progressive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fdazzling-graph-progressive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flarebyte","download_url":"https://codeload.github.com/flarebyte/dazzling-graph-progressive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fdazzling-graph-progressive/sbom","scorecard":{"id":402600,"data":{"date":"2025-08-11","repo":{"name":"github.com/flarebyte/dazzling-graph-progressive","commit":"f16b15f0c778af9c2d0308a9490ee92d9dcfe594"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:25:05.195Z","repository_id":145579564,"created_at":"2025-08-18T20:25:05.195Z","updated_at":"2025-08-18T20:25:05.195Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34441282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["experimental","npm-package","unmaintained"],"created_at":"2024-11-09T12:19:03.869Z","updated_at":"2026-06-17T08:31:05.478Z","avatar_url":"https://github.com/flarebyte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dazzling-graph-progressive [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]\n\u003e Graph manipulation with filtering for progressive rendering of 2D layers\n\n## Installation\n\n```sh\n$ npm install --save dazzling-graph-progressive\n```\n\n## Introduction\n\ndazzling-graph-progressive is a framework for building json file formats that rely on a basic graph state machine.\n\nThe state is managed through transitions which are simple text tags.\n\nEach edge of the graph manipulates these transitions to reflect the desired state for the destination node. Loops are possible, but inbound flows are treated separately (not merged).\n\nThe validation of the graph check the validity of the fields used, but also verify the coherence of the user data.\n\nThis framework is intended to be used for the development of a rendering library by the author, and even if it can easily be customized, it may appear very opinionated for most users.\n\n## Usage\n\n```js\nvar dazzlingGraphProgressive = require('dazzling-graph-progressive');\n\n// This configuration is needed to validate your DSL\nconst config = {\n  validators: {\n    natives: {\n      metadata: {\n        native: graphDao =\u003e graphDao.valid().object().min(1).required(),\n        renderer: graphDao =\u003e graphDao.valid().string().max(4).required(),\n        nodeSelect: graphDao =\u003e graphDao.valid().string().max(5).required()\n      },\n      path: {\n        native: graphDao =\u003e graphDao.valid().object().min(2).required(),\n        renderer: graphDao =\u003e graphDao.valid().number().required(),\n        nodeSelect: graphDao =\u003e graphDao.valid().boolean().required()\n      }\n    },\n    uniqueData: graphDao =\u003e graphDao.valid().object().min(1).required(),\n    transitionData: graphDao =\u003e graphDao.valid().number().required(),\n    edgeData: graphDao =\u003e graphDao.valid().number().required()\n  },\n  regexes: {\n    renderers: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    transitions: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    transitionsItem: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    iterators: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    aliases: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    aliasesItem: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    uniques: graphDao =\u003e '[A-Za-z0-9]{2,10}',\n    nodes: graphDao =\u003e '[A-Za-z0-9]{2,10}'\n  }\n};\n\n// An example of options passed for iterating the graph starting at p1\nconst chunkOptions = {\n  reducer: options =\u003e options.total + options.edge.data,\n  stopper: options =\u003e options.total \u003e= limit,\n  start: 'p1',\n  maxArraySize: 200,\n  initial: 0\n};\n\nconst validGraph = {}; //see test/fixtures/simple-graph.json\n\nconst graphProg = dazzlingGraphProgressive(config);\n\n// Validate that the given json data is correct\nconst validation = graphProg.validate(validGraph, chunkOptions);\n\n// Iterate the graph and calculate all the transitions\nconst actual = graphProg.chunk(validGraph, chunkOptions);\n\n\n```\n\n# Development Workflow\n\n* Add code to `src/index.js` and tests to `test/index.js`.\n* Lint, build and test a project with `npm run build`.\n* Build and watch changes in `src/` with `npm run watch`\n* Run only tests with `npm run test`.\n* Check coverage with `npm run coverage`.\n* Generate a TOC for the `CHANGELOG` with `npm run toc`\n* Deploy to a remote origin with `npm run deploy`.\n* Bump version and publish a package with `npm run major` or `minor/patch`\n\n## License\n\n © [Olivier Huin](https://github.com/olih)\n\n\n[npm-image]: https://badge.fury.io/js/dazzling-graph-progressive.svg\n[npm-url]: https://npmjs.org/package/dazzling-graph-progressive\n[travis-image]: https://travis-ci.org/flarebyte/dazzling-graph-progressive.svg?branch=master\n[travis-url]: https://travis-ci.org/flarebyte/dazzling-graph-progressive\n[daviddm-image]: https://david-dm.org/flarebyte/dazzling-graph-progressive.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/flarebyte/dazzling-graph-progressive\n[coveralls-image]: https://coveralls.io/repos/flarebyte/dazzling-graph-progressive/badge.svg\n[coveralls-url]: https://coveralls.io/r/flarebyte/dazzling-graph-progressive\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fdazzling-graph-progressive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflarebyte%2Fdazzling-graph-progressive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fdazzling-graph-progressive/lists"}