Commit graph

149 commits

Author SHA1 Message Date
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
Knut Sveidqvist
421409181d Added the css files 2015-03-02 09:53:56 +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
knsv
48500652b3 Allow overriding sequence diagram configuration (SVG properties) - handling of non existent configuration 2015-01-14 19:10:39 +01:00
jjmr
9b892ef128 Add new parameter to the console client to override the svg configuration in sequence diagrams 2015-01-13 16:17:30 +01:00
knsv
911cd09dd8 New release 2015-01-11 15:02:35 +01:00
knsv
27687fc742 Added notation for titles on subgraphs 2015-01-10 19:23:57 +01:00
knsv
3027882847 Added notation for dotted links as described in issue #26 and support for thicker links 2015-01-10 14:33:50 +01:00
knsv
36b389b1fd Added arrow head to async arrow with cross 2015-01-09 08:21:48 +01:00
knsv
952723706b Making it possible to have style/% in class definitions as described in issue #54 2015-01-08 08:20:07 +01:00
knsv
5a720b6d63 Introducing subgraphs 2015-01-07 21:02:58 +01:00
knsv
c5c995c916 Added the option to disable auto rendering via the mermaid namespace as described in issue #91
Added optional ; as statement separator equal to newline for sequence diagrams (help for tidy users)
2015-01-06 19:33:00 +01:00
knsv
7741f49ed8 Move of drawLoop to svgDraw 2015-01-05 15:06:01 +01:00
knsv
786d9ddb54 Move of drawLoop to svgDraw 2015-01-05 14:41:00 +01:00
knsv
758a9d7254 Cleanup of code 2015-01-05 13:41:32 +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
385e823c17 Fix for issue #70 2014-12-23 18:06:07 +01:00
knsv
96b12e876e New release 2014-12-22 13:49:38 +01:00
knsv
9a8d7a8c57 Handling of min size of messages to self 2014-12-22 13:47:21 +01:00
knsv
0af92a1626 Support messages to self in sequence diagrams 2014-12-22 09:07:28 +01:00
knsv
5fc873468d Styling of sequence diagrams from css classes 2014-12-21 20:59:11 +01:00
knsv
307c599a0e Inclusion of tape tests in new test target for travis 2014-12-21 11:25:31 +01:00
knsv
7bb75c16da Work with loop rendering for sequence diagrams 2014-12-20 09:19:56 +01:00
knsv
0dc8aa32c6 Added additional tests for sequence diagram rendering. Removed some log output 2014-12-18 23:17:32 +01:00
knsv
a1e415686c Adding support for loops to the sequence diagram grammar. 2014-12-16 20:51:48 +01:00
knsv
5712c6de7b Release 0.2.16 2014-12-15 19:35:09 +01:00
Björn Weström
e550ef9e25 Merge branch 'pr/2'
Conflicts:
	.gitignore
	dist/mermaid.full.min.js
	dist/mermaid.slim.min.js
