https://github.com/semanticmediawiki/mermaid
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
https://github.com/semanticmediawiki/mermaid
chart charts diagram diagrams flow-chart flowchart gantt-chart ganttchart graphs mediawiki mermaid sequence-diagram
Last synced: 20 days ago
JSON representation
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
- Host: GitHub
- URL: https://github.com/semanticmediawiki/mermaid
- Owner: SemanticMediaWiki
- License: other
- Created: 2017-12-30T02:59:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-01T10:07:58.000Z (7 months ago)
- Last Synced: 2024-10-30T05:43:10.182Z (6 months ago)
- Topics: chart, charts, diagram, diagrams, flow-chart, flowchart, gantt-chart, ganttchart, graphs, mediawiki, mermaid, sequence-diagram
- Language: PHP
- Homepage: https://www.mediawiki.org/wiki/Extension:Mermaid
- Size: 5.27 MB
- Stars: 36
- Watchers: 16
- Forks: 23
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
README
# Mermaid
[](https://github.com/SemanticMediaWiki/Mermaid/actions/workflows/main.yml)
[](https://codecov.io/gh/SemanticMediaWiki/Mermaid)
[](https://packagist.org/packages/mediawiki/mermaid)
[](https://packagist.org/packages/mediawiki/mermaid)This extension provides the `#mermaid` parser function to support the generation of diagrams and flowcharts with the help of the [mermaid][mermaid] script language. Supported diagram forms include:
- Flowchart
- Sequence Diagram
- Class Diagram
- State Diagram
- Gantt Chart
- Pie Chart
- Entity Relationship Diagram
- Git Flow Chart
- User Journey Chart## Requirements
Requirements for Mermaid 4.x:
- PHP 7.4 or later
- MediaWiki 1.39 or laterYou can use an older version of Mermaid for older versions of MediaWiki and/or PHP.
## Installation and configuration
See the information on [installing and configuring] this extension.
## Usage
See the information on [using] this extension.
## Contribution and support
If you want to contribute work to the project please subscribe to the developers mailing list and
have a look at the contribution guideline.* [File an issue](https://github.com/SemanticMediaWiki/Mermaid/issues)
* [Submit a pull request](https://github.com/SemanticMediaWiki/Mermaid/pulls)
* Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)## For developers
See the documention on how to [update MermaidJS](https://github.com/SemanticMediaWiki/Mermaid/blob/master/docs/UPDATEMERMAID.md).
## Tests
This extension provides unit and integration tests that are run by a [continues integration platform][travis]
but can also be executed using `composer phpunit` from the extension base directory.## License
[GNU General Public License, version 2 or later][gpl-licence].
[gpl-licence]: https://www.gnu.org/copyleft/gpl.html
[travis]: https://travis-ci.org/SemanticMediaWiki/Mermaid
[smw]: https://github.com/SemanticMediaWiki/SemanticMediaWiki
[composer]: https://getcomposer.org/
[mermaid]: https://github.com/knsv/mermaid
[installing and configuring]: https://github.com/SemanticMediaWiki/Mermaid/blob/master/docs/INSTALL.md
[using]: https://github.com/SemanticMediaWiki/Mermaid/blob/master/docs/USAGE.md