Commit Graph

371 Commits

Author SHA1 Message Date
Knut Sveidqvist a3142aad69 Adding some test pages 2019-08-20 20:07:12 +02:00
Alexander Sage 5c25c5563a chore: Added e2e snapshot tests 2019-07-23 21:07:01 -07:00
Alexander Sage c8091c61c0 feat: sequence diagram background rect 2019-07-22 22:47:49 -07:00
knsv f11d1a6fa1 #847 Better sanitizing of urls 2019-07-22 02:18:09 -07:00
knsv c33533082c #847 Handling of embedded javascript in links 2019-07-21 07:39:36 -07:00
knsv 5dd392127f Release docs 2019-07-21 02:23:23 -07:00
knsv 8e27318eda #847 fix for case texts with multiple br tags, explanation in usage doc on how to avoid labels out of bounds. 2019-07-16 16:05:22 -07:00
Knut Sveidqvist 5abedab095 e2e test for stricter security in mermaid 2019-07-14 02:05:59 -07:00
Jason Würtz a671576578 feat(index.html): add example to display new behavior 2019-07-07 16:51:40 -03:00
Knut Sveidqvist 3e9e5acdab Fix of merge conflicts 2019-06-29 10:33:44 +02:00
Adam Wulf 03abeacea4 Added parallelograms. 2019-06-25 23:15:43 -05:00
Adam Wulf 99169398b7 Simpler syntax for trapezoid nodes 2019-06-25 23:06:53 -05:00
Adam Wulf 24600355c8 Merge remote-tracking branch 'origin/master' into flow/trapezoid 2019-06-25 22:36:13 -05:00
Knut Sveidqvist 5667694652 info diagram to show version of mermaid, bugfixes for gantt chart 2019-06-15 14:29:26 +02:00
Knut Sveidqvist e0a70bd352 Merge of latest changesin to pr #804 2019-06-09 12:40:37 -07:00
Knut Sveidqvist fe913ec10f
Merge pull request #705 from Vrixyz/602-cardinality-not-showing
wip: class diagram  cardinality display
2019-06-09 11:22:03 -07:00
Knut Sveidqvist 23693bd57e
Merge pull request #845 from Qix-/style-subgraph
Support styling of subgraphs
2019-05-28 22:22:45 +02:00
Josh Junon f51596eb61 Support styling of subgraphs 2019-05-24 17:08:45 +02:00
abzicht 6ede0f6166 Allowing brackets in taskTxt, adjusted index.html example to include brackets in task text 2019-03-10 14:07:33 +01:00
abzicht c44ff8a70f Adding a gantt clickable example to the existing gantt diagram 2019-03-10 13:56:49 +01:00
João Paulo Poffo 997cdfffb4 Doc HTML 2019-02-06 17:00:51 -02:00
Casey Watson 2fc5745c58 Support Multi-line Actor Descriptions
- Add support for <br/> delimiter in actor descriptions.
- Add actorFontFamily and actorFontSize options to sequence diagram.
- Change default actor description font from times to sans.

