377 Commits

Author SHA1 Message Date
knsv
632a564158 Modernization, better linting, adjustment after stricter static rules 2015-10-17 10:39:20 +02:00
knsv
8365fcc2f9 Modernization, better linting, adjustment after stricter static rules 2015-10-17 10:38:05 +02:00
knsv
2417741283 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	dist/mermaid.js
#	dist/mermaid.min.js
#	dist/mermaid.slim.js
#	dist/mermaid.slim.min.js
#	dist/mermaidAPI.js
#	dist/mermaidAPI.slim.js
#	dist/mermaidAPI.slim.min.js
#	package.json
2015-10-15 07:21:30 +02:00
Knut Sveidqvist
e0033965bc Merge pull request #224 from spect88/fix-end-substring
Allow `end` as a substring of vertex id
2015-10-15 07:16:59 +02:00
Knut Sveidqvist
ae73583d53 Merge pull request #223 from spect88/remove-duplicate-dependencies
Remove duplicate npm dependencies: d3 and he
2015-10-15 07:14:49 +02:00
Tomasz Szczęśniak-Szlagowski
b87764ed94 Allow end as a substring of vertex id
Jison adds \b (word boundary) to literal string patterns by default.
It does so, because it doesn't follow traditional match-longest
approach, but does match-first instead. Without including word
boundaries, it'd be hard to distinguish between a keyword and
identifier.

The pattern for `end` keyword is not a simple string literal - it
swallows trailing whitespace, so we have to add \b manually.

This partially fixes #184 - at least now `end` behaves the same as other
keywords: it can be used as a prefix and infix, but not as a suffix.

To solve this issue completely, ALPHA pattern would have to match
multiple letters, which is a much bigger change.
2015-10-15 00:31:18 +01:00
Tomasz Szczęśniak-Szlagowski
7e9e9cc98c Remove duplicate npm dependencies: d3 and he
These are already defined as dependencies (same versions), so there's
no point keeping them as devDependencies. npm complains about that.
2015-10-14 21:52:41 +01:00
knsv
658ed3d790 Modernization of build environment. Less gulp, more npm. Eslint. 2015-10-12 07:37:02 +02:00
knsv
ed65e6df3b Draft of font-awesome support as described in issue #49. 2015-10-07 18:35:30 +02:00
knsv
16906ee242 New version 0.5.3 2015-10-04 23:28:37 +02:00
knsv
a611ff3abd New version 0.5.2 2015-10-04 23:09:00 +02:00
knsv
8258fb059c Fix for defect #180, SVG foreignObject rendering 2015-10-04 21:18:05 +02:00
knsv
122274bf52 Fix of broken tests 2015-10-04 19:30:53 +02:00
knsv
c5d41c5a21 Added support for entity codes for sequence diagrams so that it for instance is possible to represent a " with #quot; and a heart with #9829;. This as referenced in issue #74 and issue #193. 2015-10-04 14:05:53 +02:00
knsv
a2b6bc5213 Added support for entity codes so that it for instance is possible to represent a " with #quot; and a heart with #9829; This differs from the regular html codes in that the leading & isreplaced with a dsh and for dec codes dropped. This as referenced in issue #219. 2015-10-03 21:50:32 +02:00
knsv
cb5e88c2f1 Documentation of usage of the mermaidAPI and binding user interaction events 2015-10-03 16:53:27 +02:00
knsv
8bc3bdd300 Added styling for mermaid tooltips
Adjustments of tooltip positioning for large documents

Documentation of tooltips
2015-10-03 16:30:50 +02:00
knsv
b3fa6378bd Reenabled all tests.
Subgraph issue with ids written as title resolved.
2015-10-02 00:21:38 +02:00
knsv
e406fda9cd Draft implementation of tooltips and hyperlinks as described in issue #34. More tests and documentation to follow. 2015-10-02 00:18:47 +02:00
knsv
30a755221b Fix for broken build 2015-09-27 20:51:22 +02:00
knsv
40efbc5b84 Fix for issue #210, classDef broken also added some documentation on how to predefine classes in the css and set them from the graph definition. 2015-09-26 18:32:35 +02:00
knsv
dc1a6ba8b5 Wit 2015-09-26 18:30:13 +02:00
knsv
709ebe524d New docs and updated dist 2015-09-26 13:00:30 +02:00
knsv
fb94aaaa6f Fix for issue #209, missing links when baste tag is used
Fix for issue #195, text wrap in sequence diagrams drops last word
Documentation
2015-09-26 12:09:47 +02:00
knsv
bae1e80ac0 Updated package.json 2015-09-24 18:41:38 +02:00
knsv
4536930e17 New style docs 2015-09-24 08:04:06 +02:00
knsv
189325508e Usage of path.join for adding styles as per suggestions from @fardog 2015-09-16 07:30:25 +02:00
Knut Sveidqvist
c81e933dc3 Merge pull request #205 from gillesdemey/dev-default-style
Default style when using the CLI
2015-09-16 07:23:39 +02:00
Gilles De Mey
85481b2310 Added test for using a default style 2015-09-15 19:22:07 +02:00
Gilles De Mey
b04f198f3e auto width for the default style 2015-09-15 19:11:05 +02:00
Gilles De Mey
a989b5ccde fall back to using the default mermaid style 2015-09-15 19:10:53 +02:00
Knut Sveidqvist
4ee0f9b6be Merge pull request #198 from dbrans/master
Gantt chart - add minutes and seconds durations
2015-08-29 18:50:34 +02:00
Derek Brans
1d371e0a1e Gantt chart - add minutes and seconds durations 2015-08-25 14:49:56 -07:00
knsv
3ec7c6d18b Fix for being able to use the character v in node ids as described in issue #192 2015-07-23 15:33:26 +02:00
Knut Sveidqvist
80912ffaee Merge pull request #190 from bollwyvl/amd
Using QUnit for AMD testing
2015-07-22 08:46:51 +02:00
Nicholas Bollweg
4777fe0d91 doing build before test 2015-07-22 01:15:05 -04:00
Nicholas Bollweg
feddb6d048 fixing weird sort, travis bait 2015-07-22 01:00:45 -04:00
Nicholas Bollweg
b148ec0850 restoring standalone 2015-07-22 00:47:03 -04:00
Nicholas Bollweg
1a36ed9786 adding failing test for requirejs 2015-07-22 00:36:31 -04:00
knsv
1b7ad1fc38 Beta fix for binding of click events when using the render function as discussed in issue #188. (Try num 2) 2015-07-18 00:40:42 +02:00
knsv
71d4113ecf Beta fix for binding of click events when using the render function as discussed in issue #188. 2015-07-17 23:13:40 +02:00
knsv
ed712fa673 Fix for startOnLoad issues 2015-07-15 11:59:01 +02:00
knsv
fcb2af780d Added callback to be called after each diagram is rendered as described in issue #176 2015-07-15 11:39:46 +02:00
knsv
a8c8f9a472 Set height of actor line height in sequenceDiagrams as discussed in issue #181 2015-07-04 10:00:14 +02:00
knsv
ab1dd1e549 Fix of broken logger 2015-07-04 09:30:26 +02:00
knsv
145983fc5d Merge remote-tracking branch 'origin/master' 2015-07-03 08:53:10 +02:00
knsv
9fb45a3ab7 Cleanup 2015-07-03 08:52:55 +02:00
knsv
b97e5ff5b0 Cleanup 2015-07-03 08:52:34 +02:00
knsv
0ca04671ed New version of docs 2015-07-03 08:52:01 +02:00
knsv
6e062b241e New version of docs 2015-07-03 08:51:10 +02:00