80 Commits

Author SHA1 Message Date
Tomasz Szczęśniak-Szlagowski
ef290796e0 Fix a bug in CSS cloning error handler
Firefox throws SecurityError when `cssRules` is accessed, which exposes
this bug.

Fixes #245
2015-11-05 19:38:36 +00:00
knsv
7a58e8261f Simple rendering of class diagrams 2015-10-30 10:47:25 +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
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
658ed3d790 Modernization of build environment. Less gulp, more npm. Eslint. 2015-10-12 07:37:02 +02:00
knsv
122274bf52 Fix of broken tests 2015-10-04 19:30:53 +02:00
knsv
dc1a6ba8b5 Wit 2015-09-26 18:30:13 +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
Tyler Long
e0d90def93 IE, local html, cssRules access is denied
IE, open html file directly from hard disk(insead of from a http server), cssRules access is denied.

Thus an expection is thrown. But in the catch statement, another one is thrown again thus caused the whole mermaid code break. 

In this line `console.warn('Invalid CSS selector "' + rule.selectorText + '"', err);`  rule is undefined, so exception will be thrown if we don't check.
2015-04-19 15:58:09 +08:00
knsv
3fedc1263c Fix for issue #126 2015-03-07 13:37:24 +01:00
knsv
2877501ff5 Experimental support for gantt diagrams 2015-02-20 19:06:15 +01:00
knsv
d3d44ec806 Api for validating the syntax without rendering 2015-01-25 13:06:25 +01:00
knsv
44a2e0472a * Draft implementation of info diagram
* Fix for issue #109
2015-01-20 19:48:33 +01:00
Björn Weström
84124c9427 Improved CSS cloning
Better separation of styles between multiple mermaid SVGs on the same
page
Added support for text label styling
2015-01-14 00:04:38 +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
Björn Weström
43d2b0b9d7 Improved style handling 2015-01-11 16:15:57 +01:00
knsv
5a720b6d63 Introducing subgraphs 2015-01-07 21:02:58 +01:00
knsv
f9943b6b82 Support for different arrow types in sequence diagrams: no arrow head, cross head and regular arrow head. 2015-01-04 17:56:58 +01:00
knsv
5fc873468d Styling of sequence diagrams from css classes 2014-12-21 20:59:11 +01:00
Björn Weström
f656269a50 Improved class styling for nodes
Added unit testing
classDefs are now exported to the common style of the SVG
Styling is no longer copied from other mermaid SVGs on the same webpage
2014-12-14 22:15:47 +01:00
Björn Weström
3fcbc7ae56 Added class definitions to nodes
Removed the inline styling of nodes with classes, replaced with class
attributes and a common CSS Style section at the start of the SVG.
2014-12-14 00:32:27 +01:00
knsv
92439fbdf3 Merge branch 'master' of https://github.com/knsv/mermaid
Conflicts:
	gulpfile.js
2014-12-11 19:35:03 +01:00
knsv
977df99c80 * Support for comments pointed out in issue #47 2014-12-11 19:23:36 +01:00
Jason Kim
202af046aa Made changes based on jslint 2014-12-09 22:26:42 -08:00
knsv
4c564ebe9e Adding experimental new grammars 2014-12-04 17:58:05 +01:00
knsv
2317ea5117 Better text handling for flowcharts 2014-11-25 18:58:47 +01:00