Knut Sveidqvist
525a32f9f0
2020-08-13 20:03:42 +02:00
Ashish Jain
36f8f1902c
Removing hard coding with dynamic values for cardinalities
2020-08-13 19:41:33 +02:00
Ashish Jain
28bc87b873
Merge branch 'develop' into 1542_take_two
2020-08-13 18:27:37 +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
aacf84f78a
Some documentation updates
2020-08-09 07:45:37 +02:00
Justin Greywolf
f914cb0248
1594-Comment in class diagrams not working
...
Slight modification to comment regex to ensure that all lines were being looked at, not just the first one
2020-08-07 12:08:34 -07:00
Ashish Jain
61993a032a
Initial implementation for cardinality position.
2020-08-07 14:52:42 +02:00
Justin Greywolf
9a86accc62
1181-Minor update to regex
2020-08-04 12:05:56 -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
e9e9b13df0
Added themeVariable references and som adjustments in base theme calculations.
2020-07-31 15:05:51 +02:00
Knut Sveidqvist
5565aab488
#1590 Theme base tweaked for custom theming
2020-07-30 19:18:18 +02:00
Knut Sveidqvist
dbe6b9dacb
#1590 Themes tweaked
2020-07-30 15:28:46 +02:00
Knut Sveidqvist
dd866718b9
Removed console statements
2020-07-30 10:16:29 +02: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
f1836c281c
#1542 Fix for secirity config
2020-07-30 08:20:27 +02:00
Knut Sveidqvist
ecea0f90d4
#1542 Handling of config
2020-07-29 22:19:23 +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
Knut Sveidqvist
b23988c947
Merge pull request #1582 from cmmoran/develop
...
Directive support for many diagrams, config bugfix
2020-07-28 13:17:35 +02:00
chris moran
06f6e75d5a
Class diagram parsing
...
Fixed a class diagram parsing issue
2020-07-28 07:00:04 -04:00
chris moran
c9854b35e2
Fixed flowchart parsing (broken tests - grammar changes were not 100% correct)
2020-07-28 05:48:26 -04:00
Marc Faber
d04d8c3a1d
#1460 Add link target option to flowchart click
2020-07-28 10:49:54 +02:00
chris moran
283faf7a2f
Fixes
...
GraphObjects.md: [ and ] should be escaped in text (they're links otherwise)
flow.jison: fixed a parsing issue when the direction is omitted (defaults to 'TB')
stateRenderer-v2: was silently failing due to a try/catch in the parse function. (intentional?) removed to show errorHandler
mermaidAPI: removed unnecessary call to updateRendererConfigs since reinitialize does this
2020-07-28 04:45:22 -04:00
chris moran
0299ff0a79
Added directive support to state diagrams
...
Fixed an issue with markerUnits: (default is 'strokeWidth' not 0
2020-07-27 19:44:45 -04:00
chris moran
4ee65822aa
Merge remote-tracking branch 'carlosblanco/feature/1228-support-dashes-in-actor-names-in-sequence-diagrams' into develop
2020-07-27 15:05:57 -04:00
chris moran
e7ca6c16ff
Tweaked PIE (got rid of some parsing conflicts)
2020-07-27 14:15:38 -04:00
chris moran
771bf78576
Fixed parsers to use the correct type name in close_directive
...
Added directive support to pie
(Refactored pie parsing to be a bit more clear)
Added more unit tests to pie
2020-07-27 13:24:23 -04:00
chris moran
b9fa2f4125
Added directive parsing to gannt
...
Ensured tests pass
2020-07-27 10:16:41 -04:00
chris moran
e5b22684cd
Fixed a parser warning in classDiagram
...
Fixed a regression bug I introduced in theme.spec.js
2020-07-27 09:57:04 -04:00
chris moran
43d37ab1cf
Fixed a new config issue
...
Diagrams now properly reset to siteConfig when there are multiple diagrams on a single page
2020-07-27 08:54:45 -04:00
chris moran
1fc142a59f
Fixed a regression with classDiagram supporting comments
2020-07-27 07:38:12 -04:00
chris moran
c4ad95760a
Fixed a regression in sequence diagram parsing.
...
Added the parser as the first argument to parseDirective to support custom directive handling (for now delegated within mermaidAPI but should probably discriminate based on type for delegation)
2020-07-27 06:50:54 -04:00
Knut Sveidqvist
f0ed170b04
#1542 Setting up base theme for custom theming
2020-07-27 11:51:20 +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
5a7d770a58
#1542 Setting up base theme for custom theming
2020-07-27 10:01:34 +02:00
chris moran
c8f652aaa8
Merge branch 'mermaid-js-develop' into develop
2020-07-27 03:23:04 -04:00
Knut Sveidqvist
01d7a33230
Merge branch 'master' into develop
2020-07-26 22:37:10 +02:00
chris moran
108a50f3bb
Merge branch 'mermaid-js-develop' into develop
2020-07-26 08:59:22 -04: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
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
Carlos Blanco
b120c34177
Support dashes in actor names in sequence diagrams
2020-07-23 20:15:52 -06:00
chris moran
1b89189efa
re-add classDiagram as a theme type (in addition to class and classDiagram-v2 for class diagrams)
2020-07-23 06:03:04 -04:00
chris moran
e53c5097f9
Merge branch 'mermaid-js-develop' into develop
2020-07-23 05:59:40 -04:00
chris moran
cb675300b1
Directive support added to journey
...
Fixed an issue in journey svgDraw.drawText expected an attribute (textMargin) but did not receive one and raised an error: <tspan> attribute x: Expected length, "NaN".
Added parseDirective to journeyDb
2020-07-23 05:58:15 -04:00
Knut Sveidqvist
dbda90b15b
Fix if theme inclusion for classDiagrams
2020-07-23 07:50:22 +02:00
chris moran
a54f3c8c7f
Refactor
...
Moved theme variables to the config module
2020-07-22 16:46:41 -04:00
Ashish Jain
71af9741cc
Correct positioning for class title
2020-07-22 21:25:01 +02:00