Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
MIT License
Bot releases are hidden (Show)
Published by knsv about 5 years ago
Experimental support for Pie charts
Rendering tests using cypress and percy
#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
Published by knsv about 5 years ago
Allowing chaining of nodes in flowcharts.
graph TB
a --> b --> c
Bug fixes:
graph TB
a --> b:::theClass
classDef theClass fill:#0f0,stroke:#333,stroke-width:3px;
Published by knsv about 5 years ago
Re-allowing '.' in node ids
Published by knsv about 5 years ago
#889 Sequence diagram background rects
#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
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)
Published by knsv over 5 years ago
Sets the level of trust to be used on the parsed diagrams.
⚠️ 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.
Merged pull requests:
Published by knsv over 5 years ago
#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)
Published by knsv over 7 years ago
#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
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
Published by knsv over 8 years ago
Small release solving issue #281 with polyfill for changes made in Chrome v48
Published by knsv almost 9 years ago
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
Published by knsv almost 9 years ago
Fix for issue #227 regarding arrowheads in sequence diagrams.
Published by knsv about 9 years ago
#Changes in version 0.5.3
This release has the same functionality as 0.5.2 but with correct version in file published in npm.
Published by knsv about 9 years ago
Published by knsv over 9 years ago
Published by knsv over 9 years ago
Configuration are picked up from the mermaid object and is not passed as arguments. Same handling for all diagram types, sequenceDiagrams were handled in a different way before this commit.
When init is called with:
A definition of nodes to process can be
document.querySelectorAll('.tbProcessed');
#37, #126, #129, #134, #135, #137
Published by knsv over 9 years ago
Published by knsv over 9 years ago
New functionality:
Published by knsv over 9 years ago