Ashish Jain
455cd9c696
Merge branch 'develop' of https://github.com/knsv/mermaid into 1542_take_two
2020-08-19 18:45:24 +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
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
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
chris moran
06f6e75d5a
Class diagram parsing
...
Fixed a class diagram parsing issue
2020-07-28 07:00:04 -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
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
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
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
Ashish Jain
71af9741cc
Correct positioning for class title
2020-07-22 21:25:01 +02:00
Ashish Jain
6917303e1b
Enabled styles.js for classDiagram-v2
2020-07-22 19:25:26 +02:00
Ashish Jain
03c19ccae9
Migrated style css from scss file to styles.js
2020-07-22 19:10:28 +02:00
Ashish Jain
24e470a099
Merge branch 'develop' into feature/Issue-1465_Class_migration
2020-07-22 18:23:47 +02:00
Ashish Jain
516649a508
Adjusting initial classDiagram shape rendering
2020-07-21 15:27:02 +02:00
Ashish Jain
abe23250c4
Adjusting initial classDiagram shape rendering
2020-07-21 15:25:16 +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
f7a6241ac0
#1542 Fix for markers in class diagrams
2020-07-18 09:57:55 +02:00
Knut Sveidqvist
8d076efd71
#1542 Styling for all diagram types
2020-07-17 15:57:02 +02:00
Ashish Jain
1e400624e0
Adjusting classDiagram marker styling
2020-06-24 21:46:59 +02:00
Ashish Jain
85d4f2843e
Initial commit for classDiagram v2
2020-06-24 19:34:12 +02:00
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07: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
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
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01: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
GDFaber
94ace2348f
Revert "Multiline comments"
2020-02-29 21:32:20 +01:00
Erik Ellingsen
e62027b73c
Multiline comments
2020-02-27 00:02:25 +01:00
Justin Greywolf
6d74c5663f
1169- break out getRows
...
Moved getRows function from `state/stateRenderer.js` and `state/shapes.js` into `common/common.js`. Broke out section into small one line functions for replacing line breaks, then moved the `sanitize` function from `utils.js` to this new module as there is shared functionality
2020-02-21 13:49:05 -08:00
Justin Greywolf
c825b37cc6
1240-refactor for class renderer
...
prep for future functionality work
2020-02-03 16:04:59 -08:00
Knut Sveidqvist
963a0fcd77
Merge branch 'develop' into 1179-SupportGenericTypesForMembers
2020-01-29 21:08:31 +01:00
Justin Greywolf
0921007d92
1058-Set diagram dimensions appropriately
...
Make sure height and width are set so that all of the diagram is displayed
2020-01-27 10:27:05 -08:00
Justin Greywolf
587592449a
1179 Add ability to use generics for members
...
Created new class to handle parsing of members with regex to handle determining type of member and the different elements within. Also moved addTSpan in drawClass method to this new file. Finally, I added a "catch all" section in case something fails in the regex to make sure everything gets formatted correctly.
Added more tests and documentation
updating gitignore
Tired of constantly having to ignore files and stash/pop when switching between branches
2020-01-24 16:01:04 -08:00
Ashish Jain
99469f8404
#1206 Added test case to verify parsing fails to allow EOF until first '{' is closed
2020-01-15 20:34:41 +01:00
Ashish Jain
417d2c0336
#1206 Added test case to verify parsing fails to allow another '{' until first one is closed
2020-01-15 20:33:23 +01:00
Ashish Jain
2a3de1a090
#1206 Updated the classDiagram JISON to not allow EOF or another '{' until first one is closed
2020-01-15 20:29:13 +01:00
Justin Greywolf
0e02cf5c86
Merge pull request #1195 from fgrandel/bug/1193_allow_multiple_relations
...
fix(#1193 ): render multiple relations
2020-01-15 09:29:02 -08:00
Justin Greywolf
244f423baf
Merge pull request #1194 from fgrandel/bug/1192_relation_cut_off
...
fix(#1192 ): relation got cut off
2020-01-14 09:35:00 -08:00