{"id":26070890,"url":"https://github.com/beautifulinteractions/beautiful-react-diagrams","last_synced_at":"2025-03-09T00:02:20.808Z","repository":{"id":36953917,"uuid":"246423029","full_name":"antonioru/beautiful-react-diagrams","owner":"antonioru","description":"💎 A collection of lightweight React components and hooks to build diagrams with ease 💎","archived":false,"fork":false,"pushed_at":"2022-12-12T09:06:30.000Z","size":2306,"stargazers_count":2656,"open_issues_count":63,"forks_count":173,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-08-04T05:01:34.586Z","etag":null,"topics":["diagram","diagrams","flowchart-diagrams","flowcharts","hooks","javascript","react"],"latest_commit_sha":null,"homepage":"https://antonioru.github.io/beautiful-react-diagrams/","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/antonioru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-10T22:39:43.000Z","updated_at":"2024-08-02T22:04:05.000Z","dependencies_parsed_at":"2023-01-17T08:01:23.610Z","dependency_job_id":null,"html_url":"https://github.com/antonioru/beautiful-react-diagrams","commit_stats":null,"previous_names":["beautifulinteractions/beautiful-react-diagrams"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonioru%2Fbeautiful-react-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonioru%2Fbeautiful-react-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonioru%2Fbeautiful-react-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonioru%2Fbeautiful-react-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonioru","download_url":"https://codeload.github.com/antonioru/beautiful-react-diagrams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242623552,"owners_count":20159703,"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":["diagram","diagrams","flowchart-diagrams","flowcharts","hooks","javascript","react"],"created_at":"2025-03-09T00:01:12.335Z","updated_at":"2025-03-09T00:02:20.790Z","avatar_url":"https://github.com/antonioru.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Javascript Libraries"],"sub_categories":["Renderers"],"readme":"![CI/CD](https://github.com/beautifulinteractions/beautiful-react-diagrams/workflows/CI/CD/badge.svg)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Coverage Status](https://coveralls.io/repos/github/beautifulinteractions/beautiful-react-diagrams/badge.svg?branch=master)](https://coveralls.io/github/beautifulinteractions/beautiful-react-diagrams?branch=master)\n![npm](https://img.shields.io/npm/v/beautiful-react-diagrams)\n![GitHub stars](https://img.shields.io/github/stars/beautifulinteractions/beautiful-react-diagrams?style=social)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"./logo.png\" alt=\"beautiful-react-diagrams\" width=\"750px\" /\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\u003cdiv\u003e\n  \u003cp align=\"center\"\u003e\n    A tiny collection of lightweight React components for building diagrams with ease\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://antonioru.github.io/beautiful-react-diagrams/\" target=\"_blank\"\u003e\n    🌟 Live playground here 🌟\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n![Diagrams banner](./beautiful-react-diagrams.png)\n\n## 💡 Why?\n\nJavascript diagramming libraries are often difficult to integrate in React projects. \u003cbr /\u003e\nDifferent patterns not always fit the React nature and having a component's state in in sync with an external\ndiagramming library might be quite difficult especially when the latter had been built in a different paradigm (such as MVC, for example).\n\nFor this reason we created `beautiful-react-diagrams` an easy-to-customise functional diagramming library to build\ndiagrams with ease.\n\n## 🎓 Principles\n\n- **Lightweights**: import nothing but a single lightweight javascript.\n- **Controlled components**: exports [controlled](https://reactjs.org/docs/forms.html#controlled-components) components only.\n- **Renderers**: the involved components can be easily replaced with your own by using the  `renderer` props.\n- **Easy to style**: built using CSS vars only.\n\n## ☕️ Features\n\n* Concise API\n* Small and lightweight\n* Easy to use\n* Easy to customise\n\n\u003cdiv\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://antonioru.github.io/beautiful-react-diagrams/\" target=\"_blank\"\u003e\n    🌟 Live playground here 🌟\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Contributing\n\nContributions are very welcome and wanted.\n\nTo submit your custom pull request, please make sure your read our [CONTRIBUTING](./CONTRIBUTING.md) guidelines.\n\n**Before submitting** a new pull request, please make sure:\n\n1. You have updated the package.json version and reported your changes into the [CHANGELOG](./CHANGELOG.md) file\n3. make sure you run `npm run lint`, `npm build` and then `npm test` before submitting your merge request.\n4. make sure you've added the documentation of your changes.\n5. if you've changed the signature of a component, please make sure you've updated the `index.d.ts` file.\n\n## Versioning\n\nThis library follows the [semver](https://semver.org) versioning standard.\nPre-release commits on the `master` branch, including merge commits, lead \nto automated publication to NPM under the `next` tag. Pre-release version\nnumbers must follow the `\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e-\u003ctag\u003e.\u003cnumber\u003e`, such as \n`5.1.0-rc.0`. \n\n---\n\nThis library logo has been created using images published by the user [Freepik](https://www.flaticon.com/authors/freepik) on [www.flaticon.com](https://www.flaticon.com/free-icon/hook_1081812)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeautifulinteractions%2Fbeautiful-react-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeautifulinteractions%2Fbeautiful-react-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeautifulinteractions%2Fbeautiful-react-diagrams/lists"}