| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Committed Software Graph Component
A graph visualisation. It supports custom decoration, different layouts and user interactions.
Install dependencies with
npm installBuild the modules
npm run buildThis builds to the relevant /dist folders.
The project is published as @committed/components-graph but is further separated into modules so the non-ui code can be used in the backend.
To view a storybook of the components, run:
npm run storybookThere is also an example project that uses the graph:
cd example
npm install
npm run startThe default example imports and live reloads whatever is in /dist, so if you are seeing an out of date component. No symlinking required, we use Parcel's aliasing.
Code quality is set up for you with prettier, husky, and lint-staged. Adjust the respective fields in package.json accordingly.
Jest tests are set up to run with npm run test and testing-library.
Import test/setup in your test files to use react-testing-library.
Per Palmer Group guidelines, always use named exports. Code split inside your React app instead of your React library.
Publish is handled by semantic-release use conventional commits. Use npm run commit for helper.
| Back | FazBrowse Home | New Git URL |