2014-12-14 22:30:42 +01:00
Björn Weström
429b901e7a Removed unused variables 2014-12-14 22:18:16 +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
knsv
7de9687911 Support for comments to the right of the Actor 2014-12-14 19:30:58 +01:00
Björn Weström
6ef6d79b48 Added proper SVG namespace attribute 2014-12-14 00:46:20 +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
28594138e0 Fix for issue #46, slashes in text 2014-12-13 21:10:50 +01:00
knsv
48af3b3590 Refactoring/cleanup of flowchart grammar 2014-12-13 18:04:55 +01:00
knsv
3f3e23b419 Fixes for issues #47 and #55 including new test cases. 2014-12-13 08:43:25 +01:00
knsv
0955305076 * Support for comments pointed out in issue #47 2014-12-11 19:29:40 +01:00
knsv
977df99c80 * Support for comments pointed out in issue #47 2014-12-11 19:23:36 +01:00
knsv
9aeff6be2d * Changed the license in package json to the correct license (MIT).
* Changed the link style from the pointed one to a more triangle formed style as default style for links
* Updated the readme file regarding linkStyles to explain the magic number 3a s described in issue #41
2014-12-09 20:42:31 +01:00
knsv
6988dea353 Release 0.2.15 2014-12-05 10:50:47 +01:00
knsv
2b9e464798 Cleanup of sequence diagram rendering code (still experimental)
Better handling of width. Instead uf using width 100% the width is set to the width of the graph. Should help issue #19.
2014-12-05 10:19:07 +01:00
knsv
8949166a17 Adding experimental new grammars 2014-12-04 18:06:54 +01:00
knsv
dd26960852 New release 2014-12-03 19:35:00 +01:00
knsv
fe2f3b403d Patch release 2014-12-03 19:29:44 +01:00
knsv
dabedb379d Added support for more characters as described in issue #25 2014-12-03 18:34:18 +01:00
knsv
1e53b588fc Exposing parser in API as requested in issue #21 2014-12-03 18:12:33 +01:00
knsv
52a78375a4 Added check for previously processed div elements, fix for issue #29, thank to user madebits for fix. 2014-12-03 17:42:39 +01:00
knsv
ab78295faf Preparation for npm package 2014-12-02 19:05:09 +01:00
knsv
540c614c88 Preparation for npm package 2014-12-02 18:36:16 +01:00
knsv
1502346172 Support for cyrillic characters 2014-12-01 21:12:14 +01:00
knsv
9537f60b01 Support for cyrillic characters 2014-12-01 21:10:09 +01:00
knsv
fc4f6e617f Better support for unicode and cyrillic letters 2014-12-01 20:41:08 +01:00
knsv
0c87128902 Release 0.2.6
* Default shape set to rect when none is set
2014-11-28 18:08:36 +01:00
knsv
9a35844731 Release 0.2.5
* Support for new shapes circle,  irregular rectangle
* Support for styling of links
* Support for newlines in texts
* Centered text on links
* Shaded background for text on links
* Support for click on nodes
2014-11-27 21:28:04 +01:00
knsv
18be0e02aa Updated readme and changes to the coverage setting on the ci server 2014-11-27 21:16:17 +01:00
knsv
fe1c78ca29 Updated shape syntax
Coverage instrumentation in tests
2014-11-27 18:21:15 +01:00
Björn Weström
28f6b93c16 Dists for new shapes 2014-11-27 09:01:54 +01:00
knsv
d52224194c Styles on links 2014-11-26 20:47:22 +01:00
knsv
8e591c0494 Background on labels and centering of labels 2014-11-26 19:03:15 +01:00
knsv
6757709f45 Small fix, Cleaner add node code 2014-11-26 18:50:12 +01:00
knsv
9c31ac8aa6 Fix for br tags within nodes for new line 2014-11-25 22:58:57 +01:00
knsv
2317ea5117 Better text handling for flowcharts 2014-11-25 18:58:47 +01:00
knsv
d18103a0ec Added support for click events on nodes 2014-11-24 22:03:32 +01:00
knsv
cb58aeab25 Removed some logging 2014-11-22 19:06:04 +01:00
Knut Sveidqvist
31262f66a0 Support for default styles 2014-11-22 17:27:08 +01:00
knsv
472310fbef Support for class definitions for nodes
Support multiple edges from one node to another
2014-11-22 15:34:21 +01:00
knsv
983c48c26b Adde support for more characters in text like + , . = < > etc 2014-11-22 10:02:38 +01:00
knsv
d61da879d8 Using browserify for module management, updated build scripts
mermaid_config can be used to config start on load.
2014-11-21 08:03:43 +01:00
knsv
170a6640b2 Version 0.1.1 (Testing package update) 2014-11-17 07:55:02 +01:00
Knut Sveidqvist
64bedc8262 Version 0.1.1 (Testing package update) 2014-11-17 07:50:42 +01:00
Knut Sveidqvist
214bb77688 Version 0.1.0 2014-11-16 19:00:01 +01:00
knsv
75f3580e9a Support for numbers in box texts.
Worked on readme file
2014-11-16 14:41:41 +01:00
knsv
3c39246f84 Support for rendering open arrows. 2014-11-16 10:35:18 +01:00
knsv
59fbf1e122 Meddling with ids and minus signs 2014-11-16 09:02:03 +01:00
knsv
d92c682bbe Feature complete for first release
* added possibility to include numbers in ids
* added graph statement and possibility to set direction of graph from graph statement
* refactured the grammar somewhat
2014-11-15 21:28:26 +01:00
knsv
7ee2b1be45 Adding missing files 2014-11-13 19:53:31 +01:00