Knut Sveidqvist
01d7a33230
Merge branch 'master' into develop
2020-07-26 22:37:10 +02:00
Knut Sveidqvist
95b7e4f9ad
Theme tweaks
2020-07-26 14:09:48 +02:00
Knut Sveidqvist
3fb3453166
dark theme fixes
2020-07-26 12:13:06 +02:00
Knut Sveidqvist
c5b55fa476
Some small interim changes, adding theming.doc
2020-07-24 08:25:57 +02:00
chris moran
a54f3c8c7f
Refactor
...
Moved theme variables to the config module
2020-07-22 16:46:41 -04:00
Ashish Jain
24e470a099
Merge branch 'develop' into feature/Issue-1465_Class_migration
2020-07-22 18:23:47 +02:00
Ashish Jain
abe23250c4
Adjusting initial classDiagram shape rendering
2020-07-21 15:25:16 +02:00
Knut Sveidqvist
ffaf6c14e4
#154 trweaking some more, state diagram composit backgrounds
2020-07-20 17:10:59 +02:00
Knut Sveidqvist
93a8c83a68
#1542 Alignment between themes
2020-07-20 15:15:03 +02:00
Knut Sveidqvist
1302addcdd
#1542 Base theme for simple custom themeing
2020-07-20 14:13:05 +02:00
Knut Sveidqvist
dba579b546
#1542 Gantt tweaks
2020-07-20 10:24:15 +02:00
Knut Sveidqvist
fa68b8bb35
#1542 Some tweaks for sequence diagram
2020-07-20 10:05:46 +02:00
Knut Sveidqvist
ceb84ce020
#1542 Dark theme fixes for gantt
2020-07-20 10:00:08 +02:00
Knut Sveidqvist
68aa7fa3a4
#1542 Dark theme fixes for pie and user-journey
2020-07-20 09:44:09 +02:00
Knut Sveidqvist
3c23de9735
#1542 Lint fixes
2020-07-19 21:15:58 +02:00
Knut Sveidqvist
91da46dd63
#1542 Theme adjustments
2020-07-19 21:10:52 +02:00
Knut Sveidqvist
4d280ff010
#1542 Making sure user overrides from directives ocerrides properly
2020-07-19 15:02:53 +02:00
Knut Sveidqvist
8c0e022b44
Template for dynamic styles in place
2020-07-16 20:27:42 +02:00
Knut Sveidqvist
6959e140af
#1485 Fixing font in pie legends after fix
2020-07-15 12:32:43 +02:00
Knut Sveidqvist
3a9306a9c2
#1485 Setting proper font settings in the root css
2020-07-15 12:12:57 +02:00
chris moran
01a2d90e38
sequence numbers for dark mode should probably be black since the circle is the contrast color
2020-07-01 07:53:03 -04:00
Ashish Jain
1e400624e0
Adjusting classDiagram marker styling
2020-06-24 21:46:59 +02:00
Chris Moran
18254392ab
Merge branch 'mermaid-js-develop' into develop
2020-06-19 13:32:23 -04:00
Chris Moran
1118c3399c
Fixed incorrect positioning and bounds for actors and notes with wrapping enabled and disabled
2020-06-19 09:13:37 -04:00
Knut Sveidqvist
44d5009538
Revert of PR #1482
2020-06-19 10:52:20 +02:00
Chris Moran
3c72d28511
Refactored rendering sequence diagrams
2020-06-17 05:54:24 -04: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
Knut Sveidqvist
6559cfd0e1
#1466 Handling line styles using the new rendering engine
2020-06-13 13:12:33 +02: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
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
85a8feec9d
Also fix for error handling when setting mermaid.parseError
2020-06-06 12:42:35 +02:00
Knut Sveidqvist
0aede618ec
#1295 Adding support for multiline descriptions for states
2020-04-25 17:01:20 +02:00
Knut Sveidqvist
b646672d3e
#1295 Fix for statediagram labels
2020-04-25 14:12:35 +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
Knut Sveidqvist
240077ffe8
#1295 Adding note support to state diagrams
2020-03-29 14:20:49 +02:00
Knut Sveidqvist
5fbb69e7c5
#1295 Styling of composite states
2020-03-28 17:34:23 +01:00
Knut Sveidqvist
85f47e1693
#1295 Styling of start/end nodes, arrows and regular states
2020-03-28 13:59:41 +01:00
Knut Sveidqvist
159a3a3706
#1295 Start shape and handling of setting a unique start id per cluster level
2020-03-25 20:16:27 +01:00
Knut Sveidqvist
37ae863443
Merge pull request #1170 from jgreywolf/1064-ClickEventInClassDiagram
...
1064 click event in class diagram
2020-01-05 12:07:34 +01:00
Justin Greywolf
e6fbfcb1e8
1064 Adding tooltip and function calls to click evens in class diagrams
2020-01-02 11:06:29 -08:00
Ashish Jain
f2a5d92398
#1146 Added stroke-dasharray style for Dependency relation
2020-01-02 19:29:17 +01:00
Marc Faber
bc59d015e6
#1154 Flow diagram DB shape request
2019-12-31 16:30:03 +01:00
erinleck@gmail.com
028d9a2667
changes tick contrast for gantt chart
2019-12-19 09:52:46 -07:00
Knut Sveidqvist
94e768dd01
#1110 Cleanup and removal of loggings
2019-12-04 18:04:56 +01:00
Knut Sveidqvist
7adb80b35b
Fixes after verification, font-family set to label of transitions in statediagram
2019-10-19 14:43:26 +02:00
Knut Sveidqvist
3709d9d5c8
Merge pull request #996 from edekadigital/bug-783
...
#783 Hard to customize font-size for gantt charts
2019-10-15 19:38:20 +02:00
Kolja Markwardt
96c86fd4b2
#783 Hard to customize font-size for gantt charts
...
- deselect theme style if font-size is set on the taskText element (e.g. via gantt-config)
2019-10-15 15:59:36 +02:00
Knut Sveidqvist
047ce2949a
#989 Added font styling classes to diagrams lacking then
2019-10-13 19:16:35 +02:00