Knut Sveidqvist
6559cfd0e1
#1466 Handling line styles using the new rendering engine
2020-06-13 13:12:33 +02:00
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07: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
44675739a1
when window scroll, the tooltip show incorrect position coz its missing offset of window.scrollXY
2020-06-11 16:01:36 +07:00
Toan
6e13718cbd
naming the link/connector edgeLabel and edgePath to let easy query and custom.
2020-06-11 11:42:14 +07:00
Justin Greywolf
67e167427c
1378-Added additional test
2020-06-09 14:54:08 -07:00
Justin Greywolf
969a4e7ba5
1378-refine legacy member parsing to cover additional cases
2020-06-09 14:25:03 -07:00
Justin Greywolf
0495103635
Fix regex and Fix incorrect test
2020-06-08 19:21:33 -07:00
Justin Greywolf
9091d686ed
1378-Update regex to match multiple parameters
...
removing node version changes
2020-06-08 18:42:29 -07:00
Justin Greywolf
47b5d7a2df
1378-accept multiple parameters with methods
...
sec
2020-06-08 18:42:29 -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
db3377e170
Lint fixes
2020-06-06 12:53:19 +02:00
Knut Sveidqvist
85a8feec9d
Also fix for error handling when setting mermaid.parseError
2020-06-06 12:42:35 +02:00
Knut Sveidqvist
b76e833ea5
#1436 Correcting intersection calculations for circles
2020-05-30 18:04:46 +02:00
Knut Sveidqvist
3bdb9f289f
Merge branch 'master' into develop
2020-05-30 17:11:23 +02:00
Knut Sveidqvist
8958b2aa1b
Merge pull request #1432 from mermaid-js/1418_html_labels_rendering_engine
...
1418 html labels rendering engine
2020-05-27 22:34:26 +02:00
Knut Sveidqvist
cf0fb69153
#1418 Lint fixes
2020-05-27 22:23:53 +02:00
Knut Sveidqvist
8603cf89b0
#1418 Fix for descriptions in states
2020-05-27 22:18:59 +02:00
Knut Sveidqvist
39ef0107ad
#1418 Fix for titles in stateDiagram clusters
2020-05-27 21:47:07 +02:00
Knut Sveidqvist
63d7b63f42
#1418 Fix fr background in notes when using htmlLabels
2020-05-27 21:20:18 +02:00
Knut Sveidqvist
4ea6c98f43
#1418 Adding support for htmlLabels in stateDiagram (v2)
2020-05-27 20:41:59 +02:00
Knut Sveidqvist
39bdf261c6
2020-05-27 19:38:30 +02:00
Knut Sveidqvist
7a7e8fe741
Merge pull request #1425 from spopida/bug/1415_erd_empty_label_not_working
...
Ensure empty quoted relationship labels are accepted in ER diagrams
2020-05-27 19:30:21 +02:00
Adrian Hall
f1c05bc909
Ensure empty quoted relationship labels are accepted in ER diagrams
2020-05-23 13:33:44 +01:00
Knut Sveidqvist
ef24020b14
Merge pull request #1411 from ivan-danilov/sequence-over-notes-position-fix
...
Fixed SequenceDiagram over note horizontal position
2020-05-22 09:33:54 +02:00
Knut Sveidqvist
9da027cf74
Fix for intersect issues for start/end state
2020-05-17 09:34:56 +02:00
Knut Sveidqvist
45e9988700
Lint fix
2020-05-16 21:59:13 +02:00
Knut Sveidqvist
c21b61bbd2
Bug fixes in new functionality, intersections not taken into account in nodes used by new graph engine. Graph flowchart not usable when integrating using mermaid.core. Incorrect flwochart docs
2020-05-16 19:58:22 +02:00
Ivan Danilov
61249b0887
Fixed SequenceDiagram over note horizontal position
...
Previous expression with noteWidth does not make sense as noteWidth is
not used in case of note over two participants - forceWidth is used
instead. It tried to be symmetrical over cases A,B and B,A but failed.
Can be seen with messages over conf.width size (cannot reproduce in the
live editor as it seems to use not the last version where the code
does not use noteWidth).
The changed code explicitly calculates which of the actors is the
"left" one and starts rendering half margin to the left of its cetral
line.
2020-05-13 21:50:25 -07:00
Knut Sveidqvist
7b15fefcaa
#1408 Mocking new module in tests
2020-05-13 19:21:53 +02:00
Knut Sveidqvist
6d076284e8
#1408 Removing crypto-random-string and he
2020-05-13 19:14:18 +02:00
Knut Sveidqvist
d7d248fd04
Merge pull request #1388 from mermaid-js/1386_finetuning_rendering_engine
...
1386 finetuning rendering engine
2020-05-13 17:36:12 +02:00
Knut Sveidqvist
1fc6603f41
Merge branch 'develop' into feature/remove-lodash
2020-05-13 17:34:26 +02:00
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01:00
hikerpig
28ea68fe7f
Replace lodash with specific implementations, #1389
2020-05-07 21:35:34 +08:00
Knut Sveidqvist
9a3ec31191
#1386 Adding support for click events and links
2020-05-06 18:51:12 +02:00
Knut Sveidqvist
a20e6086cc
#1386 Adding subroutine support for new rendering engine
2020-05-03 21:52:44 +02:00
Knut Sveidqvist
a8f9e3f0b0
#1386 Adding some docs and adjusted sizing for state diagrams
2020-05-03 13:31:09 +02:00
Knut Sveidqvist
67aed51742
#1382 Fix for lost parentage for nodes in deep structure
2020-05-01 19:18:07 +02:00
Adrian Hall
d068a460bd
Change ERD fontSize config to an integer to prevent NaN errors
2020-04-30 15:55:14 +01: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
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