mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

MIT License

Downloads
4M
Stars
66.7K
Committers
642

Bot releases are visible (Hide)

mermaid - 8.4.4

Published by klemmchr almost 5 years ago

Release Notes

🚀 Features

  • Revert to offical dagre d3 (#1114) @chris579
  • Class: Generic type support (#1120) @jgreywolf
  • Class: Support for abstract methods (#1131) @jgreywolf

🐛 Bug Fixes

  • State: Composit States sometimes render with incorrect paddings (#1116) @knsv
  • Flow: Fixed escaping in non html mode (#1125) @knsv
  • Flow: Fixed styling of links (#1126) @knsv

🎉 Thanks to all contributors helping with this release! 🎉

mermaid - 8.4.3

Published by knsv almost 5 years ago

Bugs fixed with this release

#1055 Better selectors so that no letters are injected in the dom elements ids
#1085 Coveralls not working for GitHub builds
#1061 Cannot mark members as protected in classDiagram
#1062 Parallelogram shaped nodes are not in documentation
#1078 arrowMarkerAbsolute not set properly
#1048 Create workflows for commits, prs and releases

mermaid - 8.4.2

Published by knsv almost 5 years ago

Bug fixed with this release:

#1023 Added better prefix for id in the dom

mermaid - 8.4.1

Published by knsv almost 5 years ago

Features

  • Legends and percentages for pie charts

Issues closed by this release

#1024 Removed some logging from the javascript console
#990 Updated peer dependancies for dagre
#1022 State diagrams rendering of long names more in line with plantuml
#1023 State diagram failed to render \n in transition labels compared to plantuml
#1029 Aftere effects from the update of peer dependencies
#989 Simplify font-settings

mermaid - 8.4.0

Published by knsv about 5 years ago

Features

  • Documentation and support for class diagrams
  • Annotation support in class diagrams
  • New diagram type, state diagrams
  • Support for pie charts
  • Hexagones in flowcharts

Issues closed by this realease

#973 Annotation support in class diagrams
#928 Basic support for Pie Chart
#755 Signal texts in sequence diagram now supports for new lines
#993 Mermaid Documentation for Class Diagram
#949 Cardinality support for Class Diagram
#764 Multi line actor descriptions
#964 Proper use of useMaxWidth in flowRenderer
#530 Hexagon shape for flowcharts
#906 Split of flow.spec.js into multiple files
#848 Insecure Randomness - Issue
#984 Class diagram: properties with bracket syntax are reversed in order

mermaid - 8.3.0

Published by knsv about 5 years ago

Features

Experimental support for Pie charts
Rendering tests using cypress and percy

Bug fixes

#937 Handling direction keywords in node ids
Correctly documenting htmlLabels as true by default
#926 Style font color only working in classes not in style Tag
#922 Fix for click binding on nodes with ids starting with a number

mermaid - 8.2.6

Published by knsv about 5 years ago

Features

Allowing chaining of nodes in flowcharts.

graph TB
  a --> b --> c

Bug fixes:

  • Fix for numbers in nodes in subgraphs as per #918
  • Making it possieble to use underscore in labels in vertices as per #915
  • Better handling of nodes whos ids are starting with a number. #914
  • Backwards compatible syntax for associating a class with a node. #835
graph TB
  a --> b:::theClass

  classDef theClass fill:#0f0,stroke:#333,stroke-width:3px;
mermaid - 8.2.5

Published by knsv about 5 years ago

Re-allowing '.' in node ids

mermaid - 8.2.4

Published by knsv about 5 years ago

Features

#889 Sequence diagram background rects

Bugfixes

#895 Fix for issue with spaces in subgraph titles
#900 Fix fr subgraps starting with a number
Fix for issue with clicking functions not correctly applied

mermaid - 8.2.1

Published by knsv over 5 years ago

Fix for issue with configuration not always beeing applied properly (#884)
Fix for issue with click events for flowcharts (#731)

mermaid - 8.2.0

Published by knsv over 5 years ago

Added securityLevel configuration

Sets the level of trust to be used on the parsed diagrams.

  • true: (default) tags in text are encoded, click functionality is disabled
  • false: tags in text are allowed, click functionality is enabled

⚠️ Note : This changes the default behaviour of mermaid so that after upgrade to 8.2, if the securityLevel is not configured, tags in flowcharts are encoded as tags and clicking is prohibited.

Closed issues

  • Create issue templates #847
  • Create issue templates #871
  • cross site scripting in mermaid #869
  • Make Gantt chart date inclusive #868
  • CHANGELOG missing updates for all versions since 0.4.0 #865
  • please add tag for 8.0.0 release #863
  • classDiagram breaks on any edit #858
  • found 1 high severity vulnerability #839
  • Missing fontawesome icon support #830
  • Docs for integration with wiki.js? #829
  • Is this project still maintained? #826
  • typroa #823
  • Maintain the order of the nodes in Flowchart #815
  • Overlap, Overflow and cut titles in flowchart #814
  • How load mermaidApi notejs electron #813
  • How to set the spacing between the text of the flowchart node and the border? #812
  • no triming participant name and the name following spaces is as another actor in sequence #809
  • uml Class as shape type #807
  • Force-directed graph Layout Style #806
  • how can I start a newLine in FlowChart #805
  • UOEProcessShow #801
  • Why the use of code blocks? #799
  • fixing class diagram #794
  • Autonumber support in sequence diagrams #782
  • MomentJS dependency #781
  • Feature : Can we color code the flow/arrows #766
  • Is there any way to convert flowchart.js code to mermaid code #726
  • Fixed width of nodes #653
  • Inline comment #650
  • alt attribute of img tag in HTML #619
  • Just wanted to say : THANKS ! #618
  • "animation" #446

Merged pull requests:

mermaid - 8.1.0

Published by knsv over 5 years ago

Changes

Merged the following pull requests:

#788 Gantt milestones
#791 SVG link rendering
#792 Added exclude weekdays to definition
#795 fix class diagram mermaid
#798 linkStyle now supports list of indexes with a few tests
#804 Clickable gantt tasks
#810 Documentation update
#824 Fix issue with XML line breaks inside vertex labels
#828 Fix dotted lines not appearing in flowcharts when HTML labels disabled
#832 ix draw function can only call once
#837 Fix dark theme, loop labels not visible
#848 Support styling of subgraphs
#850 Significantly smaller bundles
#851 Bump sshpk from 1.13.1 to 1.16.1 (security)

mermaid - 7.0.0

Published by knsv over 7 years ago

Changes

#376 Override normal flowchart arrowhead to allow css styling
Class diegram support
#390 Improvements to the cli regarding how configuration sent to the cli and verbouse is a new command line argument.
#395 New neutral theme
#400 Fix for line endings in generated svg
#423, #427 Placements actor label in sequence diagram
Improvments to the logger so that it logs the stacktrace in som circumstances.
#429 Uses an empty text node instead of a string for svg group labels
#430, #433, #435 fix gantt chart cli configuration parsing including functions
Documentation impromenents
#445 Fix for cli css style selector lowercase problem
#441 Updated d3
#449 Allow .node>circle to receive css styles
#452 Customizing link style with any color sets fill property to black instead of none

Closed issues by this release:
#341
#362
#367
#389
#400
#416
#422
#428
#431
#434

mermaid -

Published by knsv over 8 years ago

Today we're announcing that we're switching to major revisions for mermaid. The last version was 0.5.8. This release is 6.0.0 (instead of 0.6.0).

#Changes
#236: Windows - cli - could not find phantomjs at the specified path
#299: Sequence diagram Loops: changing boxMargin spoils the "loop" notation
More forgiving syntax regarding
Support for leading comments for sequenceDiagrams
#313: Support for activation boxes in sequence diagrams
Support for git graph diagrams
Added line interpolation to linkStyle in flowchart
Better handling of spaces around the section names in the gantt charts

mermaid - Chrome 48 support

Published by knsv over 8 years ago

Small release solving issue #281 with polyfill for changes made in Chrome v48

mermaid - 0.5.6

Published by knsv almost 9 years ago

Changes

Fixes for issues:
#229 Optional terminal new line in sequenceDiagrams
#235 Allow node ids with keywords as suffixes
#237 Elipse syntax
#244 Font awesome incon insert
#239 Fixed - Cannot read property 'replace' of undefined
#257 Removed dependency on babel when using requiring mermaid
#249 SVG arrowheads are broken in the CLI
#255 Label resizing with dynamically loaded fonts
#259 One diagram that fails to render stops further execution on the page

Other changes
Experimental support for class diagrams
Better error handling in css cloning

mermaid - Mini release

Published by knsv about 9 years ago

Fix for issue #227 regarding arrowheads in sequence diagrams.

mermaid - 0.5.4

Published by knsv about 9 years ago

Main changes

  • Improved handling of base tags as discussed in issue #225 and #181
  • Upgraded to version 0.3.5.6 of d3 as described in issue #221
  • Possible to set logLevel from configuration as described in issue#220
  • Possibility to set with of generated images using the CLI as discussed in issue #204
  • Support for font-awesome as described in issue #49 * end is allowed as substring in the vertex/node id asdescribed in issue #184

Code changes

  • Modernized build environment
  • Support for es2015 syntax via babel
mermaid -

Published by knsv about 9 years ago

#Changes in version 0.5.3

  • Support for hyperlink and tooltip
  • Possible to escape characters in sequenceDiagrams and flowcharts
  • Mermaid now possible to use in a requirejs/AMD environment
  • More correct xml for foreignobject whenusing html labels
  • Better wordwrapping for notes in sequence diagrams
  • Mermaid can now works in pages that use base tags
  • Updated styling posibilities from css

This release has the same functionality as 0.5.2 but with correct version in file published in npm.

mermaid - 0.5.2

Published by knsv about 9 years ago

Changes in version 0.5.2

  • Support for hyperlink and tooltip
  • Possible to escape characters in sequenceDiagrams and flowcharts
  • Mermaid now possible to use in a requirejs/AMD environment
  • More correct xml for foreignobject whenusing html labels
  • Better wordwrapping for notes in sequence diagrams
  • Mermaid can now works in pages that use base tags
  • Updated styling posibilities from css
Package Rankings
Top 0.2% on Npmjs.org
Top 18.67% on Pypi.org
Top 5.64% on Repo1.maven.org
Top 1.51% on Proxy.golang.org
Badges
Extracted from project README
NPM Build CI Status npm minified gzipped bundle size Coverage Status CDN Status NPM Downloads Join our Discord! Twitter Follow Covered by Argos Visual Testing OpenSSF Scorecard Covered by Argos Visual Testing Good first issue Contributors Commits