Mermaid.JS is a syntax extension for markdown that allows you to create diagrams and visualizations using a simple, text-based scripting language called Mermaid. It is especially popular for embedding charts and diagrams directly in markdown documents, like those used in documentation, wikis, and dev notes.
This application illustrates the usage of Mermaid diagrams inside a React application. For further usage info, please visit Mermaid.JS Docs.
For further information, please check MERMAID.md.
Reactframework (with Typescript) for the overall application development;Typescriptcoding language;Mermaidfor diagram rendering;
Webpackto bundle the application and serve it in development mode;
BiomeJSfor code formatting and linting;
From the project root folder, please execute any of the following commands in a terminal window:
# install the application dependencies
npm i
# start the application in development mode
npm run dev
# build a version of the application for distribution
npm run build
# serve the built version from the `dist` folder
npm run serve
# reset and reinstall the application
npm run nuke# run BiomeJS
npm run lint
# run BiomeJS and fix all automatically fixable problems
npm run lint:fix