Massimo Santini
215905213b
Updated the mkdocs-mermaid-plugin link
...
It appears that https://github.com/sebastienwarin/mkdocs-mermaid-plugin has been more recently updated and is more feature rich (allowing for options to override the mermaid rendering defaults).
2020-05-02 02:15:47 +02:00
Knut Sveidqvist
f8865c1413
Merge pull request #1383 from mermaid-js/1382_hiearchy_fix
...
#1382 Fix for lost parentage for nodes in deep structure
2020-05-01 19:32:37 +02:00
Knut Sveidqvist
67aed51742
#1382 Fix for lost parentage for nodes in deep structure
2020-05-01 19:18:07 +02:00
Knut Sveidqvist
2be2b10e59
#1334 Adding docs for user journey to side nav
2020-05-01 16:04:44 +02:00
Knut Sveidqvist
ed5e194b8e
Merge branch 'master' into develop
2020-05-01 15:58:52 +02:00
Knut Sveidqvist
a6b4cb24b8
Tmo disabling of coveralls
2020-05-01 15:16:39 +02:00
Knut Sveidqvist
4276fc0b0b
Merge pull request #1379 from spopida/bug/1362_NaN_rendering_ERD
...
Change ERD fontSize config to an integer to prevent NaN errors
2020-05-01 15:14:33 +02:00
Knut Sveidqvist
0d10957441
Merge pull request #1374 from russellgeraghty/feature/docs-fixes
...
Feature/docs fixes
2020-05-01 15:12:13 +02:00
Knut Sveidqvist
368720538c
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2020-05-01 15:10:50 +02:00
Adrian Hall
d068a460bd
Change ERD fontSize config to an integer to prevent NaN errors
2020-04-30 15:55:14 +01:00
Russell Geraghty
346ff199c6
Updated doc link
2020-04-28 08:45:41 +01:00
Russell Geraghty
480a4a9d38
Match title to example
2020-04-28 08:42:43 +01:00
Russell Geraghty
77cfd0e1a6
Colours
2020-04-28 08:40:48 +01:00
Russell Geraghty
950af2e753
Tidy up documentation, correct rendering in test
2020-04-28 08:28:16 +01:00
Knut Sveidqvist
aa2845a730
Merge pull request #1373 from phschaer/patch-1
...
expanded documentation on date formats for gantt
2020-04-27 19:51:13 +02:00
Knut Sveidqvist
aedf066337
Disabling coveralls temporarilly
2020-04-27 19:50:49 +02:00
Philipp Schaer
b975cf3ed4
fixed typo in code block
2020-04-27 17:29:22 +02:00
Philipp Schaer
f2af5ce7eb
updated documentation on date formatting for gantt
...
Rearragend the existing information and added new context information on the date formating process for Gantt charts. The former documentation was not clear on the difference between input and output formatting.
2020-04-27 17:27:03 +02:00
Knut Sveidqvist
fa612b731c
Renaming some tests to diffrentiate the old implementation from the impl via the new rendering engine
2020-04-26 17:48:07 +02:00
Knut Sveidqvist
0933268e61
Merge pull request #1371 from jgreywolf/1234-RefactorClassDiagramScaling
...
1234 refactor class diagram scaling
2020-04-26 17:23:14 +02:00
Knut Sveidqvist
3aa5fc0cc2
Merge pull request #1365 from dany74q/feature/sequence-diagrams-improvements
...
Feature/sequence diagrams improvements
2020-04-26 17:21:55 +02:00
Knut Sveidqvist
397f57accb
Merge pull request #1334 from russellgeraghty/feature/user-journey
...
Feature/user journey
2020-04-26 17:17:33 +02:00
Knut Sveidqvist
e3b1944e31
Merge pull request #1370 from mermaid-js/feature/1295_generic_rendering_engine
...
Feature/1295 generic rendering engine
2020-04-26 16:55:11 +02:00
Knut Sveidqvist
507582f40b
#1295 Bugfix for descriptions
2020-04-26 16:01:17 +02:00
Justin Greywolf
08e015a951
1234-RefactorDiagramScaling
...
Changed implementation to ensure that viewport is aligned correctly, rather than increasing size
2020-04-26 06:10:18 -07:00
Justin Greywolf
ef17f4eacb
1274-adjust diagram viewbox
2020-04-26 05:51:03 -07:00
Justin Greywolf
3d185dc622
Merge pull request #20 from mermaid-js/develop
...
ll
2020-04-26 05:38:45 -07:00
Knut Sveidqvist
76b4b88e4b
#1295 Alternating graph directions for subgraphs
2020-04-26 12:57:45 +02:00
Knut Sveidqvist
fd37edc53f
#1295 Adding support for forks and joins
2020-04-26 10:07:25 +02:00
Knut Sveidqvist
5662c06a33
#1295 Adding support for multiline descriptions for states
2020-04-26 09:47:47 +02:00
Knut Sveidqvist
0aede618ec
#1295 Adding support for multiline descriptions for states
2020-04-25 17:01:20 +02:00
Knut Sveidqvist
e52d4ce033
#1295 Removing invalid title for concurrency clusters
2020-04-25 14:18:23 +02:00
Knut Sveidqvist
b646672d3e
#1295 Fix for statediagram labels
2020-04-25 14:12:35 +02:00
Knut Sveidqvist
a1a7d44fd7
#1295 for Multi line labels separated with \n
2020-04-25 14:12:04 +02:00
Knut Sveidqvist
25ea221a6a
#1295 Rendering tests for stateDiagram v2
2020-04-25 14:11:05 +02:00
Danny Shemesh
38ee4f556e
Added (& pretty-printed) sequence diagram docs
...
This commit adds documentation to new config variables that were
introduced as part of this PR, namely, the font settings for actors,
messages and notes.
I've also linted the markdown document.
2020-04-23 18:39:23 +03:00
Danny Shemesh
862f20ef20
Added cypress e2e tests for suggested improvements
...
This commits adds e2e tests for the suggested improvements.
I've went over the generated screenshots and they look good to me.
2020-04-23 18:31:22 +03:00
Danny Shemesh
5c902001b9
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2020-04-23 17:08:25 +03:00
Danny Shemesh
5f6887b316
Sequence diagram fixes & improvements
...
This commit fixes some bugs, and I believe, improves upon the current
implementation.
In no particular order, it adds:
1. Control over note font size, family and alignment (now defaults to
center)
2. Dynamic actor resizing - actor's width will now scale if its
description is bigger than the static configured width
3. Dynamic actor margins - the margin between actors will now be
dynamically calculated by taking into account the width of connecting
messages or notes
4. Fixed a small visual annoyance where a loop arrow would intersect
with the text it loops on
5. Fixed a bug where if global config -> fontFamily wasn't defined, it
would override the actorFontFamily with an undefined
6. Removed some stale / commented out code
7. Added missing config variables to the global config object in mermaidAPI.js
8. Added messageFontSize, messageFontFamily to control message (non-note)
font settings
9. Memoized the actor widths in a pre-calculation that takes notes and
signals lengths into account
10. Removed redundant console.log lines
11. Extracted out actor width & margin calculation to getMaxMessageWidthPerActor, and
calculateActorMargins
2020-04-23 16:50:00 +03:00
Knut Sveidqvist
45b96bd568
Merge pull request #1364 from dany74q/feature/extract-line-break-regex
...
Feature/Extracted out the commonly used line break regex
2020-04-23 07:13:57 +02:00
Danny Shemesh
197d006860
Extracted out the commonly used line break regex
...
This commit extract the commonly used /br\s*\/?>/gi regex to common.js,
in order to keep the code more DRY.
2020-04-23 07:55:28 +03:00
Danny Shemesh
49f8aac6a9
Fixed outdated doc strings
...
This commit fixes some outdated docstrings, replacing the description
and @params where necessary.
2020-04-23 07:55:09 +03:00
Danny Shemesh
22dd50a047
Extracted out the commonly used line break regex
...
This commit extract the commonly used /br\s*\/?>/gi regex to common.js,
in order to keep the code more DRY.
2020-04-23 07:20:47 +03:00
Knut Sveidqvist
81d9b5afd6
#1295 Linting
2020-04-22 20:05:36 +02:00
Knut Sveidqvist
59f3d2a11e
#1295 Fix for edges in subgraphs and handling of concurrent states in statediagram-v2
2020-04-22 20:03:41 +02:00
Adrian Hall
134a170a61
Update docs to include ER diagram descriptions
2020-04-17 14:24:44 +01:00
Adrian Hall
681f006ae1
Tiny tweaks to docs for ER diagram
2020-04-17 14:24:44 +01:00
Adrian Hall
36abfcc79b
Escape the pipes in the syntax table
2020-04-17 14:24:44 +01:00
Russell Geraghty
249a14f84a
Merge remote-tracking branch 'upstream/develop' into feature/user-journey
2020-04-17 07:30:53 +01:00
Knut Sveidqvist
10fdc45dea
Merge pull request #1356 from mermaid-js/feature/1295_generic_rendering_engine
...
Feature/1295 generic rendering engine
2020-04-16 20:16:37 +02:00