74 Commits

Author SHA1 Message Date
Tomasz Szczęśniak-Szlagowski
841aea9d97 Add changes in generated files after jison update 2015-10-24 21:33:19 +01:00
knsv
b43e695da2 Fix for issue #204, added width option to the CLI. Default value for width is 1200.
Added logger using es6 syntax
2015-10-19 21:36:55 +02:00
knsv
315923d1d3 Modernization of build environment, better linting, adjustment after stricter static rules, cleanup of package.json 2015-10-17 12:46:36 +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
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
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
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
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
dc1a6ba8b5 Wit 2015-09-26 18:30:13 +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
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
knsv
6f96b5dd14 Added logger for dealing with issue #179
Added markdown files for the documentation.
parseError exposed from the mermaidAPI
2015-06-30 14:23:32 +02:00
knsv
50219cf2d9 Fix for issues with generating diagrams using the cli: default style for clusters and fixes for autoscaling side effects 2015-06-21 17:25:58 +02:00
knsv
e5a701d04d Fix for issue #175 2015-06-16 10:40:08 +02:00
knsv
342b83a010 Fix for issue #174 2015-06-14 14:46:01 +02:00
knsv
eb555f7da6 Deleted dead code and unused code 2015-06-14 09:51:42 +02:00
knsv
efb4e464b2 Fix for issue #170 2015-06-14 09:33:48 +02:00
knsv
08fa19bc83 Updated conf handling
Added initialize function
Moved genric configuration as clonseCssStyles till conf root
Added parse funtion to the mermaidAPI api
2015-06-07 09:21:19 +02:00
knsv
6864652b80 Initial fix for defect #162. 2015-05-29 08:23:13 +02:00
knsv
b2e489b689 Fix for issue #161 concering nested subgraphs and correct labels for each subgraph. 2015-05-28 23:02:41 +02:00
knsv
b4a96c9b21 Render function as mentioned in issue #146, only works in browser context
Updated build scripts
New way for bundling content in dist, tobe tested, currently to be considered beta
2015-05-26 20:41:53 +02:00
knsv
05f3982632 Fix for defect #161, nested subgraphs. 2015-05-15 12:11:36 +02:00
knsv
ae6bb57cf5 Added support for nested subgraphs in grammar, part 1 of issue #161 2015-05-09 19:05:47 +02:00
knsv
1fd94f9cf1 Remoed a console.log 2015-03-29 12:08:07 +02:00
knsv
c966aad496 Fix for subgraphs 2015-03-22 18:36:17 +01:00
knsv
0ed5a01756 Fix fir defect #141 regarding comment characters 2015-03-22 18:02:45 +01:00
knsv
22b9ee4919 Comment handling 2015-03-22 17:51:13 +01:00
knsv
3781dea498 Removed duplicate code 2015-03-15 14:55:16 +01:00
knsv
3ae1b5f1a3 Fix for issue #129 - Possibility to set the width of the generated flowchart 2015-03-07 14:52:18 +01:00
knsv
cbebf126ce Fix for issue #128 - flowchart - styling of edges via css overrides specific styles set in the graph definition 2015-03-07 13:51:47 +01:00
knsv
cc1a4be15a Added default stylesheet and less structure to create new themes as described in issue #122 2015-03-01 16:48:16 +01:00
knsv
3c5a19e5a7 Gantt: Configurable format for dates on x-axis
Flowchart: Default styles for links as discussed in issue #31
2015-02-28 23:50:23 +01:00
knsv
8598a7d712 More forgiving flowcharts, space at the end of the line allowed 2015-02-25 07:57:26 +01:00
knsv
2512666f49 New release 2015-02-15 19:34:18 +01:00
knsv
074a819ca8 New release 2015-02-15 18:11:46 +01:00
knsv
c211434c38 Draft parser for gantt diagrams. 2015-02-08 20:07:15 +01:00
knsv
4562a811fc Better margin calculation when there are several diagrams on one page. 2015-01-25 16:40:12 +01:00
knsv
d3d44ec806 Api for validating the syntax without rendering 2015-01-25 13:06:25 +01:00
knsv
6612b3e01e Fix relatwed to issue number #54 - % in text 2015-01-24 19:33:10 +01:00
knsv
d0428d492b Fix for issue number #108 - v in text 2015-01-20 20:23:02 +01:00
knsv
2af4a1f9f8 * Removed logging 2015-01-20 19:52:13 +01:00
knsv
48500652b3 Allow overriding sequence diagram configuration (SVG properties) - handling of non existent configuration 2015-01-14 19:10:39 +01:00
Björn Weström
9c8e36ea95 Syntax suggestion for reverse asymmetric shape 2015-01-14 00:03:19 +01:00
Björn Weström
8e9890d6e1 New shape, text labels
Added support to configure mermaid to use plain text labels for better
SVG compatibility
Added a reverse asymmetric shape, not in the graph syntax yet
2015-01-14 00:02:58 +01:00
Björn Weström
a23fce6c2d Cleanup after merge 2015-01-13 21:55:10 +01:00
Björn Weström
9f970ed953 Merge branch 'master' into text-labels
Conflicts:
	dist/mermaid.full.js
	dist/mermaid.full.min.js
	dist/mermaid.slim.js
	dist/mermaid.slim.min.js
	src/diagrams/flowchart/flowRenderer.js
	src/utils.js
	test/web_style.html
2015-01-13 21:50:05 +01:00