Beautiful React Diagrams

一组轻量级的 React 组件和钩子,可以轻松构建图表 。「💎 A collection of lightweight React components and hooks to build diagrams with ease 💎」

Github星跟蹤圖

CI/CD
License: MIT
Coverage Status
npm
GitHub stars

Diagrams banner

💡 Why?

Javascript diagramming libraries are often difficult to integrate in React projects.
Different patterns not always fit the React nature and having a component's state in in sync with an external
diagramming library might be quite difficult especially when the latter had been built in a different paradigm (such as MVC, for example).

For this reason we created beautiful-react-diagrams an easy-to-customise functional diagramming library to build
diagrams with ease.

🎓 Principles

  • Lightweights: import nothing but a single lightweight javascript.
  • Controlled components: exports controlled components only.
  • Renderers: the involved components can be easily replaced with your own by using the renderer props.
  • Easy to style: built using CSS vars only.

☕️ Features

  • Concise API
  • Small and lightweight
  • Easy to use
  • Easy to customise

Contributing

Contributions are very welcome and wanted.

To submit your custom pull request, please make sure your read our CONTRIBUTING guidelines.

Before submitting a new pull request, please make sure:

  1. You have updated the package.json version and reported your changes into the CHANGELOG file
  2. make sure you run npm run lint, npm build and then npm test before submitting your merge request.
  3. make sure you've added the documentation of your changes.
  4. if you've changed the signature of a component, please make sure you've updated the index.d.ts file.

Versioning

This library follows the semver versioning standard.
Pre-release commits on the master branch, including merge commits, lead
to automated publication to NPM under the next tag. Pre-release version
numbers must follow the <major>.<minor>.<patch>-<tag>.<number>, such as
5.1.0-rc.0.


This library logo has been created using images published by the user Freepik on www.flaticon.com

主要指標

概覽
名稱與所有者antonioru/beautiful-react-diagrams
主編程語言JavaScript
編程語言TypeScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2020-03-10 22:39:43
推送於2022-12-12 09:06:30
最后一次提交2020-12-04 08:34:18
發布數0
用户参与
星數2.7k
關注者數26
派生數172
提交數89
已啟用問題?
問題數64
打開的問題數45
拉請求數39
打開的拉請求數19
關閉的拉請求數93
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?