Commit Graph

2195 Commits

Author SHA1 Message Date
knsv 26d0908b27 Fix for issue #53 2014-12-27 09:46:28 +01:00
knsv 385e823c17 Fix for issue #70 2014-12-23 18:06:07 +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 c3eb62255f Support for backslash in nodes 2014-12-22 08:11:49 +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 9458bfb24f Sequence diagram loop margins
Handling of arrows to the left in loops in sequence diagrams
Addition of labels
2014-12-20 18:41:20 +01:00
knsv 7bb75c16da Work with loop rendering for sequence diagrams 2014-12-20 09:19:56 +01:00
knsv 69c84df367 Box rendering 2014-12-20 09:18:12 +01:00
knsv 000ffbb622 Modifications of sequence diagram rendering + tests 2014-12-20 08:40:48 +01:00
knsv 53d5221aed Minor changes 2014-12-18 23:47:30 +01:00
knsv 0dc8aa32c6 Added additional tests for sequence diagram rendering. Removed some log output 2014-12-18 23:17:32 +01:00
vijay40 cebe033b4b The directions can now be specified with special symbols along with acronyms. So >,<,^,v can be used in place of LR,RL,BT,TB respectively. 2014-12-17 15:24:28 +05:30
knsv a1e415686c Adding support for loops to the sequence diagram grammar. 2014-12-16 20:51:48 +01:00
knsv 21daaf3e29 Adding support for notes to the left of the actor in sequence diagrams. 2014-12-16 20:12:24 +01:00
knsv 5712c6de7b Release 0.2.16 2014-12-15 19:35:09 +01:00
vijay40 3279edab33 Flow grammer is modified to allow each line ending without semicolon to improve readablity. The old declarations also work. One test is also included in flow.spec.js to test the changes. 2014-12-15 15:32:47 +05:30
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 eb7c341046 Removed logging from sequence diagram test 2014-12-14 19:34:14 +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 7fc2a0a544 Increased scope of lint check, removed some issues 2014-12-13 20:58:53 +01:00
knsv 8a13c4cc06 Refactoring/cleanup of flowchart grammar 2014-12-13 18:01:25 +01:00
Vijay Jain d4451ef8a1 flow.jison is modified to include a single spaces between vertices and link to improve readablity for issue #38. There should not be any space between vertex and its text and link and its text. flow.spec.js is modified to include three new tests for testing new graphs. 2014-12-13 17:09:03 +05:30
knsv 3f3e23b419 Fixes for issues #47 and #55 including new test cases. 2014-12-13 08:43:25 +01:00
knsv 1cc3f16d7a Refactoring, split of diagrams into different folders for easier additions of more diagram types 2014-12-11 21:02:11 +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 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 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 4c564ebe9e Adding experimental new grammars 2014-12-04 17:58:05 +01:00
knsv 2a0a2a2269 Adding experimental new grammars 2014-12-04 17:35:07 +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 0539b8a74e Added keywords as valid text token, fix for issue #8 2014-12-03 07:49:41 +01:00
knsv 7b09a6d1bf Added DIR element as valid text token, fix for issue #8 2014-12-03 07:42:11 +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 c067b31a57 Mermaid editor added 2014-12-02 07:49:33 +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 1a7997cdef Support for unicode letters.
Merge branch 'master' of https://github.com/knsv/mermaid

Conflicts:
	src/parser/flow.jison
	src/parser/flow.js
2014-12-01 21:00:47 +01:00
IamanimalXI 225560dcdf initial setup for editor page to generate graph through textarea input 2014-12-01 20:50:58 +01:00
Tibor Claassen d6766de7be Use ranges to allow unicode chars in labels 2014-12-01 21:48:34 +02:00
knsv 8906ee8097 Merge remote-tracking branch 'origin/master'
Conflicts:
	bower.json
	dist/mermaid.full.js
	dist/mermaid.full.min.js
	dist/mermaid.slim.js
	dist/mermaid.slim.min.js
	src/main.js
2014-12-01 20:43:49 +01:00
knsv fc4f6e617f Better support for unicode and cyrillic letters 2014-12-01 20:41:08 +01:00
Knut Sveidqvist 1d2327c4c2 Added test for caps in vertices 2014-12-01 09:59:34 +01:00
Knut Sveidqvist 5f8508ab52 Version fix 2014-12-01 09:40:12 +01:00
Knut Sveidqvist cb7b8a4b98 Version fix 2014-12-01 09:38:49 +01:00
Knut Sveidqvist cbd41dbb1b Version fix 2014-12-01 09:28:47 +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 fe1c78ca29 Updated shape syntax
Coverage instrumentation in tests
2014-11-27 18:21:15 +01:00
Björn Weström c7b44679c1 Added shapes
Added UTF-8 tag to test webpage
Added tests for shapes on test webpage
Added odd shape
Added circle shape
Modified diamond shape to always use right angles
2014-11-27 09:00:25 +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
knsv c0a4cfc2d7 Adjusted version 2014-11-22 18:36:02 +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 eac94e5370 First steps on work with sequence diagrams. 2014-11-20 20:46:51 +01:00
knsv 4c26ec7414 First steps on work with sequence diagrams. 2014-11-19 19:29:55 +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 7751d913d9 Back with minus signs for arrows 2014-11-16 09:20:46 +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
knsv 512b333658 Style in place for edges
dependency on requirejs removed
dist in place
2014-11-13 19:51:05 +01:00
knsv e7cb84b1d9 Support for åäö and minus in text 2014-11-12 07:35:44 +01:00
knsv d158a13566 Styles in place for boxes 2014-11-11 08:12:03 +01:00
knsv c23a185b98 Fix for problem with text definitions being overridden by empty strings. 2014-11-10 07:42:01 +01:00
Knut Sveidqvist f55336259b Version that renders graphs (and some test files) 2014-11-09 18:08:05 +01:00
knsv e54a0fcb0f Tests of parser and graph db implementation used when parsing the graph script file. 2014-11-04 18:55:30 +01:00
knsv f35e43c512 Draft test shell with karma and jasmine - adding missing files 2014-11-04 07:50:58 +01:00
knsv 89093922ed Draft test shell with karma and jasmine 2014-11-04 07:45:23 +01:00
knsv d9b9288da9 Initial commit with draft parser inplace. 2014-11-03 00:02:29 +01:00