122 Commits

Author SHA1 Message Date
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
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
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
824a43f537 Added support for nested subgraphs in grammar, part 1 of issue #161 2015-05-09 19:08:04 +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
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
3fedc1263c Fix for issue #126 2015-03-07 13:37:24 +01:00
knsv
bc5f73daa2 Fix for issue #37
Updated dependencies to dagre/dagre-d3
2015-03-07 12:28:52 +01:00
knsv
ec9094696b Modified the number of week for which the x-axis stays in week mode as discussed in issue #125 2015-03-05 08:12:17 +01:00
knsv
85cdfbaaf8 Modified the number of week for which the x-axis stays in week mode as discussed in issue #125 2015-03-05 08:11:29 +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
ead74558ea Added default stylesheet and less structure to create new themes 2015-03-01 16:29:41 +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
0955c4c428 Today line for gantt chart 2015-02-25 00:07:13 +01:00
knsv
e5657d028d Better styling for gantt diagrams and addition of critical path, active and completed tasks 2015-02-22 20:18:44 +01:00
knsv
a7339eaf1c Experimental support for gantt diagrams 2015-02-20 19:34:18 +01:00
knsv
2877501ff5 Experimental support for gantt diagrams 2015-02-20 19:06:15 +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
5452be9fed New release 2015-01-25 16:41:43 +01:00
knsv
910b90b79c Better margin calclulation when there are several diagrams on one page. 2015-01-25 16:39:34 +01:00
knsv
a38a156d3b Mirror actors below sequence diagram possible as described in issue #106 2015-01-25 14:24:58 +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
ee6ad01209 Merge branch 'master' of https://github.com/knsv/mermaid
Conflicts:
	dist/mermaid.full.js
	dist/mermaid.full.min.js
	dist/mermaid.slim.js
	dist/mermaid.slim.min.js
2015-01-20 20:04:16 +01:00
knsv
33973354ed * Removed logging 2015-01-20 19:53:38 +01:00
knsv
44a2e0472a * Draft implementation of info diagram
* Fix for issue #109
2015-01-20 19:48:33 +01:00
Mark Dalgleish
50d285bc49 Require d3 directly to better support Node usage 2015-01-20 16:59:58 +11:00