Fix #384 #702 #755
2018-11-26 11:49:33 -07:00
Adam Wulf 9326e91832 Adding trapezoid and inverse trapezoid vertex options. 2018-10-10 02:25:44 -05:00
Vrixyz 97e26686f4 wip #602 cardinality display 2018-07-29 18:50:57 +02:00
Tyler Long f2ea725edb Add a sample to test diagram cut off issue 2018-04-12 07:39:02 +08:00
Tyler Long a5627f97ff Make diamond shape a little bit bigger 2018-03-21 22:06:44 +08:00
Tyler Long f8da3c2e48 More padding to fix cutoff issue 2018-03-20 23:04:01 +08:00
Tyler Long 33da5bcee1 Fix flowchart cut off issue 2018-03-20 20:08:52 +08:00
Tyler Long 13ec3f6c0d Support all d3 curves 2018-03-18 09:35:28 +08:00
Tyler Long a949c2aaec config.sequenceDiagram backwards compatibility 2018-03-18 09:08:05 +08:00
Tyler Long f1d2808594 Support flowchart curve as option 2018-03-17 23:05:14 +08:00
Tyler Long 52d0605066 Fix subgraph issue 2018-03-17 18:12:24 +08:00
Tyler Long 015b976c28 Fix CSS cannot select number ID issue 2018-03-17 09:10:10 +08:00
Tyler Long 93201b2ded
Merge pull request #641 from sopherio/master
SequenceDiagram: Add support for multiple alt else statements
2018-03-16 20:03:44 +08:00
Tyler Long 2d560861df Support Custom CSS 2018-03-15 21:47:53 +08:00
Stefan Sechelmann 45b81a9db9 add par and alt examples to index.html 2018-03-15 14:08:37 +01:00
Tyler Long 23dfe1e8a9 Fix classDef issue 2018-03-14 21:36:10 +08:00
Tyler Long 594847ba04 Release 8.0.0-alpha.7 2018-03-13 21:18:09 +08:00
Tyler Long f3fcfb635b Gantt numberSectionStyles should be 4 2018-03-13 21:17:32 +08:00
Tyler Long f62736c749 Support customization of gantt diagram xAxis format using diagram code 2018-03-13 14:01:44 +08:00
Tyler Long 8a20a71906 Test a complex sequence diagram 2018-03-13 10:54:39 +08:00
Tyler Long 37076d3d1f Support global config of gantt axisFormat 2018-03-12 21:33:02 +08:00
Tyler Long 388ec2cd97 Get log level correct 2018-03-06 18:56:37 +08:00
Tyler Long 8848203d90 Fix issues of last PR 2017-12-26 20:58:54 +08:00
Thomas LEVEIL 8db7d73dc0 add quick test for clickable flow chart node with tooltip 2017-12-03 04:29:49 +01:00
Tyler Long fe0434cb16 Release 7.0.17 2017-09-12 23:13:49 +08:00
Tyler Long a6f992ce5b Allow user to configure theme 2017-09-12 22:54:50 +08:00
Tyler Long 72493b7a8b Correct way to handle inline style 2017-09-12 22:06:19 +08:00
Tyler Long d07a7f505b Update folder structure in dist folder 2017-09-10 22:29:37 +08:00
Tyler Long c9442653e9 Replace require with import 2017-09-10 19:41:34 +08:00
Tyler Long cb9a7f4cd1 Remove dist/www 2017-09-01 16:04:22 +08:00
Tyler Long 1076d67137 Disable amd parse for lodash 2017-06-04 12:13:22 +08:00
Tyler Long b023892c57 Format demo code 2017-06-02 14:42:04 +08:00
Tyler Long b4e8cffd0a Fix git graph default style issue 2017-04-22 22:12:10 +08:00
Tyler Long acab3a5ee1 Remove css files from dist folder 2017-04-22 10:46:42 +08:00
Tyler Long e16e501b93 mermaidAPI should target node 2017-04-16 21:38:48 +08:00
Tyler Long 701e638907 Add demo for all the 5 diagram types 2017-04-16 17:30:40 +08:00
Tyler Long 262a917952 Test mermaidAPI 2017-04-16 15:37:32 +08:00
Tyler Long 736d57f3f2 Create demo folder 2017-04-16 09:17:25 +08:00
Tyler Long dffc53b7b1 Minor changes 2017-04-15 13:13:54 +08:00
Tyler Long 7166ade310 Debug flowchart 2017-04-15 12:28:16 +08:00
Tyler Long 7d1c1e3845 Add index.html to dist folder 2017-04-11 22:24:55 +08:00
Tyler Long 620f3e8734 Auto fix standard style voilations 2017-04-11 22:14:25 +08:00
Tyler Long e1e7be07f7 Remove auto generated js file from dist folder 2017-04-10 17:09:21 +08:00
Knut Sveidqvist c7c077c21c Fix for issue #501
Added heko request to readme
2017-04-01 13:51:03 +02:00
brook hong 4f12596e29 Update color for label to make it align with loop line 2017-02-16 23:11:53 +08:00
brook hong c714a7a28c Fixed #456 sequenceDiagram: dotted line for alt and empty bracket should be hidden
And draw label with right bottom corner cut
2017-02-16 22:50:39 +08:00
Knut Sveidqvist fb70b9742a New release 2017-01-29 12:14:02 +01:00
Knut Sveidqvist 8d91a42fe7 Fix for merge error 2017-01-09 21:36:01 +01:00
Knut Sveidqvist d65741177a Fix for issue #311, mermaid will clear div used for rendering initially in the redner function. 2016-12-14 12:41:22 +01:00
Knut Sveidqvist b8d3b01f64 New release 2016-05-29 19:25:02 +02:00
Knut Sveidqvist d8929db208 New release 2016-05-29 19:18:04 +02:00
Raghu Rajagopalan 89307d3f13 foreignObject works. labels work! Yeah! 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 5dcd3e6f35 Apply commit and branch labels using foreignObjects.
Only works in browser.
2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 59ef2b0d4f Options are working. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan a92e116a21 remove magic nos in renderer 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan d8805ae4d7 WIP - prettier curves. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 942bd02add handle multiple branches; handle unmerged branches 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 0d6d848325 WIP - code simplified. Draw arrows later. still ugly 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan c6494f92fa draw bezier curves - still butt ugly 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 9cb9407e1c working but ugly 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 43ab44d8ba fix LR layout - node position and arrow direction. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan c2bc3317c3 WIP - basic arrows. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 413c6e12f5 WIP - Bug - shows only 5 of 6 nodes with test file. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 65140f6b3f WIP - able to draw circles now. 2016-04-25 11:36:36 +05:30
Raghu Rajagopalan 2fee6e62aa WIP - scaffolding for rendering gitgraph. 2016-04-25 11:36:36 +05:30
Knut Sveidqvist d585121bdb Merge pull request #338 from ssbarnea/master
Build and test execution changes
2016-03-29 20:00:34 +02:00
Knut Sveidqvist 9e496175d9 Merge pull request #331 from Jmuccigr/master
Reformatting of css files
2016-03-29 19:59:00 +02:00
Sorin Sbarnea f748969186 Removed dist/ directory from source as is not supposed to be tracked here. 2016-03-29 14:15:48 +01:00
Knut Sveidqvist bda1aaa5db Draft fix for issue #304 2016-03-23 20:34:44 +01:00
John Muccigrosso e930c5a30c Reformat with no changes to content. 2016-03-21 19:10:33 -04:00
Josh Bronson 4f9a2a8083 Update dist files 2016-03-14 18:09:27 -04:00
Knut Sveidqvist e9c6db4d8c Merge pull request #317 from crodriguez1a/feature/dark-theme
Dark theme for better contrast on darker backgrounds
2016-03-14 07:14:37 +01:00
Carlos Rodriguez d763fffd7a some clean up, fix mix.html 404 2016-03-12 13:23:31 -05:00
Carlos Rodriguez bba1050e5e Use mix as test file instead 2016-03-12 12:36:37 -05:00
Carlos Rodriguez 28f9e6f17b Starting with gantt theme 2016-03-12 12:00:47 -05:00
knsv d6363e908d Fix for issue with rednering in IE as described in #303 2016-03-12 11:28:14 +01:00
knsv 325d0dd075 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	dist/mermaid.js
2016-03-12 11:24:22 +01:00
knsv 2c90034d39 Fix for issue with rednering in IE as described in #303 2016-03-12 11:23:57 +01:00
Knut Sveidqvist 6ee298dc7d New release 2016-01-27 15:02:41 +01:00
knsv f005c72669 Fix for issue #281, support for Chrome v 48 2016-01-25 18:59:03 +01:00
knsv d56af022c1 Fix for issue #262 2015-12-27 15:57:11 +01:00
knsv cc8c5aecaf Fix for issue #271 2015-12-27 14:18:21 +01:00
knsv 8c8f5928f5 Changes to build environment for windows compatability 2015-12-26 10:59:44 +01:00
knsv 425a83c0da Fix for issue #259 2015-11-22 18:55:37 +01:00
knsv a9f4f8e06c Fix for issue #259 2015-11-22 18:53:09 +01:00
knsv 989ff03e43 Set version to 0.5.6
Removed logging
One more iteration in handling of parser API
2015-11-22 18:10:38 +01:00
knsv 51858c02eb Fix for issues #249. Adding configuration option for when to use absolute references for arrow heads. Default is off.
Jasmine tests running in browser via karma.
2015-11-21 11:51:15 +01:00
knsv 4eb38e4cfd Fix for issues #239 and #257. 2015-11-15 15:06:24 +01:00
knsv 4a5828c732 Version change of d3 to 3.5.6 2015-11-11 20:15:02 +01:00
knsv 774ebfe671 Version change of babelify 2015-11-11 18:37:53 +01:00
knsv 6e2534aa77 Labels for relations between classes in classdiagrams 2015-11-11 16:19:06 +01:00
knsv 24d1afd40f Redering arrow heads depending on relation defined in class diagram. 2015-11-07 10:00:40 +01:00
knsv 76130bc485 Updated distribution after PR #251 2015-11-06 07:36:14 +01:00
Tomasz Szczęśniak-Szlagowski 0f689c2ea1 Commit built files 2015-11-05 19:40:42 +00:00
knsv 068b7ce6a9 Simple rendering of class diagrams 2015-10-30 11:34:24 +01:00
knsv 7a58e8261f Simple rendering of class diagrams 2015-10-30 10:47:25 +01:00
knsv 01ddfea478 1st version parsing for class diagrams, parsing draft completed, starting rendering work 2015-10-29 07:49:08 +01:00
Tomasz Szczęśniak-Szlagowski 51d5c90c9f Add build with new ellipse syntax 2015-10-26 23:03:07 +00:00
knsv dd6495abf6 1st version parsing for class diagrams 2015-10-25 18:09:58 +01:00
knsv eecd56d6e0 Fix for issue #229, poor handling of activities in a gantt diagram where one activities follows a yet undefined activity. 2015-10-24 12:44:47 +02:00
knsv c9d29c16e2 New release 2015-10-21 21:14:41 +02:00
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