Knut Sveidqvist
d409006a44
Merge remote-tracking branch 'origin/develop' into develop
2020-11-26 19:22:26 +01:00
Marc Faber
a16bbb8046
#1751 apply style settings to subgraphs in "flowchart" diagrams
2020-11-17 23:18:11 +01:00
Marc Faber
0801047fe6
added a file for graph<->flowchart comparisons to dist folder
2020-11-15 19:22:55 +01:00
Knut Sveidqvist
7a3ecb339b
Updated the docs, updated the sections and fixed some bad links
2020-11-04 20:28:10 +01:00
Knut Sveidqvist
2e4d1a7b44
Release 8.8.2
2020-10-08 19:43:29 +02:00
Knut Sveidqvist
4dc805d25a
Release 8.8.1
2020-09-30 19:23:42 +02:00
Knut Sveidqvist
13d11633ab
8.8.1-rc1
2020-09-23 20:54:07 +02:00
Knut Sveidqvist
f856782528
#1657Fix for broken test
2020-09-20 12:31:39 +02:00
Knut Sveidqvist
4f8e242dac
2020-09-06 22:34:13 +02:00
Knut Sveidqvist
0cbd002667
#1607 Using correct config when to decide about sanitizing text
2020-08-23 20:02:51 +02:00
Knut Sveidqvist
6b23c71bb5
Use courier in all rendering tests
2020-08-16 21:49:36 +02:00
Knut Sveidqvist
ba6d73fc17
Debug of fonts in percy renderings
2020-08-16 13:01:45 +02:00
Mattéo Delabre
01344a991d
Add support for changing the length of edges
...
Resolves #637 , resolves #1495 .
The syntax for edges is extended to allow for extra
dashes/equals signs/dots (depending on the edge type). Each added
character increases the length of the edge by one rank level, as
follows:
Length | 1 | 2 | 3 |
------------------|:------:|:-------:|:--------:|
Normal | `---` | `----` | `-----` |
Normal with arrow | `-->` | `--->` | `---->` |
Thick | `===` | `====` | `=====` |
Thick with arrow | `==>` | `===>` | `====>` |
Dotted | `-.-` | `-..-` | `-...-` |
Dotted with arrow | `-.->` | `-..->` | `-...->` |
This features leverages the `minlen` property exposed by Dagre which was
not previously available when using Mermaid.
2020-08-14 00:15:26 +02:00
Knut Sveidqvist
62260aa30b
Merge branch '1592-IncorrectSVGytntax' of git://github.com/jgreywolf/mermaid into jgreywolf-1592-IncorrectSVGytntax
2020-08-13 20:26:47 +02:00
Justin Greywolf
5e72416478
1592-SVG syntax error with links
...
Added xlink namespace to svg definition
2020-08-12 13:47:21 -07:00
Knut Sveidqvist
677c6d9f89
Release 8.7.0
2020-08-09 14:02:57 +02:00
Knut Sveidqvist
aacf84f78a
Some documentation updates
2020-08-09 07:45:37 +02:00
Justin Greywolf
894369cc73
stop tracking files in dist
2020-08-04 12:08:21 -07:00
Justin Greywolf
1f051d7a9f
1181-Css for class diagrams
...
Initial change for supporting custom CSS for use with classDiagrams.
updated `LABEL` regex for specificity
2020-08-03 12:47:50 -07:00
Knut Sveidqvist
36e421eb5f
Merge pull request #1586 from mermaid-js/1542_take_two
...
1542 take two
2020-07-30 08:58:56 +02:00
Knut Sveidqvist
a4bf85b1b6
#1542 Making sure config and directives works for overriding theme variables using initialize call or directives + tests
2020-07-29 18:38:59 +02:00
Knut Sveidqvist
cf70678188
Merge branch 'develop' into feature/1460_add_link_target_to_flowchart_click
2020-07-28 13:21:31 +02:00
Marc Faber
d04d8c3a1d
#1460 Add link target option to flowchart click
2020-07-28 10:49:54 +02:00
chris moran
38d4b5be1a
Fixed an issue with flowchart rendering. Remember to render html, securityLevel='loose' must be set by the siteConfig. The default securityLevel as of now is 'strict'. This causes html to be url encoded.
2020-07-27 05:33:41 -04:00
Knut Sveidqvist
4e12f959fc
Updated after 8.6.4 merge
2020-07-26 22:38:55 +02:00
Knut Sveidqvist
01d7a33230
Merge branch 'master' into develop
2020-07-26 22:37:10 +02:00
Knut Sveidqvist
9825b161ff
latest build (8.6.4)
2020-07-26 22:30:09 +02:00
Knut Sveidqvist
95b7e4f9ad
Theme tweaks
2020-07-26 14:09:48 +02:00
Knut Sveidqvist
416e355495
Build
2020-07-26 08:05:32 +02:00
Knut Sveidqvist
62acc18e7d
Merge of cherry pick
2020-07-26 08:03:56 +02:00
Knut Sveidqvist
06d80032fe
#1578 Fetching updated configuration before use
2020-07-26 08:00:43 +02:00
Knut Sveidqvist
c5b55fa476
Some small interim changes, adding theming.doc
2020-07-24 08:25:57 +02:00
Ashish Jain
a2932a0393
Merge branch 'master' into develop
2020-07-22 19:30:55 +02:00
Knut Sveidqvist
f685363574
Relase 8.6.2
2020-07-22 19:22:02 +02:00
Knut Sveidqvist
91da46dd63
#1542 Theme adjustments
2020-07-19 21:10:52 +02:00
Knut Sveidqvist
936d5821f9
Merge
2020-07-18 20:12:10 +02:00
Knut Sveidqvist
08064c4243
#1542 Adding khroma for color manipulations
2020-07-18 15:15:50 +02:00
Knut Sveidqvist
8d076efd71
#1542 Styling for all diagram types
2020-07-17 15:57:02 +02:00
Knut Sveidqvist
062126c43d
Test page for directives
2020-07-17 12:44:42 +02:00
Knut Sveidqvist
f9667cd80f
#1542 Test page using directoives to switch theme
2020-07-17 12:34:33 +02:00
Knut Sveidqvist
fd4240b774
#1542 Setting theme options as the regular options
2020-07-16 23:39:38 +02:00
Knut Sveidqvist
8c0e022b44
Template for dynamic styles in place
2020-07-16 20:27:42 +02:00
Knut Sveidqvist
da8e75f98a
Merge from master with doc updates
2020-07-16 12:27:03 +02:00
Knut Sveidqvist
594ae20a6e
#1547 Remove usage of crypto libraries
2020-07-16 10:48:37 +02:00
Knut Sveidqvist
3a9306a9c2
#1485 Setting proper font settings in the root css
2020-07-15 12:12:57 +02:00
Knut Sveidqvist
686ee1e349
Relase 8.6.0
2020-07-13 16:39:52 +02:00
Knut Sveidqvist
5242672efb
Adding configuration docs to setup.md and bumping version to 8.6.0
2020-07-04 14:25:14 +02:00
Knut Sveidqvist
2af1f9a9d3
Fix for broken build, issue with config use in flowcahart and gantt diagram
2020-07-02 22:27:03 +02:00
Knut Sveidqvist
b3a465dbca
Merge branch 'develop' into feature/1483_long_messages
2020-07-02 18:25:49 +02:00
Knut Sveidqvist
be9da3928b
Updated mermaidAPI.md from PR
2020-07-02 16:59:09 +02:00
chris moran
cbb69bd3cb
() => is not the same as function() {} smh
...
Fixed a few of the text rendering issues
2020-07-01 04:34:29 -04:00
Chris Moran
18254392ab
Merge branch 'mermaid-js-develop' into develop
2020-06-19 13:32:23 -04:00
Knut Sveidqvist
44d5009538
Revert of PR #1482
2020-06-19 10:52:20 +02:00
Knut Sveidqvist
5677523800
1473 Setting default config
2020-06-14 23:37:08 +02:00
Knut Sveidqvist
2150933368
Setting default config
2020-06-14 22:50:45 +02:00
Chris Moran
9d413680d9
Fixed a rendering issue introduced while trying to fix dark mode. This should fix the rendering of note text for all current themes.
2020-06-14 13:42:25 -04:00
Chris Moran
6309dd1350
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into mermaid-js-develop
2020-06-14 11:40:15 -04:00
Chris Moran
0ae001ed6d
Fixed issue with idea-multimarkdown.
...
- JavaFX does not support lookbehind
- (?) It also appears that named regex groups are also unsupported for both mermaid and javafx
Update:
- Fixed an issue where setLogLevel did not properly handle 'named' log levels
- Backwards compatibility should be preserved, any/all %%{...}%% directives will be correctly processed by the grammar and properly ignored for any/all graph types that do not support them.
- Multiline directives will render an error (as they should) if they are not accounted for in the .jison grammar
2020-06-14 11:34:39 -04:00
Chris Moran
620c894929
Fixed issue causing idea-multimarkdown headaches: util changes. Reworking them.
2020-06-14 06:53:22 -04:00
Chris Moran
04b4da0c75
## Work in progress.
...
Implemented directives per PR review comment:
%%{directive: json-encoded-arg-string}%%
example:
%%{init: { 'logLevel': 0, 'theme': 'dark' }}%%
Also changed wrap and config to directives:
%%{wrap}%%
%%{config: { 'fontSize': 18 }}%%
2020-06-11 15:35:00 -04:00
Toan
6e13718cbd
naming the link/connector edgeLabel and edgePath to let easy query and custom.
2020-06-11 11:42:14 +07:00
Chris Moran
4a253a7760
Merged with mainline develop
2020-06-08 14:58:42 -04:00
Chris Moran
bd11663e0a
Added auto wrap option (and grammar) for sequenceDiagrams
...
Added inline config and init(ialization) grammar
Added reinitialize functionality to mermaidAPI (not to be confused with initialize)
Added actorFontWeight, noteFontWeight, messageFontWeight, wrapEnabled, wrapPadding
Added wrapLabel and breakWord functions to intelligently wrap text based on a pixel-based width instead of column-based
- The implementation is largely from Carys Mills: https://medium.com/@CarysMills/wrapping-svg-text-without-svg-2-ecbfb58f7ba4
- Made slight modifications for mermaid-js
Fixed dark theme color inconsistencies for sequence diagrams
Removed !important from sequence scss as this prevents any client overrides
Fixed various invalid css values in sequence scss which prevented proper rendering of various elements
Added detectInit to utils for initialization json detection
Updated detectType to support the existence or absence of the intialization configuration
Updated calculateTextWidth to include fontWeight
2020-06-08 14:48:03 -04:00
Knut Sveidqvist
7c4bff567b
Merge branch 'master' into develop
2020-06-07 11:08:26 +02:00
Knut Sveidqvist
e9e5c75dec
8.5.2 Release build
2020-06-07 10:39:21 +02:00
Knut Sveidqvist
85a8feec9d
Also fix for error handling when setting mermaid.parseError
2020-06-06 12:42:35 +02:00
Marc Faber
1cc94f8353
Add js and map files in dist folder to repository
2020-06-01 15:23:46 +02:00
Knut Sveidqvist
6ec731e263
Merge pull request #1345 from GDFaber/feature/1343_add_flowchart_subroutine_shape
...
Add flowchart subroutine node shape
2020-04-11 14:12:20 +02:00
Knut Sveidqvist
7cd8b6f938
Merge pull request #1336 from GDFaber/feature/1290_hide_or_style_gantt_today_marker
...
#1290 Hide/style today marker in gantt diagram
2020-04-11 14:04:31 +02:00
Marc Faber
7f67435cb9
#1343 Add flowchart subroutine node shape
2020-04-10 00:14:41 +02:00
Marc Faber
dcfa903176
#1290 Hide/style today marker in gantt diagram
2020-04-05 01:59:18 +02:00
Marc Faber
fc70a8e145
#1271 Fix autonumber positioning in sequence diagrams with multiline texts
2020-04-04 21:53:31 +02:00
Marc Faber
d67e49400f
#684 Fix applying default class to flowchart nodes
2020-02-24 01:31:39 +01:00
Marc Faber
a0e7789d50
#962 added color setting for default link style
2020-02-04 22:07:10 +01:00
Marc Faber
c95adfaf74
#962 Set text color for flowchart link labels according to linkStyle definitions
2020-02-02 22:59:59 +01:00
Knut Sveidqvist
5ea6bd5980
Merge branch 'develop' into bug/1218_fix_link_click_events
2020-01-27 20:06:00 +01:00
Marc Faber
c7b46f4fba
#1218 Fix anchor and script support in link click events
2020-01-26 16:56:42 +01:00
Marc Faber
d2d4a24229
#487 Set text color for flowchart nodes according to style definitions
2020-01-24 01:24:47 +01:00
Marc Faber
c38f053294
#1212 Class definition is not applied to flowchart nodes with links
2020-01-19 18:10:14 +01:00
Knut Sveidqvist
45277affe8
Merge pull request #1204 from GDFaber/bug/1196_keep_flowchart_label_text_when_style_is_applied
...
Keep flowchart node label text (if already defined) when a style is applied
2020-01-15 18:27:48 +01:00
Marc Faber
b1bfdec473
#1196 Keep flowchart node label text (if already defined) when a style is applied
2020-01-14 23:37:30 +01:00
Marc Faber
5493fadc9e
#1200 Unify regex for finding <br> tags throughout mermaid
2020-01-13 22:04:47 +01:00
Marc Faber
1cfd93640c
#743 handle multiline section titles in gantt diagrams
2020-01-08 13:50:58 +01:00
Knut Sveidqvist
75e2abe242
Merge pull request #1166 from GDFaber/feature/flowchart_add_cylindric_shape
...
#1154 Flow diagram DB shape request
2020-01-01 00:24:56 -08:00
Marc Faber
bc59d015e6
#1154 Flow diagram DB shape request
2019-12-31 16:30:03 +01:00
Gene Wood
b4f9dd46a9
Add tests for <br \t> case
...
This adds tests for the case where
* multiple pieces of whitespace are used
* one of those whitespace characters is a tab
2019-12-23 08:52:15 -08:00
Marc Faber
233520b797
#702 improve handling of different "br" tag notations for multiline texts in sequence diagrams
2019-12-21 20:39:32 +01:00
Knut Sveidqvist
5eb50cb2b6
Merge pull request #1132 from GDFaber/develop_Bugfixes_linkStyle_910_1088
...
Flow: Bugfixes for link style
2019-12-11 20:04:32 +01:00
Knut Sveidqvist
f6ef6ff7db
Merge pull request #1130 from GDFaber/develop
...
Flow: Add stadium shape for nodes
2019-12-11 19:48:47 +01:00
Marc Faber
608445e64f
#910 set correct position and style for edge labels when using linkStyle, #1088 handle multiline texts in edge labels when using linkStyle
2019-12-10 03:51:37 +01:00
Marc Faber
1f4be77662
Revert "#910 set correct position and style for edge labels when using linkStyle, #1088 handle multiline texts in edge labels when using linkStyle" - Sorry, forgot to push to a new branch.
...
This reverts commit 0deae4abf9
.
2019-12-10 03:48:12 +01:00
Marc Faber
0deae4abf9
#910 set correct position and style for edge labels when using linkStyle, #1088 handle multiline texts in edge labels when using linkStyle
2019-12-10 03:34:40 +01:00
Marc Faber
9a0df5afb0
#723 Add stadium shape for flowchart nodes
2019-12-08 16:51:47 +01:00
Justin Greywolf
2a41280076
Add support for Generic class definitions
...
Added support in parser to translate characters surrounded by `~` into generic type definition ie: `Class01~T~` would turn into `Class01<T>`
2019-12-05 12:59:22 -08:00
Justin Greywolf
68c2ea38c9
Bug1061-CannotMarkMembersAsProtectedInClassDiagram
...
Using # to indicate protected status of a member or method causing parser error when not used inside class declaration brackets {}. Removed '#' from `LABEL` regex
2019-11-19 12:49:59 -08:00
Knut Sveidqvist
031c0b7b21
#945 Increasing size, handling forks and joins in multiple directions
2019-10-10 20:55:27 +02:00
Knut Sveidqvist
85e58faa78
#945 White background and forks in composite mode
2019-10-10 17:57:29 +02:00
Knut Sveidqvist
554189908d
Merge pull request #970 from mearns/issue-530-hexagon
...
Add hex shape for flow charts
2019-10-08 21:43:10 +02:00
Christian Klemm
612df99c34
added tests + alt syntax
2019-10-04 23:49:58 +02:00
Christian Klemm
912e850db4
added grammar
2019-10-04 21:49:02 +02:00