Commit Graph

149 Commits

Author SHA1 Message Date
knsv ecb12ae2a8 New release 2015-10-19 22:08:17 +02: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 658ed3d790 Modernization of build environment. Less gulp, more npm. Eslint. 2015-10-12 07:37:02 +02:00
knsv 16906ee242 New version 2015-10-04 23:28:37 +02:00
knsv a611ff3abd New version 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 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 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 4536930e17 New style docs 2015-09-24 08:04:06 +02:00
Gilles De Mey b04f198f3e auto width for the default style 2015-09-15 19:11:05 +02: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 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 0dc983d04a New release 2015-06-21 17:26:19 +02:00
knsv 4ed345101a Fix for issue #178, auto-line wrap of notes in sequence diagrams 2015-06-20 20:58: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 31d5899011 Fix for issue #170 2015-06-14 09:37:59 +02:00
knsv 999430f9e0 New release 2015-06-07 17:05:57 +02:00
knsv be535604ab Cleanup of bundles 2015-06-07 16:56:09 +02:00
knsv 0703292fb9 Bumped up version and removed logging 2015-06-07 16:51:56 +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 94e5177bb1 Fixed build issue 2015-05-31 08:19:26 +02:00
knsv 45f34d871b Added option for whether or not to cloneCssStyles as mentioned in issue #157. 2015-05-30 17:20:24 +02:00
knsv 173a2b12aa Fix for issue #150. 2015-05-30 13:00:04 +02:00
knsv 6864652b80 Initial fix for defect #162. 2015-05-29 08:23:13 +02:00
knsv cf67307711 Fix for build scripts, mermaid full was not including d3. 2015-05-26 21:10:33 +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 9face45357 Merge remote-tracking branch 'origin/master'
Conflicts:
	dist/mermaid.full.js
	dist/mermaid.full.min.js
	dist/mermaid.slim.js
	dist/mermaid.slim.min.js
	src/diagrams/gantt/ganttRenderer.js
	test/gantt.html
2015-05-09 19:18:12 +02:00
knsv 824a43f537 Added support for nested subgraphs in grammar, part 1 of issue #161 2015-05-09 19:08:04 +02:00
knsv 82dffe0a1d Fix for defect #158 2015-04-20 21:22:37 +02:00
knsv 22cee7e4b0 Fix for defect #158 2015-04-20 21:22:05 +02:00
knsv 2204d46ce1 Fix for defect #158 2015-04-20 21:21:17 +02:00
knsv f310eb0574 Fix for default arguments to init method 2015-04-11 16:47:14 +02:00
knsv 594e69dd93 Adjusted cli tool for new init functionality 2015-03-29 12:26:47 +02:00
knsv 78d8ee01ac #Adjustments of init - **could break some integrations!!**
* Configuration are picked up from the mermaid object and is not passed as arguments. Same handling for all diagram types, sequenceDiagrams were handled in a different way before this commit.

When init is called with:

* 0 arguments - all mermaid divs are processed
* 1 argument - this is interpreted as a definition of what nodes to process
* 2 arguments - for (some) backwards compatability the second argument is interpreted as the definition of nodes to process. The first argument (prrobably a sequence config is ignored)

A definition of nodes to process can be

* a css selector for what elements to be processed
* a list of nodes as in the result of a command like the one below

```
document.querySelectorAll('.tbProcessed');
```
2015-03-29 11:54:54 +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