Fabio Spampinato
00be016979
Avoiding publishing the “src” folder to NPM
2019-06-04 03:17:14 +02:00
Fabio Spampinato
9290aa2b61
Replaced “moment” with “moment-mini"
2019-06-04 03:14:35 +02:00
Knut Sveidqvist
977491ef8d
Merge branch 'master' of github.com:knsv/mermaid
2019-06-01 19:21:59 +02:00
Knut Sveidqvist
86fcbf9c5e
Added e2e tests and snapshot files
2019-06-01 19:21:15 +02:00
Knut Sveidqvist
e081e4c9c6
Fixed som dependencies
2019-05-31 14:59:23 +02:00
Knut Sveidqvist
357e738983
Adding image snapshots for graphs
2019-05-31 14:20:43 +02:00
Knut Sveidqvist
7242a98adb
Moving jest config out of package.json to facilitate different jest configurations for unit tests and e2e tests
2019-05-30 19:31:41 +02:00
Knut Sveidqvist
6974892a11
Added jest, jest-puppeteer and jest-image-snapshot for e2e tests
2019-05-30 19:27:27 +02:00
Knut Sveidqvist
ee0cb8793f
Merge pull request #791 from flying-sheep/svg-links
...
SVG link rendering
2019-05-28 23:18:39 +02:00
Knut Sveidqvist
0cfd3c7e02
Merge pull request #749 from monsterkrampe/issue-748-make-mermaid-class-diagrams-usable-in-stackedit
...
Make Class Diagrams usable in Stackedit and Live Editor
2019-05-28 22:32:36 +02:00
Knut Sveidqvist
23693bd57e
Merge pull request #845 from Qix-/style-subgraph
...
Support styling of subgraphs
2019-05-28 22:22:45 +02:00
Knut Sveidqvist
d742211797
Merge pull request #837 from jnnnnn/master
...
fix dark theme loop labels not visible
2019-05-28 22:16:22 +02:00
Knut Sveidqvist
9191663a1a
Merge pull request #792 from jopapo/master
...
Added exclude weekdays to definition
2019-05-28 22:12:18 +02:00
Knut Sveidqvist
b3dd2a4282
Merge pull request #810 from 0xflotus/patch-1
...
fixed diagrams
2019-05-28 22:01:58 +02:00
Josh Junon
f51596eb61
Support styling of subgraphs
2019-05-24 17:08:45 +02:00
Jonathan Newnham
c1d252afe0
fix dark theme loop labels not visible
...
* fix loop label text forced to black, ignoring styles
* fix styles that were being ignored
2019-05-14 11:23:37 +10:00
Vaniship
c3f03e4497
fix: fix draw function can only call once
2019-05-07 15:06:58 +08:00
Stan Hu
9e67de8a9f
Fix dotted lines not appearing in flowcharts when HTML labels disabled
...
For some reason, `edgeData.style` was being overwritten when it
was already set earlier in the method.
2019-05-01 22:48:16 -07:00
Philipp A
6f09b14f44
Fix group labels
2019-04-26 11:01:21 +02:00
Philipp A
d78b33ca75
Fixed tests
2019-04-26 10:04:46 +02:00
jsyang
fa9cf2b345
Fix line styling (dashed / thick) when not using HTML labels option
2019-04-24 16:31:09 +01:00
Jim Yang
b2c833b879
Remove escape inside regex for StandardJS
2019-04-18 18:38:33 +01:00
Jim Yang
96516d6dd5
Fix issue with XML line breaks inside vertex labels
...
The regex needed to match the `<br>` or `<br/>` wasn't completely correct since some browsers (e.g. Chrome) attempt to turn `<br>` elements into their XHTML counter-parts: `<br/>`. This fixes the regex so both will match.
2019-04-18 10:46:52 +01:00
0xflotus
7071cd7381
fixed diagrams
2019-03-18 11:48:18 +01:00
abzicht
0a7b8840a4
Added css for clickable when task text is outside of task
2019-03-15 20:34:26 +01:00
abzicht
f272cff7f6
Adding minify capability
2019-03-10 18:23:11 +01:00
abzicht
6ede0f6166
Allowing brackets in taskTxt, adjusted index.html example to include brackets in task text
2019-03-10 14:07:33 +01:00
abzicht
c44ff8a70f
Adding a gantt clickable example to the existing gantt diagram
2019-03-10 13:56:49 +01:00
abzicht
d2eb507e7d
Adding styles for clickable tasks
2019-03-10 13:43:20 +01:00
abzicht
fa04e3de75
Adding jison processed js file because it seems that this is always committed to github
2019-03-10 13:42:43 +01:00
abzicht
63184d53c1
Argument processing now allows double quoted strings
2019-03-10 13:41:59 +01:00
abzicht
1dfff7ac0e
Added documentation and implemented empty functionarguments
2019-03-10 13:41:02 +01:00
abzicht
6c84544521
Changed href to scan for the next double quoted word. This allows whitespace in links and resolves the issue with href ending with EOF
2019-03-10 11:49:16 +01:00
abzicht
91651ca6ce
Fixed lint issues
2019-03-09 23:17:13 +01:00
abzicht
6fd790570a
Removed <a> tag, moved id attribute to text section
2019-03-09 23:14:28 +01:00
abzicht
b322a964ca
Code refactoring: Pushing functions is now to the funs list is now available in a separate function. Also, setLink no longer using the .link attribute and instead calls links directly via window.open
2019-03-09 23:13:53 +01:00
abzicht
20b35cbe13
Removed STR remains and fixed whitespace issue for 'call' which lead to undesired whitespace in function names
2019-03-09 22:42:27 +01:00
abzicht
d169641c99
Fixed lint issue
2019-03-09 22:19:08 +01:00
abzicht
856591d253
Removed STR as it is no longer required; made 'click' a state such that it returns the id that is specified after the keyword
2019-03-09 22:18:37 +01:00
abzicht
4587f5a73d
Added 'clickable' class to all elements with interactivity. This allows css styling for clickable elements
2019-03-09 20:08:52 +01:00
abzicht
10057217cb
Fixed issue which only passed the first char of functionargs to the function by splitting the functionargs by commas
2019-03-09 20:07:51 +01:00
abzicht
0c66e1b5b9
Added href support and improved callback argument handling
2019-03-09 12:11:56 +01:00
monsterkrampe
4800460e07
748: class diagram: allow linebreak after last statement; rerender correctly; allow unassociated classes
2019-03-09 09:54:28 +01:00
abzicht
67ee649d99
Added setLink and setClickEvent to gantt
2019-03-08 00:19:53 +01:00
abzicht
57b780a0d7
In render: added calling callback for gantt functions
2019-03-08 00:07:36 +01:00
abzicht
19d9dd6954
Fixed clickStatement to include ids
2019-03-07 22:31:38 +01:00
abzicht
e298351caa
Added <a href> and callback functionality to gantt diagrams
2019-03-07 22:00:02 +01:00
ivan-danilov
752a12bda4
linkStyle now supports list of indexes with a few tests
...
For example:
linkStyle 0,1,2 interpolate basis stroke:#00f,stroke-width:2px;
Other variants of linkStyle syntax are also included
2019-02-21 22:06:11 +02:00
João Paulo Poffo
afeb3b53c9
Simplified methods
2019-02-12 17:52:18 -02:00
João Paulo Poffo
8ce658416b
Simplify to codeclimate
2019-02-12 17:40:57 -02:00